AWS IoT Device Client
Classes | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Aws::Iot::DeviceClient::PlainConfig Struct Reference
Inheritance diagram for Aws::Iot::DeviceClient::PlainConfig:
Aws::Iot::DeviceClient::LoadableFromJsonAndCliAndEnvironment

Classes

struct  ConfigShadow
 
struct  DeviceDefender
 
struct  FleetProvisioning
 
struct  FleetProvisioningRuntimeConfig
 
struct  HttpProxyConfig
 
struct  Jobs
 
struct  LogConfig
 
struct  PubSub
 
struct  SampleShadow
 
struct  SecureElement
 
struct  SensorPublish
 
struct  Tunneling
 

Public Member Functions

bool LoadFromJson (const Crt::JsonView &json) override
 
bool LoadFromCliArgs (const CliArgs &cliArgs) override
 
bool LoadFromEnvironment () override
 
bool Validate () const override
 
void SerializeToObject (Crt::JsonObject &object) const
 

Public Attributes

Aws::Crt::Optional< std::string > endpoint
 
Aws::Crt::Optional< std::string > cert
 
Aws::Crt::Optional< std::string > key
 
Aws::Crt::Optional< std::string > rootCa
 
Aws::Crt::Optional< std::string > thingName
 
std::string lockFilePath {DEFAULT_LOCK_FILE_PATH}
 
LogConfig logConfig
 
Jobs jobs
 
Tunneling tunneling
 
DeviceDefender deviceDefender
 
FleetProvisioning fleetProvisioning
 
FleetProvisioningRuntimeConfig fleetProvisioningRuntimeConfig
 
HttpProxyConfig httpProxyConfig
 
PubSub pubSub
 
SampleShadow sampleShadow
 
ConfigShadow configShadow
 
SecureElement secureElement
 
SensorPublish sensorPublish
 

Static Public Attributes

static constexpr char CLI_ENDPOINT [] = "--endpoint"
 
static constexpr char CLI_CERT [] = "--cert"
 
static constexpr char CLI_KEY [] = "--key"
 
static constexpr char CLI_ROOT_CA [] = "--root-ca"
 
static constexpr char CLI_THING_NAME [] = "--thing-name"
 
static constexpr char JSON_KEY_ENDPOINT [] = "endpoint"
 
static constexpr char JSON_KEY_CERT [] = "cert"
 
static constexpr char JSON_KEY_KEY [] = "key"
 
static constexpr char JSON_KEY_ROOT_CA [] = "root-ca"
 
static constexpr char JSON_KEY_THING_NAME [] = "thing-name"
 
static constexpr char JSON_KEY_JOBS [] = "jobs"
 
static constexpr char JSON_KEY_TUNNELING [] = "tunneling"
 
static constexpr char JSON_KEY_DEVICE_DEFENDER [] = "device-defender"
 
static constexpr char JSON_KEY_FLEET_PROVISIONING [] = "fleet-provisioning"
 
static constexpr char JSON_KEY_RUNTIME_CONFIG [] = "runtime-config"
 
static constexpr char JSON_KEY_LOGGING [] = "logging"
 
static constexpr char JSON_KEY_SAMPLES [] = "samples"
 
static constexpr char JSON_KEY_PUB_SUB [] = "pub-sub"
 
static constexpr char JSON_KEY_SAMPLE_SHADOW [] = "sample-shadow"
 
static constexpr char JSON_KEY_CONFIG_SHADOW [] = "config-shadow"
 
static constexpr char JSON_KEY_SENSOR_PUBLISH [] = "sensor-publish"
 
static constexpr char DEFAULT_LOCK_FILE_PATH [] = "/run/lock/"
 
static constexpr char JSON_KEY_SECURE_ELEMENT [] = "secure-element"
 

Member Function Documentation

◆ SerializeToObject()

void PlainConfig::SerializeToObject ( Crt::JsonObject &  object) const

Serialize configurations To Json Object


The documentation for this struct was generated from the following files: