From 41e8d4f716d8edc61d737a8e7617d42559ca8733 Mon Sep 17 00:00:00 2001 From: Igor Abdrakhimov Date: Fri, 12 Apr 2024 11:23:27 -0700 Subject: [PATCH] Update codegen --- .../tests/include/awstest/EchoTestRpcClient.h | 18 + .../tests/include/awstest/EchoTestRpcModel.h | 307 ++- .../aws/greengrass/GreengrassCoreIpcClient.h | 124 +- .../aws/greengrass/GreengrassCoreIpcModel.h | 1672 ++++++++++++----- 4 files changed, 1594 insertions(+), 527 deletions(-) diff --git a/eventstream_rpc/tests/include/awstest/EchoTestRpcClient.h b/eventstream_rpc/tests/include/awstest/EchoTestRpcClient.h index 9471f58d9..0afe066f1 100644 --- a/eventstream_rpc/tests/include/awstest/EchoTestRpcClient.h +++ b/eventstream_rpc/tests/include/awstest/EchoTestRpcClient.h @@ -40,18 +40,36 @@ namespace Awstest void Close() noexcept; void WithLaunchMode(std::launch mode) noexcept; + /** + * Fetches all products, indexed by SKU + */ std::shared_ptr NewGetAllProducts() noexcept; + /** + * Throws a ServiceError instead of returning a response. + */ std::shared_ptr NewCauseServiceError() noexcept; + /** + * Responds to initial request normally then throws a ServiceError on stream response + */ std::shared_ptr NewCauseStreamServiceToError( std::shared_ptr streamHandler) noexcept; + /** + * Initial request and response are empty, but echos streaming messages sent by client + */ std::shared_ptr NewEchoStreamMessages( std::shared_ptr streamHandler) noexcept; + /** + * Returns the same data sent in the request to the response + */ std::shared_ptr NewEchoMessage() noexcept; + /** + * Fetches all customers + */ std::shared_ptr NewGetAllCustomers() noexcept; ~EchoTestRpcClient() noexcept; diff --git a/eventstream_rpc/tests/include/awstest/EchoTestRpcModel.h b/eventstream_rpc/tests/include/awstest/EchoTestRpcModel.h index 9eb6eef5b..b3eec4ce2 100644 --- a/eventstream_rpc/tests/include/awstest/EchoTestRpcModel.h +++ b/eventstream_rpc/tests/include/awstest/EchoTestRpcModel.h @@ -19,14 +19,29 @@ namespace Awstest { class EchoTestRpcClient; class EchoTestRpcServiceModel; + /** + * A simple product definition + */ class AWS_ECHOTESTRPC_API Product : public AbstractShapeBase { public: Product() noexcept {} Product(const Product &) = default; + /** + * The product's name + */ void SetName(const Aws::Crt::String &name) noexcept { m_name = name; } + /** + * The product's name + */ Aws::Crt::Optional GetName() noexcept { return m_name; } + /** + * How much the product costs + */ void SetPrice(const float &price) noexcept { m_price = price; } + /** + * How much the product costs + */ Aws::Crt::Optional GetPrice() noexcept { return m_price; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(Product &, const Aws::Crt::JsonView &) noexcept; @@ -46,14 +61,29 @@ namespace Awstest Aws::Crt::Optional m_price; }; + /** + * Shape representing a pair of values + */ class AWS_ECHOTESTRPC_API Pair : public AbstractShapeBase { public: Pair() noexcept {} Pair(const Pair &) = default; + /** + * Pair.key as a string + */ void SetKey(const Aws::Crt::String &key) noexcept { m_key = key; } + /** + * Pair.key as a string + */ Aws::Crt::Optional GetKey() noexcept { return m_key; } + /** + * Pair.value also a string! + */ void SetValue(const Aws::Crt::String &value) noexcept { m_value = value; } + /** + * Pair.value also a string! + */ Aws::Crt::Optional GetValue() noexcept { return m_value; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(Pair &, const Aws::Crt::JsonView &) noexcept; @@ -81,16 +111,37 @@ namespace Awstest FRUIT_ENUM_PINEAPPLE }; + /** + * A simple customer definition + */ class AWS_ECHOTESTRPC_API Customer : public AbstractShapeBase { public: Customer() noexcept {} Customer(const Customer &) = default; + /** + * Opaque customer identifier + */ void SetId(const int64_t &id) noexcept { m_id = id; } + /** + * Opaque customer identifier + */ Aws::Crt::Optional GetId() noexcept { return m_id; } + /** + * First name of the customer + */ void SetFirstName(const Aws::Crt::String &firstName) noexcept { m_firstName = firstName; } + /** + * First name of the customer + */ Aws::Crt::Optional GetFirstName() noexcept { return m_firstName; } + /** + * Last name of the customer + */ void SetLastName(const Aws::Crt::String &lastName) noexcept { m_lastName = lastName; } + /** + * Last name of the customer + */ Aws::Crt::Optional GetLastName() noexcept { return m_lastName; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(Customer &, const Aws::Crt::JsonView &) noexcept; @@ -98,8 +149,7 @@ namespace Awstest Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(Customer *) noexcept; - /* This needs to be defined so that `Customer` can be used as a key in maps. - */ + /* This needs to be defined so that `Customer` can be used as a key in maps. */ bool operator<(const Customer &) const noexcept; static const char *MODEL_NAME; @@ -112,45 +162,100 @@ namespace Awstest Aws::Crt::Optional m_lastName; }; + /** + * Data associated with some notion of a message + */ class AWS_ECHOTESTRPC_API MessageData : public AbstractShapeBase { public: MessageData() noexcept {} MessageData(const MessageData &) = default; + /** + * Some string data + */ void SetStringMessage(const Aws::Crt::String &stringMessage) noexcept { m_stringMessage = stringMessage; } + /** + * Some string data + */ Aws::Crt::Optional GetStringMessage() noexcept { return m_stringMessage; } + /** + * Some boolean data + */ void SetBooleanMessage(const bool &booleanMessage) noexcept { m_booleanMessage = booleanMessage; } + /** + * Some boolean data + */ Aws::Crt::Optional GetBooleanMessage() noexcept { return m_booleanMessage; } + /** + * Some timestamp data + */ void SetTimeMessage(const Aws::Crt::DateTime &timeMessage) noexcept { m_timeMessage = timeMessage; } + /** + * Some timestamp data + */ Aws::Crt::Optional GetTimeMessage() noexcept { return m_timeMessage; } + /** + * Some document data + */ void SetDocumentMessage(const Aws::Crt::JsonObject &documentMessage) noexcept { m_documentMessage = documentMessage; } + /** + * Some document data + */ Aws::Crt::Optional GetDocumentMessage() noexcept { return m_documentMessage; } - /* An enumeration of various tasty fruits. */ + /** + * Some FruitEnum data + */ void SetEnumMessage(FruitEnum enumMessage) noexcept; - /* An enumeration of various tasty fruits. */ + /** + * Some FruitEnum data + */ Aws::Crt::Optional GetEnumMessage() noexcept; + /** + * Some blob data + */ void SetBlobMessage(const Aws::Crt::Vector &blobMessage) noexcept { m_blobMessage = blobMessage; } + /** + * Some blob data + */ Aws::Crt::Optional> GetBlobMessage() noexcept { return m_blobMessage; } + /** + * Some list of strings data + */ void SetStringListMessage(const Aws::Crt::Vector &stringListMessage) noexcept { m_stringListMessage = stringListMessage; } + /** + * Some list of strings data + */ Aws::Crt::Optional> GetStringListMessage() noexcept { return m_stringListMessage; } + /** + * A list of key-value pairs + */ void SetKeyValuePairList(const Aws::Crt::Vector &keyValuePairList) noexcept { m_keyValuePairList = keyValuePairList; } + /** + * A list of key-value pairs + */ Aws::Crt::Optional> GetKeyValuePairList() noexcept { return m_keyValuePairList; } + /** + * A map from strings to Product shapes + */ void SetStringToValue(const Aws::Crt::Map &stringToValue) noexcept { m_stringToValue = stringToValue; } + /** + * A map from strings to Product shapes + */ Aws::Crt::Optional> GetStringToValue() noexcept { return m_stringToValue; @@ -161,8 +266,7 @@ namespace Awstest Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(MessageData *) noexcept; - /* This needs to be defined so that `MessageData` can be used as a key in - * maps. */ + /* This needs to be defined so that `MessageData` can be used as a key in maps. */ bool operator<(const MessageData &) const noexcept; static const char *MODEL_NAME; @@ -181,19 +285,26 @@ namespace Awstest Aws::Crt::Optional> m_stringToValue; }; + /** + * A union of values related to a streaming message. Only one field may bet set. + */ class AWS_ECHOTESTRPC_API EchoStreamingMessage : public AbstractShapeBase { public: EchoStreamingMessage() noexcept {} EchoStreamingMessage &operator=(const EchoStreamingMessage &) noexcept; EchoStreamingMessage(const EchoStreamingMessage &objectToCopy) { *this = objectToCopy; } - /* Data associated with some notion of a message */ + /** + * A message data record + */ void SetStreamMessage(const MessageData &streamMessage) noexcept { m_streamMessage = streamMessage; m_chosenMember = TAG_STREAM_MESSAGE; } - /* Data associated with some notion of a message */ + /** + * A message data record + */ Aws::Crt::Optional GetStreamMessage() noexcept { if (m_chosenMember == TAG_STREAM_MESSAGE) @@ -205,13 +316,17 @@ namespace Awstest return Aws::Crt::Optional(); } } - /* Shape representing a pair of values */ + /** + * A key value pair + */ void SetKeyValuePair(const Pair &keyValuePair) noexcept { m_keyValuePair = keyValuePair; m_chosenMember = TAG_KEY_VALUE_PAIR; } - /* Shape representing a pair of values */ + /** + * A key value pair + */ Aws::Crt::Optional GetKeyValuePair() noexcept { if (m_chosenMember == TAG_KEY_VALUE_PAIR) @@ -229,8 +344,7 @@ namespace Awstest Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(EchoStreamingMessage *) noexcept; - /* This needs to be defined so that `EchoStreamingMessage` can be used as a - * key in maps. */ + /* This needs to be defined so that `EchoStreamingMessage` can be used as a key in maps. */ bool operator<(const EchoStreamingMessage &) const noexcept; static const char *MODEL_NAME; @@ -247,14 +361,29 @@ namespace Awstest Aws::Crt::Optional m_keyValuePair; }; + /** + * A sample error shape + */ class AWS_ECHOTESTRPC_API ServiceError : public OperationError { public: ServiceError() noexcept {} ServiceError(const ServiceError &) = default; + /** + * An error message + */ void SetMessage(const Aws::Crt::String &message) noexcept { m_message = message; } + /** + * An error message + */ Aws::Crt::Optional GetMessage() noexcept override { return m_message; } + /** + * Some auxiliary value + */ void SetValue(const Aws::Crt::String &value) noexcept { m_value = value; } + /** + * Some auxiliary value + */ Aws::Crt::Optional GetValue() noexcept { return m_value; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(ServiceError &, const Aws::Crt::JsonView &) noexcept; @@ -262,8 +391,7 @@ namespace Awstest Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(ServiceError *) noexcept; - /* This needs to be defined so that `ServiceError` can be used as a key in - * maps. */ + /* This needs to be defined so that `ServiceError` can be used as a key in maps. */ bool operator<(const ServiceError &) const noexcept; static const char *MODEL_NAME; @@ -275,12 +403,21 @@ namespace Awstest Aws::Crt::Optional m_value; }; + /** + * All data associated with the result of a GetAllProducts operation + */ class AWS_ECHOTESTRPC_API GetAllProductsResponse : public AbstractShapeBase { public: GetAllProductsResponse() noexcept {} GetAllProductsResponse(const GetAllProductsResponse &) = default; + /** + * A map from strings to products + */ void SetProducts(const Aws::Crt::Map &products) noexcept { m_products = products; } + /** + * A map from strings to products + */ Aws::Crt::Optional> GetProducts() noexcept { return m_products; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(GetAllProductsResponse &, const Aws::Crt::JsonView &) noexcept; @@ -288,8 +425,7 @@ namespace Awstest Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(GetAllProductsResponse *) noexcept; - /* This needs to be defined so that `GetAllProductsResponse` can be used as a - * key in maps. */ + /* This needs to be defined so that `GetAllProductsResponse` can be used as a key in maps. */ bool operator<(const GetAllProductsResponse &) const noexcept; static const char *MODEL_NAME; @@ -300,6 +436,9 @@ namespace Awstest Aws::Crt::Optional> m_products; }; + /** + * Data needed to perform a GetAllProducts operation + */ class AWS_ECHOTESTRPC_API GetAllProductsRequest : public AbstractShapeBase { public: @@ -311,8 +450,7 @@ namespace Awstest Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(GetAllProductsRequest *) noexcept; - /* This needs to be defined so that `GetAllProductsRequest` can be used as a - * key in maps. */ + /* This needs to be defined so that `GetAllProductsRequest` can be used as a key in maps. */ bool operator<(const GetAllProductsRequest &) const noexcept; static const char *MODEL_NAME; @@ -322,12 +460,21 @@ namespace Awstest private: }; + /** + * All data associated with the result of a GetAllCustomers operation + */ class AWS_ECHOTESTRPC_API GetAllCustomersResponse : public AbstractShapeBase { public: GetAllCustomersResponse() noexcept {} GetAllCustomersResponse(const GetAllCustomersResponse &) = default; + /** + * A list of all known customers + */ void SetCustomers(const Aws::Crt::Vector &customers) noexcept { m_customers = customers; } + /** + * A list of all known customers + */ Aws::Crt::Optional> GetCustomers() noexcept { return m_customers; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(GetAllCustomersResponse &, const Aws::Crt::JsonView &) noexcept; @@ -335,8 +482,7 @@ namespace Awstest Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(GetAllCustomersResponse *) noexcept; - /* This needs to be defined so that `GetAllCustomersResponse` can be used as a - * key in maps. */ + /* This needs to be defined so that `GetAllCustomersResponse` can be used as a key in maps. */ bool operator<(const GetAllCustomersResponse &) const noexcept; static const char *MODEL_NAME; @@ -347,6 +493,9 @@ namespace Awstest Aws::Crt::Optional> m_customers; }; + /** + * Data needed to perform a GetAllCustomers operation + */ class AWS_ECHOTESTRPC_API GetAllCustomersRequest : public AbstractShapeBase { public: @@ -358,8 +507,7 @@ namespace Awstest Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(GetAllCustomersRequest *) noexcept; - /* This needs to be defined so that `GetAllCustomersRequest` can be used as a - * key in maps. */ + /* This needs to be defined so that `GetAllCustomersRequest` can be used as a key in maps. */ bool operator<(const GetAllCustomersRequest &) const noexcept; static const char *MODEL_NAME; @@ -369,6 +517,9 @@ namespace Awstest private: }; + /** + * Data associated with the response to starting an EchoStreaming streaming operation + */ class AWS_ECHOTESTRPC_API EchoStreamingResponse : public AbstractShapeBase { public: @@ -380,8 +531,7 @@ namespace Awstest Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(EchoStreamingResponse *) noexcept; - /* This needs to be defined so that `EchoStreamingResponse` can be used as a - * key in maps. */ + /* This needs to be defined so that `EchoStreamingResponse` can be used as a key in maps. */ bool operator<(const EchoStreamingResponse &) const noexcept; static const char *MODEL_NAME; @@ -391,6 +541,9 @@ namespace Awstest private: }; + /** + * Data needed to start an EchoStreaming streaming operation + */ class AWS_ECHOTESTRPC_API EchoStreamingRequest : public AbstractShapeBase { public: @@ -402,8 +555,7 @@ namespace Awstest Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(EchoStreamingRequest *) noexcept; - /* This needs to be defined so that `EchoStreamingRequest` can be used as a - * key in maps. */ + /* This needs to be defined so that `EchoStreamingRequest` can be used as a key in maps. */ bool operator<(const EchoStreamingRequest &) const noexcept; static const char *MODEL_NAME; @@ -413,14 +565,21 @@ namespace Awstest private: }; + /** + * All data associated with the result of an EchoMessage operation + */ class AWS_ECHOTESTRPC_API EchoMessageResponse : public AbstractShapeBase { public: EchoMessageResponse() noexcept {} EchoMessageResponse(const EchoMessageResponse &) = default; - /* Data associated with some notion of a message */ + /** + * Some message data + */ void SetMessage(const MessageData &message) noexcept { m_message = message; } - /* Data associated with some notion of a message */ + /** + * Some message data + */ Aws::Crt::Optional GetMessage() noexcept { return m_message; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(EchoMessageResponse &, const Aws::Crt::JsonView &) noexcept; @@ -428,8 +587,7 @@ namespace Awstest Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(EchoMessageResponse *) noexcept; - /* This needs to be defined so that `EchoMessageResponse` can be used as a key - * in maps. */ + /* This needs to be defined so that `EchoMessageResponse` can be used as a key in maps. */ bool operator<(const EchoMessageResponse &) const noexcept; static const char *MODEL_NAME; @@ -440,14 +598,21 @@ namespace Awstest Aws::Crt::Optional m_message; }; + /** + * Data needed to perform an EchoMessage operation + */ class AWS_ECHOTESTRPC_API EchoMessageRequest : public AbstractShapeBase { public: EchoMessageRequest() noexcept {} EchoMessageRequest(const EchoMessageRequest &) = default; - /* Data associated with some notion of a message */ + /** + * Some message data + */ void SetMessage(const MessageData &message) noexcept { m_message = message; } - /* Data associated with some notion of a message */ + /** + * Some message data + */ Aws::Crt::Optional GetMessage() noexcept { return m_message; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(EchoMessageRequest &, const Aws::Crt::JsonView &) noexcept; @@ -455,8 +620,7 @@ namespace Awstest Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(EchoMessageRequest *) noexcept; - /* This needs to be defined so that `EchoMessageRequest` can be used as a key - * in maps. */ + /* This needs to be defined so that `EchoMessageRequest` can be used as a key in maps. */ bool operator<(const EchoMessageRequest &) const noexcept; static const char *MODEL_NAME; @@ -467,6 +631,9 @@ namespace Awstest Aws::Crt::Optional m_message; }; + /** + * All data associated with the result of an EchoMessage operation + */ class AWS_ECHOTESTRPC_API CauseServiceErrorResponse : public AbstractShapeBase { public: @@ -478,8 +645,7 @@ namespace Awstest Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(CauseServiceErrorResponse *) noexcept; - /* This needs to be defined so that `CauseServiceErrorResponse` can be used as - * a key in maps. */ + /* This needs to be defined so that `CauseServiceErrorResponse` can be used as a key in maps. */ bool operator<(const CauseServiceErrorResponse &) const noexcept; static const char *MODEL_NAME; @@ -489,6 +655,9 @@ namespace Awstest private: }; + /** + * Data needed to perform a CauseServiceError operation + */ class AWS_ECHOTESTRPC_API CauseServiceErrorRequest : public AbstractShapeBase { public: @@ -500,8 +669,7 @@ namespace Awstest Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(CauseServiceErrorRequest *) noexcept; - /* This needs to be defined so that `CauseServiceErrorRequest` can be used as - * a key in maps. */ + /* This needs to be defined so that `CauseServiceErrorRequest` can be used as a key in maps. */ bool operator<(const CauseServiceErrorRequest &) const noexcept; static const char *MODEL_NAME; @@ -559,10 +727,8 @@ namespace Awstest /** * Used to activate a stream for the `GetAllProductsOperation` * @param request The request used for the `GetAllProductsOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const GetAllProductsRequest &request, @@ -624,10 +790,8 @@ namespace Awstest /** * Used to activate a stream for the `CauseServiceErrorOperation` * @param request The request used for the `CauseServiceErrorOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const CauseServiceErrorRequest &request, @@ -647,10 +811,8 @@ namespace Awstest virtual void OnStreamEvent(EchoStreamingMessage *response) { (void)response; } /** - * A callback that is invoked when an error occurs while parsing a message - * from the stream. - * @param rpcError The RPC error containing the status and possibly a CRT - * error. + * A callback that is invoked when an error occurs while parsing a message from the stream. + * @param rpcError The RPC error containing the status and possibly a CRT error. */ virtual bool OnStreamError(RpcError rpcError) { @@ -669,8 +831,7 @@ namespace Awstest } /** - * A callback that is invoked upon receiving ANY error response from the - * server. + * A callback that is invoked upon receiving ANY error response from the server. * @param operationError The error message being received. */ virtual bool OnStreamError(OperationError *operationError) @@ -685,8 +846,7 @@ namespace Awstest */ void OnStreamEvent(Aws::Crt::ScopedResource response) override; /** - * Invoked when a message is received on this continuation but results in an - * error. + * Invoked when a message is received on this continuation but results in an error. * * This callback can return true so that the stream is closed afterwards. */ @@ -742,12 +902,9 @@ namespace Awstest Aws::Crt::Allocator *allocator = Aws::Crt::g_allocator) noexcept; /** * Used to activate a stream for the `CauseStreamServiceToErrorOperation` - * @param request The request used for the - * `CauseStreamServiceToErrorOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param request The request used for the `CauseStreamServiceToErrorOperation` + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const EchoStreamingRequest &request, @@ -767,10 +924,8 @@ namespace Awstest virtual void OnStreamEvent(EchoStreamingMessage *response) { (void)response; } /** - * A callback that is invoked when an error occurs while parsing a message - * from the stream. - * @param rpcError The RPC error containing the status and possibly a CRT - * error. + * A callback that is invoked when an error occurs while parsing a message from the stream. + * @param rpcError The RPC error containing the status and possibly a CRT error. */ virtual bool OnStreamError(RpcError rpcError) { @@ -779,8 +934,7 @@ namespace Awstest } /** - * A callback that is invoked upon receiving ANY error response from the - * server. + * A callback that is invoked upon receiving ANY error response from the server. * @param operationError The error message being received. */ virtual bool OnStreamError(OperationError *operationError) @@ -795,8 +949,7 @@ namespace Awstest */ void OnStreamEvent(Aws::Crt::ScopedResource response) override; /** - * Invoked when a message is received on this continuation but results in an - * error. + * Invoked when a message is received on this continuation but results in an error. * * This callback can return true so that the stream is closed afterwards. */ @@ -851,10 +1004,8 @@ namespace Awstest /** * Used to activate a stream for the `EchoStreamMessagesOperation` * @param request The request used for the `EchoStreamMessagesOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const EchoStreamingRequest &request, @@ -916,10 +1067,8 @@ namespace Awstest /** * Used to activate a stream for the `EchoMessageOperation` * @param request The request used for the `EchoMessageOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const EchoMessageRequest &request, @@ -981,10 +1130,8 @@ namespace Awstest /** * Used to activate a stream for the `GetAllCustomersOperation` * @param request The request used for the `GetAllCustomersOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const GetAllCustomersRequest &request, diff --git a/greengrass_ipc/include/aws/greengrass/GreengrassCoreIpcClient.h b/greengrass_ipc/include/aws/greengrass/GreengrassCoreIpcClient.h index 961cf08c4..502031d4f 100644 --- a/greengrass_ipc/include/aws/greengrass/GreengrassCoreIpcClient.h +++ b/greengrass_ipc/include/aws/greengrass/GreengrassCoreIpcClient.h @@ -30,12 +30,10 @@ namespace Aws Aws::Crt::Allocator *allocator = Aws::Crt::g_allocator) noexcept; /** * Connect the client to the server - * @param lifecycleHandler An interface that is called upon when lifecycle - * events relating to the connection occur. - * @param connectionConfig The configuration parameters used for establishing - * the connection. - * @return An `RpcError` that can be used to check whether the connection was - * established. + * @param lifecycleHandler An interface that is called upon when lifecycle events relating to the connection + * occur. + * @param connectionConfig The configuration parameters used for establishing the connection. + * @return An `RpcError` that can be used to check whether the connection was established. */ std::future Connect( ConnectionLifecycleHandler &lifecycleHandler, @@ -44,79 +42,193 @@ namespace Aws void Close() noexcept; void WithLaunchMode(std::launch mode) noexcept; + /** + * Subscribe to a topic in AWS IoT message broker. + */ std::shared_ptr NewSubscribeToIoTCore( std::shared_ptr streamHandler) noexcept; + /** + * Resume a paused component + */ std::shared_ptr NewResumeComponent() noexcept; + /** + * Publish an MQTT message to AWS IoT message broker + */ std::shared_ptr NewPublishToIoTCore() noexcept; + /** + * Subscribes to be notified when GGC updates the configuration for a given componentName and keyName. + */ std::shared_ptr NewSubscribeToConfigurationUpdate( std::shared_ptr streamHandler) noexcept; + /** + * Deletes a device shadow document stored in the local shadow service + */ std::shared_ptr NewDeleteThingShadow() noexcept; + /** + * Send component metrics + * NOTE Only usable by AWS components + */ std::shared_ptr NewPutComponentMetric() noexcept; + /** + * Defer the update of components by a given amount of time and check again after that. + */ std::shared_ptr NewDeferComponentUpdate() noexcept; + /** + * Subscribes to be notified when GGC is about to update configuration for this component + * GGC will wait for a timeout period before it proceeds with the update. + * If the new configuration is not valid this component can use the SendConfigurationValidityReport + * operation to indicate that + */ std::shared_ptr NewSubscribeToValidateConfigurationUpdates( std::shared_ptr streamHandler) noexcept; + /** + * Get value of a given key from the configuration + */ std::shared_ptr NewGetConfiguration() noexcept; + /** + * Creates a subscription for a custom topic + */ std::shared_ptr NewSubscribeToTopic( std::shared_ptr streamHandler) noexcept; + /** + * Gets the status and version of the component with the given component name + */ std::shared_ptr NewGetComponentDetails() noexcept; + /** + * Get session token for a client device + */ std::shared_ptr NewGetClientDeviceAuthToken() noexcept; + /** + * Publish to a custom topic. + */ std::shared_ptr NewPublishToTopic() noexcept; + /** + * Create a subscription for new certificates + */ std::shared_ptr NewSubscribeToCertificateUpdates( std::shared_ptr streamHandler) noexcept; + /** + * Verify client device credentials + */ std::shared_ptr NewVerifyClientDeviceIdentity() noexcept; + /** + * Send a request to authorize action on some resource + */ std::shared_ptr NewAuthorizeClientDeviceAction() noexcept; + /** + * Request for a list of components + */ std::shared_ptr NewListComponents() noexcept; + /** + * Generate a password for the LocalDebugConsole component + */ std::shared_ptr NewCreateDebugPassword() noexcept; + /** + * Retrieves a device shadow document stored by the local shadow service + */ std::shared_ptr NewGetThingShadow() noexcept; + /** + * This operation should be used in response to event received as part of + * SubscribeToValidateConfigurationUpdates subscription. It is not necessary to send the report if the + * configuration is valid (GGC will wait for timeout period and proceed). Sending the report with invalid + * config status will prevent GGC from applying the updates + */ std::shared_ptr NewSendConfigurationValidityReport() noexcept; + /** + * Updates a device shadow document stored in the local shadow service + * The update is an upsert operation, with optimistic locking support + */ std::shared_ptr NewUpdateThingShadow() noexcept; + /** + * Update this component's configuration by replacing the value of given keyName with the newValue. + * If an oldValue is specified then update will only take effect id the current value matches the given + * oldValue + */ std::shared_ptr NewUpdateConfiguration() noexcept; + /** + * Validate authorization token + * NOTE This API can be used only by stream manager, customer component calling this API will receive + * UnauthorizedError + */ std::shared_ptr NewValidateAuthorizationToken() noexcept; + /** + * Restarts a component with the given name + */ std::shared_ptr NewRestartComponent() noexcept; + /** + * Get status of a local deployment with the given deploymentId + */ std::shared_ptr NewGetLocalDeploymentStatus() noexcept; + /** + * Retrieves a secret stored in AWS secrets manager + */ std::shared_ptr NewGetSecretValue() noexcept; + /** + * Update status of this component + */ std::shared_ptr NewUpdateState() noexcept; + /** + * Cancel a local deployment on the device. + */ std::shared_ptr NewCancelLocalDeployment() noexcept; + /** + * Lists the named shadows for the specified thing + */ std::shared_ptr NewListNamedShadowsForThing() noexcept; + /** + * Subscribe to receive notification if GGC is about to update any components + */ std::shared_ptr NewSubscribeToComponentUpdates( std::shared_ptr streamHandler) noexcept; + /** + * Lists the last 5 local deployments along with their statuses + */ std::shared_ptr NewListLocalDeployments() noexcept; + /** + * Stops a component with the given name + */ std::shared_ptr NewStopComponent() noexcept; + /** + * Pause a running component + */ std::shared_ptr NewPauseComponent() noexcept; + /** + * Creates a local deployment on the device. Also allows to remove existing components. + */ std::shared_ptr NewCreateLocalDeployment() noexcept; ~GreengrassCoreIpcClient() noexcept; diff --git a/greengrass_ipc/include/aws/greengrass/GreengrassCoreIpcModel.h b/greengrass_ipc/include/aws/greengrass/GreengrassCoreIpcModel.h index 3bf6a0192..52e305ccf 100644 --- a/greengrass_ipc/include/aws/greengrass/GreengrassCoreIpcModel.h +++ b/greengrass_ipc/include/aws/greengrass/GreengrassCoreIpcModel.h @@ -26,9 +26,13 @@ namespace Aws public: UserProperty() noexcept {} UserProperty(const UserProperty &) = default; + void SetKey(const Aws::Crt::String &key) noexcept { m_key = key; } + Aws::Crt::Optional GetKey() noexcept { return m_key; } + void SetValue(const Aws::Crt::String &value) noexcept { m_value = value; } + Aws::Crt::Optional GetValue() noexcept { return m_value; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(UserProperty &, const Aws::Crt::JsonView &) noexcept; @@ -36,8 +40,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(UserProperty *) noexcept; - /* This needs to be defined so that `UserProperty` can be used as a key in - * maps. */ + /* This needs to be defined so that `UserProperty` can be used as a key in maps. */ bool operator<(const UserProperty &) const noexcept; static const char *MODEL_NAME; @@ -58,12 +61,22 @@ namespace Aws DETAILED_DEPLOYMENT_STATUS_REJECTED }; + /** + * Contextual information about the message. + * NOTE The context is ignored if used in PublishMessage. + */ class AWS_GREENGRASSCOREIPC_API MessageContext : public AbstractShapeBase { public: MessageContext() noexcept {} MessageContext(const MessageContext &) = default; + /** + * The topic where the message was published. + */ void SetTopic(const Aws::Crt::String &topic) noexcept { m_topic = topic; } + /** + * The topic where the message was published. + */ Aws::Crt::Optional GetTopic() noexcept { return m_topic; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(MessageContext &, const Aws::Crt::JsonView &) noexcept; @@ -71,8 +84,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(MessageContext *) noexcept; - /* This needs to be defined so that `MessageContext` can be used as a key in - * maps. */ + /* This needs to be defined so that `MessageContext` can be used as a key in maps. */ bool operator<(const MessageContext &) const noexcept; static const char *MODEL_NAME; @@ -104,28 +116,52 @@ namespace Aws public: DeploymentStatusDetails() noexcept {} DeploymentStatusDetails(const DeploymentStatusDetails &) = default; + /** + * The detailed deployment status of the local deployment. + */ void SetDetailedDeploymentStatus(DetailedDeploymentStatus detailedDeploymentStatus) noexcept; + /** + * The detailed deployment status of the local deployment. + */ Aws::Crt::Optional GetDetailedDeploymentStatus() noexcept; + /** + * (Optional) The list of local deployment errors + */ void SetDeploymentErrorStack(const Aws::Crt::Vector &deploymentErrorStack) noexcept { m_deploymentErrorStack = deploymentErrorStack; } + /** + * (Optional) The list of local deployment errors + */ Aws::Crt::Optional> GetDeploymentErrorStack() noexcept { return m_deploymentErrorStack; } + /** + * (Optional) The list of local deployment error types + */ void SetDeploymentErrorTypes(const Aws::Crt::Vector &deploymentErrorTypes) noexcept { m_deploymentErrorTypes = deploymentErrorTypes; } + /** + * (Optional) The list of local deployment error types + */ Aws::Crt::Optional> GetDeploymentErrorTypes() noexcept { return m_deploymentErrorTypes; } + /** + * (Optional) The cause of local deployment failure + */ void SetDeploymentFailureCause(const Aws::Crt::String &deploymentFailureCause) noexcept { m_deploymentFailureCause = deploymentFailureCause; } + /** + * (Optional) The cause of local deployment failure + */ Aws::Crt::Optional GetDeploymentFailureCause() noexcept { return m_deploymentFailureCause; @@ -136,8 +172,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(DeploymentStatusDetails *) noexcept; - /* This needs to be defined so that `DeploymentStatusDetails` can be used as a - * key in maps. */ + /* This needs to be defined so that `DeploymentStatusDetails` can be used as a key in maps. */ bool operator<(const DeploymentStatusDetails &) const noexcept; static const char *MODEL_NAME; @@ -177,9 +212,23 @@ namespace Aws public: SystemResourceLimits() noexcept {} SystemResourceLimits(const SystemResourceLimits &) = default; + /** + * (Optional) The maximum amount of RAM (in kilobytes) that this component's processes can use on the core + * device. + */ void SetMemory(const int64_t &memory) noexcept { m_memory = memory; } + /** + * (Optional) The maximum amount of RAM (in kilobytes) that this component's processes can use on the core + * device. + */ Aws::Crt::Optional GetMemory() noexcept { return m_memory; } + /** + * (Optional) The maximum amount of CPU time that this component's processes can use on the core device. + */ void SetCpus(const double &cpus) noexcept { m_cpus = cpus; } + /** + * (Optional) The maximum amount of CPU time that this component's processes can use on the core device. + */ Aws::Crt::Optional GetCpus() noexcept { return m_cpus; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(SystemResourceLimits &, const Aws::Crt::JsonView &) noexcept; @@ -187,8 +236,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(SystemResourceLimits *) noexcept; - /* This needs to be defined so that `SystemResourceLimits` can be used as a - * key in maps. */ + /* This needs to be defined so that `SystemResourceLimits` can be used as a key in maps. */ bool operator<(const SystemResourceLimits &) const noexcept; static const char *MODEL_NAME; @@ -205,12 +253,24 @@ namespace Aws public: ValidateConfigurationUpdateEvent() noexcept {} ValidateConfigurationUpdateEvent(const ValidateConfigurationUpdateEvent &) = default; + /** + * The object that contains the new configuration. + */ void SetConfiguration(const Aws::Crt::JsonObject &configuration) noexcept { m_configuration = configuration; } + /** + * The object that contains the new configuration. + */ Aws::Crt::Optional GetConfiguration() noexcept { return m_configuration; } + /** + * The ID of the AWS IoT Greengrass deployment that updates the component. + */ void SetDeploymentId(const Aws::Crt::String &deploymentId) noexcept { m_deploymentId = deploymentId; } + /** + * The ID of the AWS IoT Greengrass deployment that updates the component. + */ Aws::Crt::Optional GetDeploymentId() noexcept { return m_deploymentId; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(ValidateConfigurationUpdateEvent &, const Aws::Crt::JsonView &) noexcept; @@ -218,8 +278,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(ValidateConfigurationUpdateEvent *) noexcept; - /* This needs to be defined so that `ValidateConfigurationUpdateEvent` can be - * used as a key in maps. */ + /* This needs to be defined so that `ValidateConfigurationUpdateEvent` can be used as a key in maps. */ bool operator<(const ValidateConfigurationUpdateEvent &) const noexcept; static const char *MODEL_NAME; @@ -236,11 +295,21 @@ namespace Aws public: BinaryMessage() noexcept {} BinaryMessage(const BinaryMessage &) = default; + /** + * The binary message as a blob. + */ void SetMessage(const Aws::Crt::Vector &message) noexcept { m_message = message; } + /** + * The binary message as a blob. + */ Aws::Crt::Optional> GetMessage() noexcept { return m_message; } - /* The context is ignored if used in PublishMessage. */ + /** + * The context of the message, such as the topic where the message was published. + */ void SetContext(const MessageContext &context) noexcept { m_context = context; } - /* The context is ignored if used in PublishMessage. */ + /** + * The context of the message, such as the topic where the message was published. + */ Aws::Crt::Optional GetContext() noexcept { return m_context; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(BinaryMessage &, const Aws::Crt::JsonView &) noexcept; @@ -248,8 +317,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(BinaryMessage *) noexcept; - /* This needs to be defined so that `BinaryMessage` can be used as a key in - * maps. */ + /* This needs to be defined so that `BinaryMessage` can be used as a key in maps. */ bool operator<(const BinaryMessage &) const noexcept; static const char *MODEL_NAME; @@ -266,11 +334,21 @@ namespace Aws public: JsonMessage() noexcept {} JsonMessage(const JsonMessage &) = default; + /** + * The JSON message as an object. + */ void SetMessage(const Aws::Crt::JsonObject &message) noexcept { m_message = message; } + /** + * The JSON message as an object. + */ Aws::Crt::Optional GetMessage() noexcept { return m_message; } - /* The context is ignored if used in PublishMessage. */ + /** + * The context of the message, such as the topic where the message was published. + */ void SetContext(const MessageContext &context) noexcept { m_context = context; } - /* The context is ignored if used in PublishMessage. */ + /** + * The context of the message, such as the topic where the message was published. + */ Aws::Crt::Optional GetContext() noexcept { return m_context; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(JsonMessage &, const Aws::Crt::JsonView &) noexcept; @@ -278,8 +356,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(JsonMessage *) noexcept; - /* This needs to be defined so that `JsonMessage` can be used as a key in - * maps. */ + /* This needs to be defined so that `JsonMessage` can be used as a key in maps. */ bool operator<(const JsonMessage &) const noexcept; static const char *MODEL_NAME; @@ -296,35 +373,89 @@ namespace Aws public: MQTTMessage() noexcept {} MQTTMessage(const MQTTMessage &) = default; + /** + * The topic to which the message was published. + */ void SetTopicName(const Aws::Crt::String &topicName) noexcept { m_topicName = topicName; } + /** + * The topic to which the message was published. + */ Aws::Crt::Optional GetTopicName() noexcept { return m_topicName; } + /** + * (Optional) The message payload as a blob. + */ void SetPayload(const Aws::Crt::Vector &payload) noexcept { m_payload = payload; } + /** + * (Optional) The message payload as a blob. + */ Aws::Crt::Optional> GetPayload() noexcept { return m_payload; } + /** + * (Optional) The value of the retain flag. + */ void SetRetain(const bool &retain) noexcept { m_retain = retain; } + /** + * (Optional) The value of the retain flag. + */ Aws::Crt::Optional GetRetain() noexcept { return m_retain; } + /** + * (Optional) MQTT user properties associated with the message. + */ void SetUserProperties(const Aws::Crt::Vector &userProperties) noexcept { m_userProperties = userProperties; } + /** + * (Optional) MQTT user properties associated with the message. + */ Aws::Crt::Optional> GetUserProperties() noexcept { return m_userProperties; } + /** + * (Optional) Message expiry interval in seconds. + */ void SetMessageExpiryIntervalSeconds(const int64_t &messageExpiryIntervalSeconds) noexcept { m_messageExpiryIntervalSeconds = messageExpiryIntervalSeconds; } + /** + * (Optional) Message expiry interval in seconds. + */ Aws::Crt::Optional GetMessageExpiryIntervalSeconds() noexcept { return m_messageExpiryIntervalSeconds; } + /** + * (Optional) Correlation data blob for request/response. + */ void SetCorrelationData(const Aws::Crt::Vector &correlationData) noexcept { m_correlationData = correlationData; } + /** + * (Optional) Correlation data blob for request/response. + */ Aws::Crt::Optional> GetCorrelationData() noexcept { return m_correlationData; } + /** + * (Optional) Response topic for request/response. + */ void SetResponseTopic(const Aws::Crt::String &responseTopic) noexcept { m_responseTopic = responseTopic; } + /** + * (Optional) Response topic for request/response. + */ Aws::Crt::Optional GetResponseTopic() noexcept { return m_responseTopic; } + /** + * (Optional) Message payload format. + */ void SetPayloadFormat(PayloadFormat payloadFormat) noexcept; + /** + * (Optional) Message payload format. + */ Aws::Crt::Optional GetPayloadFormat() noexcept; + /** + * (Optional) Message content type. + */ void SetContentType(const Aws::Crt::String &contentType) noexcept { m_contentType = contentType; } + /** + * (Optional) Message content type. + */ Aws::Crt::Optional GetContentType() noexcept { return m_contentType; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(MQTTMessage &, const Aws::Crt::JsonView &) noexcept; @@ -332,8 +463,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(MQTTMessage *) noexcept; - /* This needs to be defined so that `MQTTMessage` can be used as a key in - * maps. */ + /* This needs to be defined so that `MQTTMessage` can be used as a key in maps. */ bool operator<(const MQTTMessage &) const noexcept; static const char *MODEL_NAME; @@ -357,9 +487,21 @@ namespace Aws public: ConfigurationUpdateEvent() noexcept {} ConfigurationUpdateEvent(const ConfigurationUpdateEvent &) = default; + /** + * The name of the component. + */ void SetComponentName(const Aws::Crt::String &componentName) noexcept { m_componentName = componentName; } + /** + * The name of the component. + */ Aws::Crt::Optional GetComponentName() noexcept { return m_componentName; } + /** + * The key path to the configuration value that updated. + */ void SetKeyPath(const Aws::Crt::Vector &keyPath) noexcept { m_keyPath = keyPath; } + /** + * The key path to the configuration value that updated. + */ Aws::Crt::Optional> GetKeyPath() noexcept { return m_keyPath; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(ConfigurationUpdateEvent &, const Aws::Crt::JsonView &) noexcept; @@ -367,8 +509,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(ConfigurationUpdateEvent *) noexcept; - /* This needs to be defined so that `ConfigurationUpdateEvent` can be used as - * a key in maps. */ + /* This needs to be defined so that `ConfigurationUpdateEvent` can be used as a key in maps. */ bool operator<(const ConfigurationUpdateEvent &) const noexcept; static const char *MODEL_NAME; @@ -385,7 +526,13 @@ namespace Aws public: PostComponentUpdateEvent() noexcept {} PostComponentUpdateEvent(const PostComponentUpdateEvent &) = default; + /** + * The ID of the AWS IoT Greengrass deployment that updated the component. + */ void SetDeploymentId(const Aws::Crt::String &deploymentId) noexcept { m_deploymentId = deploymentId; } + /** + * The ID of the AWS IoT Greengrass deployment that updated the component. + */ Aws::Crt::Optional GetDeploymentId() noexcept { return m_deploymentId; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(PostComponentUpdateEvent &, const Aws::Crt::JsonView &) noexcept; @@ -393,8 +540,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(PostComponentUpdateEvent *) noexcept; - /* This needs to be defined so that `PostComponentUpdateEvent` can be used as - * a key in maps. */ + /* This needs to be defined so that `PostComponentUpdateEvent` can be used as a key in maps. */ bool operator<(const PostComponentUpdateEvent &) const noexcept; static const char *MODEL_NAME; @@ -410,9 +556,21 @@ namespace Aws public: PreComponentUpdateEvent() noexcept {} PreComponentUpdateEvent(const PreComponentUpdateEvent &) = default; + /** + * The ID of the AWS IoT Greengrass deployment that updates the component. + */ void SetDeploymentId(const Aws::Crt::String &deploymentId) noexcept { m_deploymentId = deploymentId; } + /** + * The ID of the AWS IoT Greengrass deployment that updates the component. + */ Aws::Crt::Optional GetDeploymentId() noexcept { return m_deploymentId; } + /** + * Whether or not Greengrass needs to restart to apply the update. + */ void SetIsGgcRestarting(const bool &isGgcRestarting) noexcept { m_isGgcRestarting = isGgcRestarting; } + /** + * Whether or not Greengrass needs to restart to apply the update. + */ Aws::Crt::Optional GetIsGgcRestarting() noexcept { return m_isGgcRestarting; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(PreComponentUpdateEvent &, const Aws::Crt::JsonView &) noexcept; @@ -420,8 +578,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(PreComponentUpdateEvent *) noexcept; - /* This needs to be defined so that `PreComponentUpdateEvent` can be used as a - * key in maps. */ + /* This needs to be defined so that `PreComponentUpdateEvent` can be used as a key in maps. */ bool operator<(const PreComponentUpdateEvent &) const noexcept; static const char *MODEL_NAME; @@ -438,16 +595,40 @@ namespace Aws public: CertificateUpdate() noexcept {} CertificateUpdate(const CertificateUpdate &) = default; + /** + * The private key in pem format. + */ void SetPrivateKey(const Aws::Crt::String &privateKey) noexcept { m_privateKey = privateKey; } + /** + * The private key in pem format. + */ Aws::Crt::Optional GetPrivateKey() noexcept { return m_privateKey; } + /** + * The public key in pem format. + */ void SetPublicKey(const Aws::Crt::String &publicKey) noexcept { m_publicKey = publicKey; } + /** + * The public key in pem format. + */ Aws::Crt::Optional GetPublicKey() noexcept { return m_publicKey; } + /** + * The certificate in pem format. + */ void SetCertificate(const Aws::Crt::String &certificate) noexcept { m_certificate = certificate; } + /** + * The certificate in pem format. + */ Aws::Crt::Optional GetCertificate() noexcept { return m_certificate; } + /** + * List of CA certificates in pem format. + */ void SetCaCertificates(const Aws::Crt::Vector &caCertificates) noexcept { m_caCertificates = caCertificates; } + /** + * List of CA certificates in pem format. + */ Aws::Crt::Optional> GetCaCertificates() noexcept { return m_caCertificates; @@ -458,8 +639,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(CertificateUpdate *) noexcept; - /* This needs to be defined so that `CertificateUpdate` can be used as a key - * in maps. */ + /* This needs to be defined so that `CertificateUpdate` can be used as a key in maps. */ bool operator<(const CertificateUpdate &) const noexcept; static const char *MODEL_NAME; @@ -489,11 +669,17 @@ namespace Aws public: Metric() noexcept {} Metric(const Metric &) = default; + void SetName(const Aws::Crt::String &name) noexcept { m_name = name; } + Aws::Crt::Optional GetName() noexcept { return m_name; } + void SetUnit(MetricUnitType unit) noexcept; + Aws::Crt::Optional GetUnit() noexcept; + void SetValue(const double &value) noexcept { m_value = value; } + Aws::Crt::Optional GetValue() noexcept { return m_value; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(Metric &, const Aws::Crt::JsonView &) noexcept; @@ -519,16 +705,40 @@ namespace Aws public: LocalDeployment() noexcept {} LocalDeployment(const LocalDeployment &) = default; + /** + * The ID of the local deployment. + */ void SetDeploymentId(const Aws::Crt::String &deploymentId) noexcept { m_deploymentId = deploymentId; } + /** + * The ID of the local deployment. + */ Aws::Crt::Optional GetDeploymentId() noexcept { return m_deploymentId; } + /** + * The status of the local deployment. + */ void SetStatus(DeploymentStatus status) noexcept; + /** + * The status of the local deployment. + */ Aws::Crt::Optional GetStatus() noexcept; + /** + * (Optional) The timestamp at which the local deployment was created in MM/dd/yyyy hh:mm:ss format + */ void SetCreatedOn(const Aws::Crt::String &createdOn) noexcept { m_createdOn = createdOn; } + /** + * (Optional) The timestamp at which the local deployment was created in MM/dd/yyyy hh:mm:ss format + */ Aws::Crt::Optional GetCreatedOn() noexcept { return m_createdOn; } + /** + * (Optional) The status details of the local deployment. + */ void SetDeploymentStatusDetails(const DeploymentStatusDetails &deploymentStatusDetails) noexcept { m_deploymentStatusDetails = deploymentStatusDetails; } + /** + * (Optional) The status details of the local deployment. + */ Aws::Crt::Optional GetDeploymentStatusDetails() noexcept { return m_deploymentStatusDetails; @@ -539,8 +749,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(LocalDeployment *) noexcept; - /* This needs to be defined so that `LocalDeployment` can be used as a key in - * maps. */ + /* This needs to be defined so that `LocalDeployment` can be used as a key in maps. */ bool operator<(const LocalDeployment &) const noexcept; static const char *MODEL_NAME; @@ -559,16 +768,40 @@ namespace Aws public: ComponentDetails() noexcept {} ComponentDetails(const ComponentDetails &) = default; + /** + * The name of the component. + */ void SetComponentName(const Aws::Crt::String &componentName) noexcept { m_componentName = componentName; } + /** + * The name of the component. + */ Aws::Crt::Optional GetComponentName() noexcept { return m_componentName; } + /** + * The version of the component. + */ void SetVersion(const Aws::Crt::String &version) noexcept { m_version = version; } + /** + * The version of the component. + */ Aws::Crt::Optional GetVersion() noexcept { return m_version; } + /** + * The state of the component. + */ void SetState(LifecycleState state) noexcept; + /** + * The state of the component. + */ Aws::Crt::Optional GetState() noexcept; + /** + * The component's configuration as a JSON object. + */ void SetConfiguration(const Aws::Crt::JsonObject &configuration) noexcept { m_configuration = configuration; } + /** + * The component's configuration as a JSON object. + */ Aws::Crt::Optional GetConfiguration() noexcept { return m_configuration; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(ComponentDetails &, const Aws::Crt::JsonView &) noexcept; @@ -576,8 +809,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(ComponentDetails *) noexcept; - /* This needs to be defined so that `ComponentDetails` can be used as a key in - * maps. */ + /* This needs to be defined so that `ComponentDetails` can be used as a key in maps. */ bool operator<(const ComponentDetails &) const noexcept; static const char *MODEL_NAME; @@ -596,16 +828,40 @@ namespace Aws public: MQTTCredential() noexcept {} MQTTCredential(const MQTTCredential &) = default; + /** + * The client ID to used to connect. + */ void SetClientId(const Aws::Crt::String &clientId) noexcept { m_clientId = clientId; } + /** + * The client ID to used to connect. + */ Aws::Crt::Optional GetClientId() noexcept { return m_clientId; } + /** + * The client certificate in pem format. + */ void SetCertificatePem(const Aws::Crt::String &certificatePem) noexcept { m_certificatePem = certificatePem; } + /** + * The client certificate in pem format. + */ Aws::Crt::Optional GetCertificatePem() noexcept { return m_certificatePem; } + /** + * The username. (unused). + */ void SetUsername(const Aws::Crt::String &username) noexcept { m_username = username; } + /** + * The username. (unused). + */ Aws::Crt::Optional GetUsername() noexcept { return m_username; } + /** + * The password. (unused). + */ void SetPassword(const Aws::Crt::String &password) noexcept { m_password = password; } + /** + * The password. (unused). + */ Aws::Crt::Optional GetPassword() noexcept { return m_password; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(MQTTCredential &, const Aws::Crt::JsonView &) noexcept; @@ -613,8 +869,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(MQTTCredential *) noexcept; - /* This needs to be defined so that `MQTTCredential` can be used as a key in - * maps. */ + /* This needs to be defined so that `MQTTCredential` can be used as a key in maps. */ bool operator<(const MQTTCredential &) const noexcept; static const char *MODEL_NAME; @@ -633,14 +888,34 @@ namespace Aws public: RunWithInfo() noexcept {} RunWithInfo(const RunWithInfo &) = default; + /** + * (Optional) The POSIX system user and, optionally, group to use to run this component on Linux core + * devices. + */ void SetPosixUser(const Aws::Crt::String &posixUser) noexcept { m_posixUser = posixUser; } + /** + * (Optional) The POSIX system user and, optionally, group to use to run this component on Linux core + * devices. + */ Aws::Crt::Optional GetPosixUser() noexcept { return m_posixUser; } + /** + * (Optional) The Windows user to use to run this component on Windows core devices. + */ void SetWindowsUser(const Aws::Crt::String &windowsUser) noexcept { m_windowsUser = windowsUser; } + /** + * (Optional) The Windows user to use to run this component on Windows core devices. + */ Aws::Crt::Optional GetWindowsUser() noexcept { return m_windowsUser; } + /** + * (Optional) The system resource limits to apply to this component's processes. + */ void SetSystemResourceLimits(const SystemResourceLimits &systemResourceLimits) noexcept { m_systemResourceLimits = systemResourceLimits; } + /** + * (Optional) The system resource limits to apply to this component's processes. + */ Aws::Crt::Optional GetSystemResourceLimits() noexcept { return m_systemResourceLimits; @@ -651,8 +926,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(RunWithInfo *) noexcept; - /* This needs to be defined so that `RunWithInfo` can be used as a key in - * maps. */ + /* This needs to be defined so that `RunWithInfo` can be used as a key in maps. */ bool operator<(const RunWithInfo &) const noexcept; static const char *MODEL_NAME; @@ -671,11 +945,17 @@ namespace Aws ClientDeviceCredential() noexcept {} ClientDeviceCredential &operator=(const ClientDeviceCredential &) noexcept; ClientDeviceCredential(const ClientDeviceCredential &objectToCopy) { *this = objectToCopy; } + /** + * The client device's X.509 device certificate. + */ void SetClientDeviceCertificate(const Aws::Crt::String &clientDeviceCertificate) noexcept { m_clientDeviceCertificate = clientDeviceCertificate; m_chosenMember = TAG_CLIENT_DEVICE_CERTIFICATE; } + /** + * The client device's X.509 device certificate. + */ Aws::Crt::Optional GetClientDeviceCertificate() noexcept { if (m_chosenMember == TAG_CLIENT_DEVICE_CERTIFICATE) @@ -693,8 +973,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(ClientDeviceCredential *) noexcept; - /* This needs to be defined so that `ClientDeviceCredential` can be used as a - * key in maps. */ + /* This needs to be defined so that `ClientDeviceCredential` can be used as a key in maps. */ bool operator<(const ClientDeviceCredential &) const noexcept; static const char *MODEL_NAME; @@ -724,12 +1003,18 @@ namespace Aws { *this = objectToCopy; } + /** + * The configuration update event. + */ void SetValidateConfigurationUpdateEvent( const ValidateConfigurationUpdateEvent &validateConfigurationUpdateEvent) noexcept { m_validateConfigurationUpdateEvent = validateConfigurationUpdateEvent; m_chosenMember = TAG_VALIDATE_CONFIGURATION_UPDATE_EVENT; } + /** + * The configuration update event. + */ Aws::Crt::Optional GetValidateConfigurationUpdateEvent() noexcept { if (m_chosenMember == TAG_VALIDATE_CONFIGURATION_UPDATE_EVENT) @@ -747,8 +1032,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(ValidateConfigurationUpdateEvents *) noexcept; - /* This needs to be defined so that `ValidateConfigurationUpdateEvents` can be - * used as a key in maps. */ + /* This needs to be defined so that `ValidateConfigurationUpdateEvents` can be used as a key in maps. */ bool operator<(const ValidateConfigurationUpdateEvents &) const noexcept; static const char *MODEL_NAME; @@ -769,11 +1053,17 @@ namespace Aws SubscriptionResponseMessage() noexcept {} SubscriptionResponseMessage &operator=(const SubscriptionResponseMessage &) noexcept; SubscriptionResponseMessage(const SubscriptionResponseMessage &objectToCopy) { *this = objectToCopy; } + /** + * (Optional) A JSON message. + */ void SetJsonMessage(const JsonMessage &jsonMessage) noexcept { m_jsonMessage = jsonMessage; m_chosenMember = TAG_JSON_MESSAGE; } + /** + * (Optional) A JSON message. + */ Aws::Crt::Optional GetJsonMessage() noexcept { if (m_chosenMember == TAG_JSON_MESSAGE) @@ -785,11 +1075,17 @@ namespace Aws return Aws::Crt::Optional(); } } + /** + * (Optional) A binary message. + */ void SetBinaryMessage(const BinaryMessage &binaryMessage) noexcept { m_binaryMessage = binaryMessage; m_chosenMember = TAG_BINARY_MESSAGE; } + /** + * (Optional) A binary message. + */ Aws::Crt::Optional GetBinaryMessage() noexcept { if (m_chosenMember == TAG_BINARY_MESSAGE) @@ -807,8 +1103,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(SubscriptionResponseMessage *) noexcept; - /* This needs to be defined so that `SubscriptionResponseMessage` can be used - * as a key in maps. */ + /* This needs to be defined so that `SubscriptionResponseMessage` can be used as a key in maps. */ bool operator<(const SubscriptionResponseMessage &) const noexcept; static const char *MODEL_NAME; @@ -837,11 +1132,17 @@ namespace Aws IoTCoreMessage() noexcept {} IoTCoreMessage &operator=(const IoTCoreMessage &) noexcept; IoTCoreMessage(const IoTCoreMessage &objectToCopy) { *this = objectToCopy; } + /** + * The MQTT message. + */ void SetMessage(const MQTTMessage &message) noexcept { m_message = message; m_chosenMember = TAG_MESSAGE; } + /** + * The MQTT message. + */ Aws::Crt::Optional GetMessage() noexcept { if (m_chosenMember == TAG_MESSAGE) @@ -859,8 +1160,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(IoTCoreMessage *) noexcept; - /* This needs to be defined so that `IoTCoreMessage` can be used as a key in - * maps. */ + /* This needs to be defined so that `IoTCoreMessage` can be used as a key in maps. */ bool operator<(const IoTCoreMessage &) const noexcept; static const char *MODEL_NAME; @@ -887,11 +1187,17 @@ namespace Aws ConfigurationUpdateEvents() noexcept {} ConfigurationUpdateEvents &operator=(const ConfigurationUpdateEvents &) noexcept; ConfigurationUpdateEvents(const ConfigurationUpdateEvents &objectToCopy) { *this = objectToCopy; } + /** + * The configuration update event. + */ void SetConfigurationUpdateEvent(const ConfigurationUpdateEvent &configurationUpdateEvent) noexcept { m_configurationUpdateEvent = configurationUpdateEvent; m_chosenMember = TAG_CONFIGURATION_UPDATE_EVENT; } + /** + * The configuration update event. + */ Aws::Crt::Optional GetConfigurationUpdateEvent() noexcept { if (m_chosenMember == TAG_CONFIGURATION_UPDATE_EVENT) @@ -909,8 +1215,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(ConfigurationUpdateEvents *) noexcept; - /* This needs to be defined so that `ConfigurationUpdateEvents` can be used as - * a key in maps. */ + /* This needs to be defined so that `ConfigurationUpdateEvents` can be used as a key in maps. */ bool operator<(const ConfigurationUpdateEvents &) const noexcept; static const char *MODEL_NAME; @@ -931,11 +1236,17 @@ namespace Aws ComponentUpdatePolicyEvents() noexcept {} ComponentUpdatePolicyEvents &operator=(const ComponentUpdatePolicyEvents &) noexcept; ComponentUpdatePolicyEvents(const ComponentUpdatePolicyEvents &objectToCopy) { *this = objectToCopy; } + /** + * An event that indicates that the Greengrass wants to update a component. + */ void SetPreUpdateEvent(const PreComponentUpdateEvent &preUpdateEvent) noexcept { m_preUpdateEvent = preUpdateEvent; m_chosenMember = TAG_PRE_UPDATE_EVENT; } + /** + * An event that indicates that the Greengrass wants to update a component. + */ Aws::Crt::Optional GetPreUpdateEvent() noexcept { if (m_chosenMember == TAG_PRE_UPDATE_EVENT) @@ -947,11 +1258,17 @@ namespace Aws return Aws::Crt::Optional(); } } + /** + * An event that indicates that the nucleus updated a component. + */ void SetPostUpdateEvent(const PostComponentUpdateEvent &postUpdateEvent) noexcept { m_postUpdateEvent = postUpdateEvent; m_chosenMember = TAG_POST_UPDATE_EVENT; } + /** + * An event that indicates that the nucleus updated a component. + */ Aws::Crt::Optional GetPostUpdateEvent() noexcept { if (m_chosenMember == TAG_POST_UPDATE_EVENT) @@ -969,8 +1286,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(ComponentUpdatePolicyEvents *) noexcept; - /* This needs to be defined so that `ComponentUpdatePolicyEvents` can be used - * as a key in maps. */ + /* This needs to be defined so that `ComponentUpdatePolicyEvents` can be used as a key in maps. */ bool operator<(const ComponentUpdatePolicyEvents &) const noexcept; static const char *MODEL_NAME; @@ -993,11 +1309,17 @@ namespace Aws CertificateUpdateEvent() noexcept {} CertificateUpdateEvent &operator=(const CertificateUpdateEvent &) noexcept; CertificateUpdateEvent(const CertificateUpdateEvent &objectToCopy) { *this = objectToCopy; } + /** + * The information about the new certificate. + */ void SetCertificateUpdate(const CertificateUpdate &certificateUpdate) noexcept { m_certificateUpdate = certificateUpdate; m_chosenMember = TAG_CERTIFICATE_UPDATE; } + /** + * The information about the new certificate. + */ Aws::Crt::Optional GetCertificateUpdate() noexcept { if (m_chosenMember == TAG_CERTIFICATE_UPDATE) @@ -1015,8 +1337,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(CertificateUpdateEvent *) noexcept; - /* This needs to be defined so that `CertificateUpdateEvent` can be used as a - * key in maps. */ + /* This needs to be defined so that `CertificateUpdateEvent` can be used as a key in maps. */ bool operator<(const CertificateUpdateEvent &) const noexcept; static const char *MODEL_NAME; @@ -1036,7 +1357,13 @@ namespace Aws public: CertificateOptions() noexcept {} CertificateOptions(const CertificateOptions &) = default; + /** + * The types of certificate updates to subscribe to. + */ void SetCertificateType(CertificateType certificateType) noexcept; + /** + * The types of certificate updates to subscribe to. + */ Aws::Crt::Optional GetCertificateType() noexcept; void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(CertificateOptions &, const Aws::Crt::JsonView &) noexcept; @@ -1044,8 +1371,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(CertificateOptions *) noexcept; - /* This needs to be defined so that `CertificateOptions` can be used as a key - * in maps. */ + /* This needs to be defined so that `CertificateOptions` can be used as a key in maps. */ bool operator<(const CertificateOptions &) const noexcept; static const char *MODEL_NAME; @@ -1067,11 +1393,29 @@ namespace Aws public: ConfigurationValidityReport() noexcept {} ConfigurationValidityReport(const ConfigurationValidityReport &) = default; + /** + * The validity status. + */ void SetStatus(ConfigurationValidityStatus status) noexcept; + /** + * The validity status. + */ Aws::Crt::Optional GetStatus() noexcept; + /** + * The ID of the AWS IoT Greengrass deployment that requested the configuration update. + */ void SetDeploymentId(const Aws::Crt::String &deploymentId) noexcept { m_deploymentId = deploymentId; } + /** + * The ID of the AWS IoT Greengrass deployment that requested the configuration update. + */ Aws::Crt::Optional GetDeploymentId() noexcept { return m_deploymentId; } + /** + * (Optional) A message that reports why the configuration isn't valid. + */ void SetMessage(const Aws::Crt::String &message) noexcept { m_message = message; } + /** + * (Optional) A message that reports why the configuration isn't valid. + */ Aws::Crt::Optional GetMessage() noexcept { return m_message; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(ConfigurationValidityReport &, const Aws::Crt::JsonView &) noexcept; @@ -1079,8 +1423,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(ConfigurationValidityReport *) noexcept; - /* This needs to be defined so that `ConfigurationValidityReport` can be used - * as a key in maps. */ + /* This needs to be defined so that `ConfigurationValidityReport` can be used as a key in maps. */ bool operator<(const ConfigurationValidityReport &) const noexcept; static const char *MODEL_NAME; @@ -1099,11 +1442,17 @@ namespace Aws PublishMessage() noexcept {} PublishMessage &operator=(const PublishMessage &) noexcept; PublishMessage(const PublishMessage &objectToCopy) { *this = objectToCopy; } + /** + * (Optional) A JSON message. + */ void SetJsonMessage(const JsonMessage &jsonMessage) noexcept { m_jsonMessage = jsonMessage; m_chosenMember = TAG_JSON_MESSAGE; } + /** + * (Optional) A JSON message. + */ Aws::Crt::Optional GetJsonMessage() noexcept { if (m_chosenMember == TAG_JSON_MESSAGE) @@ -1115,11 +1464,17 @@ namespace Aws return Aws::Crt::Optional(); } } + /** + * (Optional) A binary message. + */ void SetBinaryMessage(const BinaryMessage &binaryMessage) noexcept { m_binaryMessage = binaryMessage; m_chosenMember = TAG_BINARY_MESSAGE; } + /** + * (Optional) A binary message. + */ Aws::Crt::Optional GetBinaryMessage() noexcept { if (m_chosenMember == TAG_BINARY_MESSAGE) @@ -1137,8 +1492,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(PublishMessage *) noexcept; - /* This needs to be defined so that `PublishMessage` can be used as a key in - * maps. */ + /* This needs to be defined so that `PublishMessage` can be used as a key in maps. */ bool operator<(const PublishMessage &) const noexcept; static const char *MODEL_NAME; @@ -1161,11 +1515,17 @@ namespace Aws SecretValue() noexcept {} SecretValue &operator=(const SecretValue &) noexcept; SecretValue(const SecretValue &objectToCopy) { *this = objectToCopy; } + /** + * The decrypted part of the protected secret information that you provided to Secrets Manager as a string. + */ void SetSecretString(const Aws::Crt::String &secretString) noexcept { m_secretString = secretString; m_chosenMember = TAG_SECRET_STRING; } + /** + * The decrypted part of the protected secret information that you provided to Secrets Manager as a string. + */ Aws::Crt::Optional GetSecretString() noexcept { if (m_chosenMember == TAG_SECRET_STRING) @@ -1177,11 +1537,19 @@ namespace Aws return Aws::Crt::Optional(); } } + /** + * (Optional) The decrypted part of the protected secret information that you provided to Secrets Manager as + * binary data in the form of a byte array. + */ void SetSecretBinary(const Aws::Crt::Vector &secretBinary) noexcept { m_secretBinary = secretBinary; m_chosenMember = TAG_SECRET_BINARY; } + /** + * (Optional) The decrypted part of the protected secret information that you provided to Secrets Manager as + * binary data in the form of a byte array. + */ Aws::Crt::Optional> GetSecretBinary() noexcept { if (m_chosenMember == TAG_SECRET_BINARY) @@ -1199,8 +1567,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(SecretValue *) noexcept; - /* This needs to be defined so that `SecretValue` can be used as a key in - * maps. */ + /* This needs to be defined so that `SecretValue` can be used as a key in maps. */ bool operator<(const SecretValue &) const noexcept; static const char *MODEL_NAME; @@ -1223,11 +1590,19 @@ namespace Aws CredentialDocument() noexcept {} CredentialDocument &operator=(const CredentialDocument &) noexcept; CredentialDocument(const CredentialDocument &objectToCopy) { *this = objectToCopy; } + /** + * The client device's MQTT credentials. Specify the client ID and certificate that the client device uses + * to connect. + */ void SetMqttCredential(const MQTTCredential &mqttCredential) noexcept { m_mqttCredential = mqttCredential; m_chosenMember = TAG_MQTT_CREDENTIAL; } + /** + * The client device's MQTT credentials. Specify the client ID and certificate that the client device uses + * to connect. + */ Aws::Crt::Optional GetMqttCredential() noexcept { if (m_chosenMember == TAG_MQTT_CREDENTIAL) @@ -1245,8 +1620,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(CredentialDocument *) noexcept; - /* This needs to be defined so that `CredentialDocument` can be used as a key - * in maps. */ + /* This needs to be defined so that `CredentialDocument` can be used as a key in maps. */ bool operator<(const CredentialDocument &) const noexcept; static const char *MODEL_NAME; @@ -1272,7 +1646,9 @@ namespace Aws public: InvalidArgumentsError() noexcept {} InvalidArgumentsError(const InvalidArgumentsError &) = default; + void SetMessage(const Aws::Crt::String &message) noexcept { m_message = message; } + Aws::Crt::Optional GetMessage() noexcept override { return m_message; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(InvalidArgumentsError &, const Aws::Crt::JsonView &) noexcept; @@ -1280,8 +1656,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(InvalidArgumentsError *) noexcept; - /* This needs to be defined so that `InvalidArgumentsError` can be used as a - * key in maps. */ + /* This needs to be defined so that `InvalidArgumentsError` can be used as a key in maps. */ bool operator<(const InvalidArgumentsError &) const noexcept; static const char *MODEL_NAME; @@ -1297,9 +1672,13 @@ namespace Aws public: ServiceError() noexcept {} ServiceError(const ServiceError &) = default; + void SetMessage(const Aws::Crt::String &message) noexcept { m_message = message; } + Aws::Crt::Optional GetMessage() noexcept override { return m_message; } + void SetContext(const Aws::Crt::JsonObject &context) noexcept { m_context = context; } + Aws::Crt::Optional GetContext() noexcept { return m_context; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(ServiceError &, const Aws::Crt::JsonView &) noexcept; @@ -1307,8 +1686,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(ServiceError *) noexcept; - /* This needs to be defined so that `ServiceError` can be used as a key in - * maps. */ + /* This needs to be defined so that `ServiceError` can be used as a key in maps. */ bool operator<(const ServiceError &) const noexcept; static const char *MODEL_NAME; @@ -1325,7 +1703,9 @@ namespace Aws public: UnauthorizedError() noexcept {} UnauthorizedError(const UnauthorizedError &) = default; + void SetMessage(const Aws::Crt::String &message) noexcept { m_message = message; } + Aws::Crt::Optional GetMessage() noexcept override { return m_message; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(UnauthorizedError &, const Aws::Crt::JsonView &) noexcept; @@ -1333,8 +1713,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(UnauthorizedError *) noexcept; - /* This needs to be defined so that `UnauthorizedError` can be used as a key - * in maps. */ + /* This needs to be defined so that `UnauthorizedError` can be used as a key in maps. */ bool operator<(const UnauthorizedError &) const noexcept; static const char *MODEL_NAME; @@ -1350,10 +1729,16 @@ namespace Aws public: VerifyClientDeviceIdentityResponse() noexcept {} VerifyClientDeviceIdentityResponse(const VerifyClientDeviceIdentityResponse &) = default; + /** + * Whether the client device's identity is valid. + */ void SetIsValidClientDevice(const bool &isValidClientDevice) noexcept { m_isValidClientDevice = isValidClientDevice; } + /** + * Whether the client device's identity is valid. + */ Aws::Crt::Optional GetIsValidClientDevice() noexcept { return m_isValidClientDevice; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(VerifyClientDeviceIdentityResponse &, const Aws::Crt::JsonView &) noexcept; @@ -1361,8 +1746,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(VerifyClientDeviceIdentityResponse *) noexcept; - /* This needs to be defined so that `VerifyClientDeviceIdentityResponse` can - * be used as a key in maps. */ + /* This needs to be defined so that `VerifyClientDeviceIdentityResponse` can be used as a key in maps. */ bool operator<(const VerifyClientDeviceIdentityResponse &) const noexcept; static const char *MODEL_NAME; @@ -1378,7 +1762,13 @@ namespace Aws public: VerifyClientDeviceIdentityRequest() noexcept {} VerifyClientDeviceIdentityRequest(const VerifyClientDeviceIdentityRequest &) = default; + /** + * The client device's credentials. + */ void SetCredential(const ClientDeviceCredential &credential) noexcept { m_credential = credential; } + /** + * The client device's credentials. + */ Aws::Crt::Optional GetCredential() noexcept { return m_credential; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(VerifyClientDeviceIdentityRequest &, const Aws::Crt::JsonView &) noexcept; @@ -1386,8 +1776,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(VerifyClientDeviceIdentityRequest *) noexcept; - /* This needs to be defined so that `VerifyClientDeviceIdentityRequest` can be - * used as a key in maps. */ + /* This needs to be defined so that `VerifyClientDeviceIdentityRequest` can be used as a key in maps. */ bool operator<(const VerifyClientDeviceIdentityRequest &) const noexcept; static const char *MODEL_NAME; @@ -1403,7 +1792,9 @@ namespace Aws public: InvalidTokenError() noexcept {} InvalidTokenError(const InvalidTokenError &) = default; + void SetMessage(const Aws::Crt::String &message) noexcept { m_message = message; } + Aws::Crt::Optional GetMessage() noexcept override { return m_message; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(InvalidTokenError &, const Aws::Crt::JsonView &) noexcept; @@ -1411,8 +1802,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(InvalidTokenError *) noexcept; - /* This needs to be defined so that `InvalidTokenError` can be used as a key - * in maps. */ + /* This needs to be defined so that `InvalidTokenError` can be used as a key in maps. */ bool operator<(const InvalidTokenError &) const noexcept; static const char *MODEL_NAME; @@ -1428,7 +1818,9 @@ namespace Aws public: ValidateAuthorizationTokenResponse() noexcept {} ValidateAuthorizationTokenResponse(const ValidateAuthorizationTokenResponse &) = default; + void SetIsValid(const bool &isValid) noexcept { m_isValid = isValid; } + Aws::Crt::Optional GetIsValid() noexcept { return m_isValid; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(ValidateAuthorizationTokenResponse &, const Aws::Crt::JsonView &) noexcept; @@ -1436,8 +1828,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(ValidateAuthorizationTokenResponse *) noexcept; - /* This needs to be defined so that `ValidateAuthorizationTokenResponse` can - * be used as a key in maps. */ + /* This needs to be defined so that `ValidateAuthorizationTokenResponse` can be used as a key in maps. */ bool operator<(const ValidateAuthorizationTokenResponse &) const noexcept; static const char *MODEL_NAME; @@ -1453,7 +1844,9 @@ namespace Aws public: ValidateAuthorizationTokenRequest() noexcept {} ValidateAuthorizationTokenRequest(const ValidateAuthorizationTokenRequest &) = default; + void SetToken(const Aws::Crt::String &token) noexcept { m_token = token; } + Aws::Crt::Optional GetToken() noexcept { return m_token; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(ValidateAuthorizationTokenRequest &, const Aws::Crt::JsonView &) noexcept; @@ -1461,8 +1854,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(ValidateAuthorizationTokenRequest *) noexcept; - /* This needs to be defined so that `ValidateAuthorizationTokenRequest` can be - * used as a key in maps. */ + /* This needs to be defined so that `ValidateAuthorizationTokenRequest` can be used as a key in maps. */ bool operator<(const ValidateAuthorizationTokenRequest &) const noexcept; static const char *MODEL_NAME; @@ -1478,7 +1870,9 @@ namespace Aws public: ConflictError() noexcept {} ConflictError(const ConflictError &) = default; + void SetMessage(const Aws::Crt::String &message) noexcept { m_message = message; } + Aws::Crt::Optional GetMessage() noexcept override { return m_message; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(ConflictError &, const Aws::Crt::JsonView &) noexcept; @@ -1486,8 +1880,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(ConflictError *) noexcept; - /* This needs to be defined so that `ConflictError` can be used as a key in - * maps. */ + /* This needs to be defined so that `ConflictError` can be used as a key in maps. */ bool operator<(const ConflictError &) const noexcept; static const char *MODEL_NAME; @@ -1503,7 +1896,13 @@ namespace Aws public: UpdateThingShadowResponse() noexcept {} UpdateThingShadowResponse(const UpdateThingShadowResponse &) = default; + /** + * The response state document as a JSON encoded blob. + */ void SetPayload(const Aws::Crt::Vector &payload) noexcept { m_payload = payload; } + /** + * The response state document as a JSON encoded blob. + */ Aws::Crt::Optional> GetPayload() noexcept { return m_payload; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(UpdateThingShadowResponse &, const Aws::Crt::JsonView &) noexcept; @@ -1511,8 +1910,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(UpdateThingShadowResponse *) noexcept; - /* This needs to be defined so that `UpdateThingShadowResponse` can be used as - * a key in maps. */ + /* This needs to be defined so that `UpdateThingShadowResponse` can be used as a key in maps. */ bool operator<(const UpdateThingShadowResponse &) const noexcept; static const char *MODEL_NAME; @@ -1528,11 +1926,31 @@ namespace Aws public: UpdateThingShadowRequest() noexcept {} UpdateThingShadowRequest(const UpdateThingShadowRequest &) = default; + /** + * The name of the thing. + */ void SetThingName(const Aws::Crt::String &thingName) noexcept { m_thingName = thingName; } + /** + * The name of the thing. + */ Aws::Crt::Optional GetThingName() noexcept { return m_thingName; } + /** + * The name of the shadow. To specify the thing's classic shadow, set this parameter to an empty string + * (""). + */ void SetShadowName(const Aws::Crt::String &shadowName) noexcept { m_shadowName = shadowName; } + /** + * The name of the shadow. To specify the thing's classic shadow, set this parameter to an empty string + * (""). + */ Aws::Crt::Optional GetShadowName() noexcept { return m_shadowName; } + /** + * The request state document as a JSON encoded blob. + */ void SetPayload(const Aws::Crt::Vector &payload) noexcept { m_payload = payload; } + /** + * The request state document as a JSON encoded blob. + */ Aws::Crt::Optional> GetPayload() noexcept { return m_payload; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(UpdateThingShadowRequest &, const Aws::Crt::JsonView &) noexcept; @@ -1540,8 +1958,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(UpdateThingShadowRequest *) noexcept; - /* This needs to be defined so that `UpdateThingShadowRequest` can be used as - * a key in maps. */ + /* This needs to be defined so that `UpdateThingShadowRequest` can be used as a key in maps. */ bool operator<(const UpdateThingShadowRequest &) const noexcept; static const char *MODEL_NAME; @@ -1559,11 +1976,17 @@ namespace Aws public: ResourceNotFoundError() noexcept {} ResourceNotFoundError(const ResourceNotFoundError &) = default; + void SetMessage(const Aws::Crt::String &message) noexcept { m_message = message; } + Aws::Crt::Optional GetMessage() noexcept override { return m_message; } + void SetResourceType(const Aws::Crt::String &resourceType) noexcept { m_resourceType = resourceType; } + Aws::Crt::Optional GetResourceType() noexcept { return m_resourceType; } + void SetResourceName(const Aws::Crt::String &resourceName) noexcept { m_resourceName = resourceName; } + Aws::Crt::Optional GetResourceName() noexcept { return m_resourceName; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(ResourceNotFoundError &, const Aws::Crt::JsonView &) noexcept; @@ -1571,8 +1994,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(ResourceNotFoundError *) noexcept; - /* This needs to be defined so that `ResourceNotFoundError` can be used as a - * key in maps. */ + /* This needs to be defined so that `ResourceNotFoundError` can be used as a key in maps. */ bool operator<(const ResourceNotFoundError &) const noexcept; static const char *MODEL_NAME; @@ -1596,8 +2018,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(UpdateStateResponse *) noexcept; - /* This needs to be defined so that `UpdateStateResponse` can be used as a key - * in maps. */ + /* This needs to be defined so that `UpdateStateResponse` can be used as a key in maps. */ bool operator<(const UpdateStateResponse &) const noexcept; static const char *MODEL_NAME; @@ -1612,7 +2033,13 @@ namespace Aws public: UpdateStateRequest() noexcept {} UpdateStateRequest(const UpdateStateRequest &) = default; + /** + * The state to set this component to. + */ void SetState(ReportedLifecycleState state) noexcept; + /** + * The state to set this component to. + */ Aws::Crt::Optional GetState() noexcept; void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(UpdateStateRequest &, const Aws::Crt::JsonView &) noexcept; @@ -1620,8 +2047,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(UpdateStateRequest *) noexcept; - /* This needs to be defined so that `UpdateStateRequest` can be used as a key - * in maps. */ + /* This needs to be defined so that `UpdateStateRequest` can be used as a key in maps. */ bool operator<(const UpdateStateRequest &) const noexcept; static const char *MODEL_NAME; @@ -1637,7 +2063,9 @@ namespace Aws public: FailedUpdateConditionCheckError() noexcept {} FailedUpdateConditionCheckError(const FailedUpdateConditionCheckError &) = default; + void SetMessage(const Aws::Crt::String &message) noexcept { m_message = message; } + Aws::Crt::Optional GetMessage() noexcept override { return m_message; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(FailedUpdateConditionCheckError &, const Aws::Crt::JsonView &) noexcept; @@ -1645,8 +2073,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(FailedUpdateConditionCheckError *) noexcept; - /* This needs to be defined so that `FailedUpdateConditionCheckError` can be - * used as a key in maps. */ + /* This needs to be defined so that `FailedUpdateConditionCheckError` can be used as a key in maps. */ bool operator<(const FailedUpdateConditionCheckError &) const noexcept; static const char *MODEL_NAME; @@ -1668,8 +2095,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(UpdateConfigurationResponse *) noexcept; - /* This needs to be defined so that `UpdateConfigurationResponse` can be used - * as a key in maps. */ + /* This needs to be defined so that `UpdateConfigurationResponse` can be used as a key in maps. */ bool operator<(const UpdateConfigurationResponse &) const noexcept; static const char *MODEL_NAME; @@ -1684,11 +2110,35 @@ namespace Aws public: UpdateConfigurationRequest() noexcept {} UpdateConfigurationRequest(const UpdateConfigurationRequest &) = default; + /** + * (Optional) The key path to the container node (the object) to update. Specify a list where each entry is + * the key for a single level in the configuration object. Defaults to the root of the configuration object. + */ void SetKeyPath(const Aws::Crt::Vector &keyPath) noexcept { m_keyPath = keyPath; } + /** + * (Optional) The key path to the container node (the object) to update. Specify a list where each entry is + * the key for a single level in the configuration object. Defaults to the root of the configuration object. + */ Aws::Crt::Optional> GetKeyPath() noexcept { return m_keyPath; } + /** + * The current Unix epoch time in milliseconds. This operation uses this timestamp to resolve concurrent + * updates to the key. If the key in the component configuration has a greater timestamp than the timestamp + * in the request, then the request fails. + */ void SetTimestamp(const Aws::Crt::DateTime ×tamp) noexcept { m_timestamp = timestamp; } + /** + * The current Unix epoch time in milliseconds. This operation uses this timestamp to resolve concurrent + * updates to the key. If the key in the component configuration has a greater timestamp than the timestamp + * in the request, then the request fails. + */ Aws::Crt::Optional GetTimestamp() noexcept { return m_timestamp; } + /** + * The configuration object to merge at the location that you specify in keyPath. + */ void SetValueToMerge(const Aws::Crt::JsonObject &valueToMerge) noexcept { m_valueToMerge = valueToMerge; } + /** + * The configuration object to merge at the location that you specify in keyPath. + */ Aws::Crt::Optional GetValueToMerge() noexcept { return m_valueToMerge; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(UpdateConfigurationRequest &, const Aws::Crt::JsonView &) noexcept; @@ -1696,8 +2146,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(UpdateConfigurationRequest *) noexcept; - /* This needs to be defined so that `UpdateConfigurationRequest` can be used - * as a key in maps. */ + /* This needs to be defined so that `UpdateConfigurationRequest` can be used as a key in maps. */ bool operator<(const UpdateConfigurationRequest &) const noexcept; static const char *MODEL_NAME; @@ -1724,9 +2173,8 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(SubscribeToValidateConfigurationUpdatesResponse *) noexcept; - /* This needs to be defined so that - * `SubscribeToValidateConfigurationUpdatesResponse` can be used as a key in - * maps. */ + /* This needs to be defined so that `SubscribeToValidateConfigurationUpdatesResponse` can be used as a key + * in maps. */ bool operator<(const SubscribeToValidateConfigurationUpdatesResponse &) const noexcept; static const char *MODEL_NAME; @@ -1750,8 +2198,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(SubscribeToValidateConfigurationUpdatesRequest *) noexcept; - /* This needs to be defined so that - * `SubscribeToValidateConfigurationUpdatesRequest` can be used as a key in + /* This needs to be defined so that `SubscribeToValidateConfigurationUpdatesRequest` can be used as a key in * maps. */ bool operator<(const SubscribeToValidateConfigurationUpdatesRequest &) const noexcept; static const char *MODEL_NAME; @@ -1767,9 +2214,13 @@ namespace Aws public: SubscribeToTopicResponse() noexcept {} SubscribeToTopicResponse(const SubscribeToTopicResponse &) = default; - /* Deprecated No longer used */ + /** + * @deprecated No longer used + */ void SetTopicName(const Aws::Crt::String &topicName) noexcept { m_topicName = topicName; } - /* Deprecated No longer used */ + /** + * @deprecated No longer used + */ Aws::Crt::Optional GetTopicName() noexcept { return m_topicName; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(SubscribeToTopicResponse &, const Aws::Crt::JsonView &) noexcept; @@ -1777,8 +2228,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(SubscribeToTopicResponse *) noexcept; - /* This needs to be defined so that `SubscribeToTopicResponse` can be used as - * a key in maps. */ + /* This needs to be defined so that `SubscribeToTopicResponse` can be used as a key in maps. */ bool operator<(const SubscribeToTopicResponse &) const noexcept; static const char *MODEL_NAME; @@ -1794,9 +2244,21 @@ namespace Aws public: SubscribeToTopicRequest() noexcept {} SubscribeToTopicRequest(const SubscribeToTopicRequest &) = default; + /** + * The topic to subscribe to. Supports MQTT-style wildcards. + */ void SetTopic(const Aws::Crt::String &topic) noexcept { m_topic = topic; } + /** + * The topic to subscribe to. Supports MQTT-style wildcards. + */ Aws::Crt::Optional GetTopic() noexcept { return m_topic; } + /** + * (Optional) The behavior that specifies whether the component receives messages from itself. + */ void SetReceiveMode(ReceiveMode receiveMode) noexcept; + /** + * (Optional) The behavior that specifies whether the component receives messages from itself. + */ Aws::Crt::Optional GetReceiveMode() noexcept; void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(SubscribeToTopicRequest &, const Aws::Crt::JsonView &) noexcept; @@ -1804,8 +2266,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(SubscribeToTopicRequest *) noexcept; - /* This needs to be defined so that `SubscribeToTopicRequest` can be used as a - * key in maps. */ + /* This needs to be defined so that `SubscribeToTopicRequest` can be used as a key in maps. */ bool operator<(const SubscribeToTopicRequest &) const noexcept; static const char *MODEL_NAME; @@ -1828,8 +2289,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(SubscribeToIoTCoreResponse *) noexcept; - /* This needs to be defined so that `SubscribeToIoTCoreResponse` can be used - * as a key in maps. */ + /* This needs to be defined so that `SubscribeToIoTCoreResponse` can be used as a key in maps. */ bool operator<(const SubscribeToIoTCoreResponse &) const noexcept; static const char *MODEL_NAME; @@ -1844,9 +2304,21 @@ namespace Aws public: SubscribeToIoTCoreRequest() noexcept {} SubscribeToIoTCoreRequest(const SubscribeToIoTCoreRequest &) = default; + /** + * The topic to which to subscribe. Supports MQTT wildcards. + */ void SetTopicName(const Aws::Crt::String &topicName) noexcept { m_topicName = topicName; } + /** + * The topic to which to subscribe. Supports MQTT wildcards. + */ Aws::Crt::Optional GetTopicName() noexcept { return m_topicName; } + /** + * The MQTT QoS to use. + */ void SetQos(QOS qos) noexcept; + /** + * The MQTT QoS to use. + */ Aws::Crt::Optional GetQos() noexcept; void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(SubscribeToIoTCoreRequest &, const Aws::Crt::JsonView &) noexcept; @@ -1854,8 +2326,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(SubscribeToIoTCoreRequest *) noexcept; - /* This needs to be defined so that `SubscribeToIoTCoreRequest` can be used as - * a key in maps. */ + /* This needs to be defined so that `SubscribeToIoTCoreRequest` can be used as a key in maps. */ bool operator<(const SubscribeToIoTCoreRequest &) const noexcept; static const char *MODEL_NAME; @@ -1880,8 +2351,8 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(SubscribeToConfigurationUpdateResponse *) noexcept; - /* This needs to be defined so that `SubscribeToConfigurationUpdateResponse` - * can be used as a key in maps. */ + /* This needs to be defined so that `SubscribeToConfigurationUpdateResponse` can be used as a key in maps. + */ bool operator<(const SubscribeToConfigurationUpdateResponse &) const noexcept; static const char *MODEL_NAME; @@ -1896,9 +2367,23 @@ namespace Aws public: SubscribeToConfigurationUpdateRequest() noexcept {} SubscribeToConfigurationUpdateRequest(const SubscribeToConfigurationUpdateRequest &) = default; + /** + * (Optional) The name of the component. Defaults to the name of the component that makes the request. + */ void SetComponentName(const Aws::Crt::String &componentName) noexcept { m_componentName = componentName; } + /** + * (Optional) The name of the component. Defaults to the name of the component that makes the request. + */ Aws::Crt::Optional GetComponentName() noexcept { return m_componentName; } + /** + * The key path to the configuration value for which to subscribe. Specify a list where each entry is the + * key for a single level in the configuration object. + */ void SetKeyPath(const Aws::Crt::Vector &keyPath) noexcept { m_keyPath = keyPath; } + /** + * The key path to the configuration value for which to subscribe. Specify a list where each entry is the + * key for a single level in the configuration object. + */ Aws::Crt::Optional> GetKeyPath() noexcept { return m_keyPath; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView( @@ -1908,8 +2393,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(SubscribeToConfigurationUpdateRequest *) noexcept; - /* This needs to be defined so that `SubscribeToConfigurationUpdateRequest` - * can be used as a key in maps. */ + /* This needs to be defined so that `SubscribeToConfigurationUpdateRequest` can be used as a key in maps. */ bool operator<(const SubscribeToConfigurationUpdateRequest &) const noexcept; static const char *MODEL_NAME; @@ -1932,8 +2416,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(SubscribeToComponentUpdatesResponse *) noexcept; - /* This needs to be defined so that `SubscribeToComponentUpdatesResponse` can - * be used as a key in maps. */ + /* This needs to be defined so that `SubscribeToComponentUpdatesResponse` can be used as a key in maps. */ bool operator<(const SubscribeToComponentUpdatesResponse &) const noexcept; static const char *MODEL_NAME; @@ -1954,8 +2437,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(SubscribeToComponentUpdatesRequest *) noexcept; - /* This needs to be defined so that `SubscribeToComponentUpdatesRequest` can - * be used as a key in maps. */ + /* This needs to be defined so that `SubscribeToComponentUpdatesRequest` can be used as a key in maps. */ bool operator<(const SubscribeToComponentUpdatesRequest &) const noexcept; static const char *MODEL_NAME; @@ -1978,8 +2460,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(SubscribeToCertificateUpdatesResponse *) noexcept; - /* This needs to be defined so that `SubscribeToCertificateUpdatesResponse` - * can be used as a key in maps. */ + /* This needs to be defined so that `SubscribeToCertificateUpdatesResponse` can be used as a key in maps. */ bool operator<(const SubscribeToCertificateUpdatesResponse &) const noexcept; static const char *MODEL_NAME; @@ -1994,10 +2475,12 @@ namespace Aws public: SubscribeToCertificateUpdatesRequest() noexcept {} SubscribeToCertificateUpdatesRequest(const SubscribeToCertificateUpdatesRequest &) = default; + void SetCertificateOptions(const CertificateOptions &certificateOptions) noexcept { m_certificateOptions = certificateOptions; } + Aws::Crt::Optional GetCertificateOptions() noexcept { return m_certificateOptions; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(SubscribeToCertificateUpdatesRequest &, const Aws::Crt::JsonView &) noexcept; @@ -2005,8 +2488,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(SubscribeToCertificateUpdatesRequest *) noexcept; - /* This needs to be defined so that `SubscribeToCertificateUpdatesRequest` can - * be used as a key in maps. */ + /* This needs to be defined so that `SubscribeToCertificateUpdatesRequest` can be used as a key in maps. */ bool operator<(const SubscribeToCertificateUpdatesRequest &) const noexcept; static const char *MODEL_NAME; @@ -2022,7 +2504,9 @@ namespace Aws public: ComponentNotFoundError() noexcept {} ComponentNotFoundError(const ComponentNotFoundError &) = default; + void SetMessage(const Aws::Crt::String &message) noexcept { m_message = message; } + Aws::Crt::Optional GetMessage() noexcept override { return m_message; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(ComponentNotFoundError &, const Aws::Crt::JsonView &) noexcept; @@ -2030,8 +2514,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(ComponentNotFoundError *) noexcept; - /* This needs to be defined so that `ComponentNotFoundError` can be used as a - * key in maps. */ + /* This needs to be defined so that `ComponentNotFoundError` can be used as a key in maps. */ bool operator<(const ComponentNotFoundError &) const noexcept; static const char *MODEL_NAME; @@ -2047,9 +2530,21 @@ namespace Aws public: StopComponentResponse() noexcept {} StopComponentResponse(const StopComponentResponse &) = default; + /** + * The status of the stop request. + */ void SetStopStatus(RequestStatus stopStatus) noexcept; + /** + * The status of the stop request. + */ Aws::Crt::Optional GetStopStatus() noexcept; + /** + * A message about why the component failed to stop, if the request failed. + */ void SetMessage(const Aws::Crt::String &message) noexcept { m_message = message; } + /** + * A message about why the component failed to stop, if the request failed. + */ Aws::Crt::Optional GetMessage() noexcept { return m_message; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(StopComponentResponse &, const Aws::Crt::JsonView &) noexcept; @@ -2057,8 +2552,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(StopComponentResponse *) noexcept; - /* This needs to be defined so that `StopComponentResponse` can be used as a - * key in maps. */ + /* This needs to be defined so that `StopComponentResponse` can be used as a key in maps. */ bool operator<(const StopComponentResponse &) const noexcept; static const char *MODEL_NAME; @@ -2075,7 +2569,13 @@ namespace Aws public: StopComponentRequest() noexcept {} StopComponentRequest(const StopComponentRequest &) = default; + /** + * The name of the component. + */ void SetComponentName(const Aws::Crt::String &componentName) noexcept { m_componentName = componentName; } + /** + * The name of the component. + */ Aws::Crt::Optional GetComponentName() noexcept { return m_componentName; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(StopComponentRequest &, const Aws::Crt::JsonView &) noexcept; @@ -2083,8 +2583,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(StopComponentRequest *) noexcept; - /* This needs to be defined so that `StopComponentRequest` can be used as a - * key in maps. */ + /* This needs to be defined so that `StopComponentRequest` can be used as a key in maps. */ bool operator<(const StopComponentRequest &) const noexcept; static const char *MODEL_NAME; @@ -2108,8 +2607,8 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(SendConfigurationValidityReportResponse *) noexcept; - /* This needs to be defined so that `SendConfigurationValidityReportResponse` - * can be used as a key in maps. */ + /* This needs to be defined so that `SendConfigurationValidityReportResponse` can be used as a key in maps. + */ bool operator<(const SendConfigurationValidityReportResponse &) const noexcept; static const char *MODEL_NAME; @@ -2124,10 +2623,16 @@ namespace Aws public: SendConfigurationValidityReportRequest() noexcept {} SendConfigurationValidityReportRequest(const SendConfigurationValidityReportRequest &) = default; + /** + * The report that tells Greengrass whether or not the configuration update is valid. + */ void SetConfigurationValidityReport(const ConfigurationValidityReport &configurationValidityReport) noexcept { m_configurationValidityReport = configurationValidityReport; } + /** + * The report that tells Greengrass whether or not the configuration update is valid. + */ Aws::Crt::Optional GetConfigurationValidityReport() noexcept { return m_configurationValidityReport; @@ -2140,8 +2645,8 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(SendConfigurationValidityReportRequest *) noexcept; - /* This needs to be defined so that `SendConfigurationValidityReportRequest` - * can be used as a key in maps. */ + /* This needs to be defined so that `SendConfigurationValidityReportRequest` can be used as a key in maps. + */ bool operator<(const SendConfigurationValidityReportRequest &) const noexcept; static const char *MODEL_NAME; @@ -2163,8 +2668,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(ResumeComponentResponse *) noexcept; - /* This needs to be defined so that `ResumeComponentResponse` can be used as a - * key in maps. */ + /* This needs to be defined so that `ResumeComponentResponse` can be used as a key in maps. */ bool operator<(const ResumeComponentResponse &) const noexcept; static const char *MODEL_NAME; @@ -2179,7 +2683,13 @@ namespace Aws public: ResumeComponentRequest() noexcept {} ResumeComponentRequest(const ResumeComponentRequest &) = default; + /** + * The name of the component to resume. + */ void SetComponentName(const Aws::Crt::String &componentName) noexcept { m_componentName = componentName; } + /** + * The name of the component to resume. + */ Aws::Crt::Optional GetComponentName() noexcept { return m_componentName; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(ResumeComponentRequest &, const Aws::Crt::JsonView &) noexcept; @@ -2187,8 +2697,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(ResumeComponentRequest *) noexcept; - /* This needs to be defined so that `ResumeComponentRequest` can be used as a - * key in maps. */ + /* This needs to be defined so that `ResumeComponentRequest` can be used as a key in maps. */ bool operator<(const ResumeComponentRequest &) const noexcept; static const char *MODEL_NAME; @@ -2204,9 +2713,21 @@ namespace Aws public: RestartComponentResponse() noexcept {} RestartComponentResponse(const RestartComponentResponse &) = default; + /** + * The status of the restart request. + */ void SetRestartStatus(RequestStatus restartStatus) noexcept; + /** + * The status of the restart request. + */ Aws::Crt::Optional GetRestartStatus() noexcept; + /** + * A message about why the component failed to restart, if the request failed. + */ void SetMessage(const Aws::Crt::String &message) noexcept { m_message = message; } + /** + * A message about why the component failed to restart, if the request failed. + */ Aws::Crt::Optional GetMessage() noexcept { return m_message; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(RestartComponentResponse &, const Aws::Crt::JsonView &) noexcept; @@ -2214,8 +2735,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(RestartComponentResponse *) noexcept; - /* This needs to be defined so that `RestartComponentResponse` can be used as - * a key in maps. */ + /* This needs to be defined so that `RestartComponentResponse` can be used as a key in maps. */ bool operator<(const RestartComponentResponse &) const noexcept; static const char *MODEL_NAME; @@ -2232,7 +2752,13 @@ namespace Aws public: RestartComponentRequest() noexcept {} RestartComponentRequest(const RestartComponentRequest &) = default; + /** + * The name of the component. + */ void SetComponentName(const Aws::Crt::String &componentName) noexcept { m_componentName = componentName; } + /** + * The name of the component. + */ Aws::Crt::Optional GetComponentName() noexcept { return m_componentName; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(RestartComponentRequest &, const Aws::Crt::JsonView &) noexcept; @@ -2240,8 +2766,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(RestartComponentRequest *) noexcept; - /* This needs to be defined so that `RestartComponentRequest` can be used as a - * key in maps. */ + /* This needs to be defined so that `RestartComponentRequest` can be used as a key in maps. */ bool operator<(const RestartComponentRequest &) const noexcept; static const char *MODEL_NAME; @@ -2263,8 +2788,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(PutComponentMetricResponse *) noexcept; - /* This needs to be defined so that `PutComponentMetricResponse` can be used - * as a key in maps. */ + /* This needs to be defined so that `PutComponentMetricResponse` can be used as a key in maps. */ bool operator<(const PutComponentMetricResponse &) const noexcept; static const char *MODEL_NAME; @@ -2279,7 +2803,9 @@ namespace Aws public: PutComponentMetricRequest() noexcept {} PutComponentMetricRequest(const PutComponentMetricRequest &) = default; + void SetMetrics(const Aws::Crt::Vector &metrics) noexcept { m_metrics = metrics; } + Aws::Crt::Optional> GetMetrics() noexcept { return m_metrics; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(PutComponentMetricRequest &, const Aws::Crt::JsonView &) noexcept; @@ -2287,8 +2813,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(PutComponentMetricRequest *) noexcept; - /* This needs to be defined so that `PutComponentMetricRequest` can be used as - * a key in maps. */ + /* This needs to be defined so that `PutComponentMetricRequest` can be used as a key in maps. */ bool operator<(const PutComponentMetricRequest &) const noexcept; static const char *MODEL_NAME; @@ -2310,8 +2835,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(PublishToTopicResponse *) noexcept; - /* This needs to be defined so that `PublishToTopicResponse` can be used as a - * key in maps. */ + /* This needs to be defined so that `PublishToTopicResponse` can be used as a key in maps. */ bool operator<(const PublishToTopicResponse &) const noexcept; static const char *MODEL_NAME; @@ -2326,9 +2850,21 @@ namespace Aws public: PublishToTopicRequest() noexcept {} PublishToTopicRequest(const PublishToTopicRequest &) = default; + /** + * The topic to publish the message. + */ void SetTopic(const Aws::Crt::String &topic) noexcept { m_topic = topic; } + /** + * The topic to publish the message. + */ Aws::Crt::Optional GetTopic() noexcept { return m_topic; } + /** + * The message to publish. + */ void SetPublishMessage(const PublishMessage &publishMessage) noexcept { m_publishMessage = publishMessage; } + /** + * The message to publish. + */ Aws::Crt::Optional GetPublishMessage() noexcept { return m_publishMessage; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(PublishToTopicRequest &, const Aws::Crt::JsonView &) noexcept; @@ -2336,8 +2872,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(PublishToTopicRequest *) noexcept; - /* This needs to be defined so that `PublishToTopicRequest` can be used as a - * key in maps. */ + /* This needs to be defined so that `PublishToTopicRequest` can be used as a key in maps. */ bool operator<(const PublishToTopicRequest &) const noexcept; static const char *MODEL_NAME; @@ -2360,8 +2895,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(PublishToIoTCoreResponse *) noexcept; - /* This needs to be defined so that `PublishToIoTCoreResponse` can be used as - * a key in maps. */ + /* This needs to be defined so that `PublishToIoTCoreResponse` can be used as a key in maps. */ bool operator<(const PublishToIoTCoreResponse &) const noexcept; static const char *MODEL_NAME; @@ -2376,37 +2910,97 @@ namespace Aws public: PublishToIoTCoreRequest() noexcept {} PublishToIoTCoreRequest(const PublishToIoTCoreRequest &) = default; + /** + * The topic to which to publish the message. + */ void SetTopicName(const Aws::Crt::String &topicName) noexcept { m_topicName = topicName; } + /** + * The topic to which to publish the message. + */ Aws::Crt::Optional GetTopicName() noexcept { return m_topicName; } + /** + * The MQTT QoS to use. + */ void SetQos(QOS qos) noexcept; + /** + * The MQTT QoS to use. + */ Aws::Crt::Optional GetQos() noexcept; + /** + * (Optional) The message payload as a blob. + */ void SetPayload(const Aws::Crt::Vector &payload) noexcept { m_payload = payload; } + /** + * (Optional) The message payload as a blob. + */ Aws::Crt::Optional> GetPayload() noexcept { return m_payload; } + /** + * (Optional) Whether to set MQTT retain option to true when publishing. + */ void SetRetain(const bool &retain) noexcept { m_retain = retain; } + /** + * (Optional) Whether to set MQTT retain option to true when publishing. + */ Aws::Crt::Optional GetRetain() noexcept { return m_retain; } + /** + * (Optional) MQTT user properties associated with the message. + */ void SetUserProperties(const Aws::Crt::Vector &userProperties) noexcept { m_userProperties = userProperties; } + /** + * (Optional) MQTT user properties associated with the message. + */ Aws::Crt::Optional> GetUserProperties() noexcept { return m_userProperties; } + /** + * (Optional) Message expiry interval in seconds. + */ void SetMessageExpiryIntervalSeconds(const int64_t &messageExpiryIntervalSeconds) noexcept { m_messageExpiryIntervalSeconds = messageExpiryIntervalSeconds; } + /** + * (Optional) Message expiry interval in seconds. + */ Aws::Crt::Optional GetMessageExpiryIntervalSeconds() noexcept { return m_messageExpiryIntervalSeconds; } + /** + * (Optional) Correlation data blob for request/response. + */ void SetCorrelationData(const Aws::Crt::Vector &correlationData) noexcept { m_correlationData = correlationData; } + /** + * (Optional) Correlation data blob for request/response. + */ Aws::Crt::Optional> GetCorrelationData() noexcept { return m_correlationData; } + /** + * (Optional) Response topic for request/response. + */ void SetResponseTopic(const Aws::Crt::String &responseTopic) noexcept { m_responseTopic = responseTopic; } + /** + * (Optional) Response topic for request/response. + */ Aws::Crt::Optional GetResponseTopic() noexcept { return m_responseTopic; } + /** + * (Optional) Message payload format. + */ void SetPayloadFormat(PayloadFormat payloadFormat) noexcept; + /** + * (Optional) Message payload format. + */ Aws::Crt::Optional GetPayloadFormat() noexcept; + /** + * (Optional) Message content type. + */ void SetContentType(const Aws::Crt::String &contentType) noexcept { m_contentType = contentType; } + /** + * (Optional) Message content type. + */ Aws::Crt::Optional GetContentType() noexcept { return m_contentType; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(PublishToIoTCoreRequest &, const Aws::Crt::JsonView &) noexcept; @@ -2414,8 +3008,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(PublishToIoTCoreRequest *) noexcept; - /* This needs to be defined so that `PublishToIoTCoreRequest` can be used as a - * key in maps. */ + /* This needs to be defined so that `PublishToIoTCoreRequest` can be used as a key in maps. */ bool operator<(const PublishToIoTCoreRequest &) const noexcept; static const char *MODEL_NAME; @@ -2446,8 +3039,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(PauseComponentResponse *) noexcept; - /* This needs to be defined so that `PauseComponentResponse` can be used as a - * key in maps. */ + /* This needs to be defined so that `PauseComponentResponse` can be used as a key in maps. */ bool operator<(const PauseComponentResponse &) const noexcept; static const char *MODEL_NAME; @@ -2462,7 +3054,13 @@ namespace Aws public: PauseComponentRequest() noexcept {} PauseComponentRequest(const PauseComponentRequest &) = default; + /** + * The name of the component to pause, which must be a generic component. + */ void SetComponentName(const Aws::Crt::String &componentName) noexcept { m_componentName = componentName; } + /** + * The name of the component to pause, which must be a generic component. + */ Aws::Crt::Optional GetComponentName() noexcept { return m_componentName; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(PauseComponentRequest &, const Aws::Crt::JsonView &) noexcept; @@ -2470,8 +3068,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(PauseComponentRequest *) noexcept; - /* This needs to be defined so that `PauseComponentRequest` can be used as a - * key in maps. */ + /* This needs to be defined so that `PauseComponentRequest` can be used as a key in maps. */ bool operator<(const PauseComponentRequest &) const noexcept; static const char *MODEL_NAME; @@ -2487,11 +3084,31 @@ namespace Aws public: ListNamedShadowsForThingResponse() noexcept {} ListNamedShadowsForThingResponse(const ListNamedShadowsForThingResponse &) = default; + /** + * The list of shadow names. + */ void SetResults(const Aws::Crt::Vector &results) noexcept { m_results = results; } + /** + * The list of shadow names. + */ Aws::Crt::Optional> GetResults() noexcept { return m_results; } + /** + * (Optional) The date and time that the response was generated. + */ void SetTimestamp(const Aws::Crt::DateTime ×tamp) noexcept { m_timestamp = timestamp; } + /** + * (Optional) The date and time that the response was generated. + */ Aws::Crt::Optional GetTimestamp() noexcept { return m_timestamp; } + /** + * (Optional) The token value to use in paged requests to retrieve the next page in the sequence. This token + * isn't present when there are no more shadow names to return. + */ void SetNextToken(const Aws::Crt::String &nextToken) noexcept { m_nextToken = nextToken; } + /** + * (Optional) The token value to use in paged requests to retrieve the next page in the sequence. This token + * isn't present when there are no more shadow names to return. + */ Aws::Crt::Optional GetNextToken() noexcept { return m_nextToken; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(ListNamedShadowsForThingResponse &, const Aws::Crt::JsonView &) noexcept; @@ -2499,8 +3116,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(ListNamedShadowsForThingResponse *) noexcept; - /* This needs to be defined so that `ListNamedShadowsForThingResponse` can be - * used as a key in maps. */ + /* This needs to be defined so that `ListNamedShadowsForThingResponse` can be used as a key in maps. */ bool operator<(const ListNamedShadowsForThingResponse &) const noexcept; static const char *MODEL_NAME; @@ -2518,11 +3134,33 @@ namespace Aws public: ListNamedShadowsForThingRequest() noexcept {} ListNamedShadowsForThingRequest(const ListNamedShadowsForThingRequest &) = default; + /** + * The name of the thing. + */ void SetThingName(const Aws::Crt::String &thingName) noexcept { m_thingName = thingName; } + /** + * The name of the thing. + */ Aws::Crt::Optional GetThingName() noexcept { return m_thingName; } + /** + * (Optional) The token to retrieve the next set of results. This value is returned on paged results and is + * used in the call that returns the next page. + */ void SetNextToken(const Aws::Crt::String &nextToken) noexcept { m_nextToken = nextToken; } + /** + * (Optional) The token to retrieve the next set of results. This value is returned on paged results and is + * used in the call that returns the next page. + */ Aws::Crt::Optional GetNextToken() noexcept { return m_nextToken; } + /** + * (Optional) The number of shadow names to return in each call. Value must be between 1 and 100. Default + * is 25. + */ void SetPageSize(const int &pageSize) noexcept { m_pageSize = pageSize; } + /** + * (Optional) The number of shadow names to return in each call. Value must be between 1 and 100. Default + * is 25. + */ Aws::Crt::Optional GetPageSize() noexcept { return m_pageSize; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(ListNamedShadowsForThingRequest &, const Aws::Crt::JsonView &) noexcept; @@ -2530,8 +3168,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(ListNamedShadowsForThingRequest *) noexcept; - /* This needs to be defined so that `ListNamedShadowsForThingRequest` can be - * used as a key in maps. */ + /* This needs to be defined so that `ListNamedShadowsForThingRequest` can be used as a key in maps. */ bool operator<(const ListNamedShadowsForThingRequest &) const noexcept; static const char *MODEL_NAME; @@ -2549,10 +3186,16 @@ namespace Aws public: ListLocalDeploymentsResponse() noexcept {} ListLocalDeploymentsResponse(const ListLocalDeploymentsResponse &) = default; + /** + * The list of local deployments. + */ void SetLocalDeployments(const Aws::Crt::Vector &localDeployments) noexcept { m_localDeployments = localDeployments; } + /** + * The list of local deployments. + */ Aws::Crt::Optional> GetLocalDeployments() noexcept { return m_localDeployments; @@ -2563,8 +3206,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(ListLocalDeploymentsResponse *) noexcept; - /* This needs to be defined so that `ListLocalDeploymentsResponse` can be used - * as a key in maps. */ + /* This needs to be defined so that `ListLocalDeploymentsResponse` can be used as a key in maps. */ bool operator<(const ListLocalDeploymentsResponse &) const noexcept; static const char *MODEL_NAME; @@ -2586,8 +3228,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(ListLocalDeploymentsRequest *) noexcept; - /* This needs to be defined so that `ListLocalDeploymentsRequest` can be used - * as a key in maps. */ + /* This needs to be defined so that `ListLocalDeploymentsRequest` can be used as a key in maps. */ bool operator<(const ListLocalDeploymentsRequest &) const noexcept; static const char *MODEL_NAME; @@ -2602,10 +3243,16 @@ namespace Aws public: ListComponentsResponse() noexcept {} ListComponentsResponse(const ListComponentsResponse &) = default; + /** + * The list of components. + */ void SetComponents(const Aws::Crt::Vector &components) noexcept { m_components = components; } + /** + * The list of components. + */ Aws::Crt::Optional> GetComponents() noexcept { return m_components; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(ListComponentsResponse &, const Aws::Crt::JsonView &) noexcept; @@ -2613,8 +3260,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(ListComponentsResponse *) noexcept; - /* This needs to be defined so that `ListComponentsResponse` can be used as a - * key in maps. */ + /* This needs to be defined so that `ListComponentsResponse` can be used as a key in maps. */ bool operator<(const ListComponentsResponse &) const noexcept; static const char *MODEL_NAME; @@ -2636,8 +3282,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(ListComponentsRequest *) noexcept; - /* This needs to be defined so that `ListComponentsRequest` can be used as a - * key in maps. */ + /* This needs to be defined so that `ListComponentsRequest` can be used as a key in maps. */ bool operator<(const ListComponentsRequest &) const noexcept; static const char *MODEL_NAME; @@ -2652,7 +3297,13 @@ namespace Aws public: GetThingShadowResponse() noexcept {} GetThingShadowResponse(const GetThingShadowResponse &) = default; + /** + * The response state document as a JSON encoded blob. + */ void SetPayload(const Aws::Crt::Vector &payload) noexcept { m_payload = payload; } + /** + * The response state document as a JSON encoded blob. + */ Aws::Crt::Optional> GetPayload() noexcept { return m_payload; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(GetThingShadowResponse &, const Aws::Crt::JsonView &) noexcept; @@ -2660,8 +3311,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(GetThingShadowResponse *) noexcept; - /* This needs to be defined so that `GetThingShadowResponse` can be used as a - * key in maps. */ + /* This needs to be defined so that `GetThingShadowResponse` can be used as a key in maps. */ bool operator<(const GetThingShadowResponse &) const noexcept; static const char *MODEL_NAME; @@ -2677,9 +3327,23 @@ namespace Aws public: GetThingShadowRequest() noexcept {} GetThingShadowRequest(const GetThingShadowRequest &) = default; + /** + * The name of the thing. + */ void SetThingName(const Aws::Crt::String &thingName) noexcept { m_thingName = thingName; } + /** + * The name of the thing. + */ Aws::Crt::Optional GetThingName() noexcept { return m_thingName; } + /** + * The name of the shadow. To specify the thing's classic shadow, set this parameter to an empty string + * (""). + */ void SetShadowName(const Aws::Crt::String &shadowName) noexcept { m_shadowName = shadowName; } + /** + * The name of the shadow. To specify the thing's classic shadow, set this parameter to an empty string + * (""). + */ Aws::Crt::Optional GetShadowName() noexcept { return m_shadowName; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(GetThingShadowRequest &, const Aws::Crt::JsonView &) noexcept; @@ -2687,8 +3351,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(GetThingShadowRequest *) noexcept; - /* This needs to be defined so that `GetThingShadowRequest` can be used as a - * key in maps. */ + /* This needs to be defined so that `GetThingShadowRequest` can be used as a key in maps. */ bool operator<(const GetThingShadowRequest &) const noexcept; static const char *MODEL_NAME; @@ -2705,16 +3368,40 @@ namespace Aws public: GetSecretValueResponse() noexcept {} GetSecretValueResponse(const GetSecretValueResponse &) = default; + /** + * The ID of the secret. + */ void SetSecretId(const Aws::Crt::String &secretId) noexcept { m_secretId = secretId; } + /** + * The ID of the secret. + */ Aws::Crt::Optional GetSecretId() noexcept { return m_secretId; } + /** + * The ID of this version of the secret. + */ void SetVersionId(const Aws::Crt::String &versionId) noexcept { m_versionId = versionId; } + /** + * The ID of this version of the secret. + */ Aws::Crt::Optional GetVersionId() noexcept { return m_versionId; } + /** + * The list of staging labels attached to this version of the secret. + */ void SetVersionStage(const Aws::Crt::Vector &versionStage) noexcept { m_versionStage = versionStage; } + /** + * The list of staging labels attached to this version of the secret. + */ Aws::Crt::Optional> GetVersionStage() noexcept { return m_versionStage; } + /** + * The value of this version of the secret. + */ void SetSecretValue(const SecretValue &secretValue) noexcept { m_secretValue = secretValue; } + /** + * The value of this version of the secret. + */ Aws::Crt::Optional GetSecretValue() noexcept { return m_secretValue; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(GetSecretValueResponse &, const Aws::Crt::JsonView &) noexcept; @@ -2722,8 +3409,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(GetSecretValueResponse *) noexcept; - /* This needs to be defined so that `GetSecretValueResponse` can be used as a - * key in maps. */ + /* This needs to be defined so that `GetSecretValueResponse` can be used as a key in maps. */ bool operator<(const GetSecretValueResponse &) const noexcept; static const char *MODEL_NAME; @@ -2742,11 +3428,35 @@ namespace Aws public: GetSecretValueRequest() noexcept {} GetSecretValueRequest(const GetSecretValueRequest &) = default; + /** + * The name of the secret to get. You can specify either the Amazon Resource Name (ARN) or the friendly name + * of the secret. + */ void SetSecretId(const Aws::Crt::String &secretId) noexcept { m_secretId = secretId; } + /** + * The name of the secret to get. You can specify either the Amazon Resource Name (ARN) or the friendly name + * of the secret. + */ Aws::Crt::Optional GetSecretId() noexcept { return m_secretId; } + /** + * (Optional) The ID of the version to get. If you don't specify versionId or versionStage, this operation + * defaults to the version with the AWSCURRENT label. + */ void SetVersionId(const Aws::Crt::String &versionId) noexcept { m_versionId = versionId; } + /** + * (Optional) The ID of the version to get. If you don't specify versionId or versionStage, this operation + * defaults to the version with the AWSCURRENT label. + */ Aws::Crt::Optional GetVersionId() noexcept { return m_versionId; } + /** + * (Optional) The staging label of the version to get. If you don't specify versionId or versionStage, this + * operation defaults to the version with the AWSCURRENT label. + */ void SetVersionStage(const Aws::Crt::String &versionStage) noexcept { m_versionStage = versionStage; } + /** + * (Optional) The staging label of the version to get. If you don't specify versionId or versionStage, this + * operation defaults to the version with the AWSCURRENT label. + */ Aws::Crt::Optional GetVersionStage() noexcept { return m_versionStage; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(GetSecretValueRequest &, const Aws::Crt::JsonView &) noexcept; @@ -2754,8 +3464,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(GetSecretValueRequest *) noexcept; - /* This needs to be defined so that `GetSecretValueRequest` can be used as a - * key in maps. */ + /* This needs to be defined so that `GetSecretValueRequest` can be used as a key in maps. */ bool operator<(const GetSecretValueRequest &) const noexcept; static const char *MODEL_NAME; @@ -2773,7 +3482,13 @@ namespace Aws public: GetLocalDeploymentStatusResponse() noexcept {} GetLocalDeploymentStatusResponse(const GetLocalDeploymentStatusResponse &) = default; + /** + * The local deployment. + */ void SetDeployment(const LocalDeployment &deployment) noexcept { m_deployment = deployment; } + /** + * The local deployment. + */ Aws::Crt::Optional GetDeployment() noexcept { return m_deployment; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(GetLocalDeploymentStatusResponse &, const Aws::Crt::JsonView &) noexcept; @@ -2781,8 +3496,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(GetLocalDeploymentStatusResponse *) noexcept; - /* This needs to be defined so that `GetLocalDeploymentStatusResponse` can be - * used as a key in maps. */ + /* This needs to be defined so that `GetLocalDeploymentStatusResponse` can be used as a key in maps. */ bool operator<(const GetLocalDeploymentStatusResponse &) const noexcept; static const char *MODEL_NAME; @@ -2798,7 +3512,13 @@ namespace Aws public: GetLocalDeploymentStatusRequest() noexcept {} GetLocalDeploymentStatusRequest(const GetLocalDeploymentStatusRequest &) = default; + /** + * The ID of the local deployment to get. + */ void SetDeploymentId(const Aws::Crt::String &deploymentId) noexcept { m_deploymentId = deploymentId; } + /** + * The ID of the local deployment to get. + */ Aws::Crt::Optional GetDeploymentId() noexcept { return m_deploymentId; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(GetLocalDeploymentStatusRequest &, const Aws::Crt::JsonView &) noexcept; @@ -2806,8 +3526,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(GetLocalDeploymentStatusRequest *) noexcept; - /* This needs to be defined so that `GetLocalDeploymentStatusRequest` can be - * used as a key in maps. */ + /* This needs to be defined so that `GetLocalDeploymentStatusRequest` can be used as a key in maps. */ bool operator<(const GetLocalDeploymentStatusRequest &) const noexcept; static const char *MODEL_NAME; @@ -2823,9 +3542,21 @@ namespace Aws public: GetConfigurationResponse() noexcept {} GetConfigurationResponse(const GetConfigurationResponse &) = default; + /** + * The name of the component. + */ void SetComponentName(const Aws::Crt::String &componentName) noexcept { m_componentName = componentName; } + /** + * The name of the component. + */ Aws::Crt::Optional GetComponentName() noexcept { return m_componentName; } + /** + * The requested configuration as an object. + */ void SetValue(const Aws::Crt::JsonObject &value) noexcept { m_value = value; } + /** + * The requested configuration as an object. + */ Aws::Crt::Optional GetValue() noexcept { return m_value; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(GetConfigurationResponse &, const Aws::Crt::JsonView &) noexcept; @@ -2833,8 +3564,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(GetConfigurationResponse *) noexcept; - /* This needs to be defined so that `GetConfigurationResponse` can be used as - * a key in maps. */ + /* This needs to be defined so that `GetConfigurationResponse` can be used as a key in maps. */ bool operator<(const GetConfigurationResponse &) const noexcept; static const char *MODEL_NAME; @@ -2851,9 +3581,23 @@ namespace Aws public: GetConfigurationRequest() noexcept {} GetConfigurationRequest(const GetConfigurationRequest &) = default; + /** + * (Optional) The name of the component. Defaults to the name of the component that makes the request. + */ void SetComponentName(const Aws::Crt::String &componentName) noexcept { m_componentName = componentName; } + /** + * (Optional) The name of the component. Defaults to the name of the component that makes the request. + */ Aws::Crt::Optional GetComponentName() noexcept { return m_componentName; } + /** + * The key path to the configuration value. Specify a list where each entry is the key for a single level in + * the configuration object. + */ void SetKeyPath(const Aws::Crt::Vector &keyPath) noexcept { m_keyPath = keyPath; } + /** + * The key path to the configuration value. Specify a list where each entry is the key for a single level in + * the configuration object. + */ Aws::Crt::Optional> GetKeyPath() noexcept { return m_keyPath; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(GetConfigurationRequest &, const Aws::Crt::JsonView &) noexcept; @@ -2861,8 +3605,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(GetConfigurationRequest *) noexcept; - /* This needs to be defined so that `GetConfigurationRequest` can be used as a - * key in maps. */ + /* This needs to be defined so that `GetConfigurationRequest` can be used as a key in maps. */ bool operator<(const GetConfigurationRequest &) const noexcept; static const char *MODEL_NAME; @@ -2879,10 +3622,16 @@ namespace Aws public: GetComponentDetailsResponse() noexcept {} GetComponentDetailsResponse(const GetComponentDetailsResponse &) = default; + /** + * The component's details. + */ void SetComponentDetails(const ComponentDetails &componentDetails) noexcept { m_componentDetails = componentDetails; } + /** + * The component's details. + */ Aws::Crt::Optional GetComponentDetails() noexcept { return m_componentDetails; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(GetComponentDetailsResponse &, const Aws::Crt::JsonView &) noexcept; @@ -2890,8 +3639,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(GetComponentDetailsResponse *) noexcept; - /* This needs to be defined so that `GetComponentDetailsResponse` can be used - * as a key in maps. */ + /* This needs to be defined so that `GetComponentDetailsResponse` can be used as a key in maps. */ bool operator<(const GetComponentDetailsResponse &) const noexcept; static const char *MODEL_NAME; @@ -2907,7 +3655,13 @@ namespace Aws public: GetComponentDetailsRequest() noexcept {} GetComponentDetailsRequest(const GetComponentDetailsRequest &) = default; + /** + * The name of the component to get. + */ void SetComponentName(const Aws::Crt::String &componentName) noexcept { m_componentName = componentName; } + /** + * The name of the component to get. + */ Aws::Crt::Optional GetComponentName() noexcept { return m_componentName; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(GetComponentDetailsRequest &, const Aws::Crt::JsonView &) noexcept; @@ -2915,8 +3669,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(GetComponentDetailsRequest *) noexcept; - /* This needs to be defined so that `GetComponentDetailsRequest` can be used - * as a key in maps. */ + /* This needs to be defined so that `GetComponentDetailsRequest` can be used as a key in maps. */ bool operator<(const GetComponentDetailsRequest &) const noexcept; static const char *MODEL_NAME; @@ -2932,7 +3685,9 @@ namespace Aws public: InvalidCredentialError() noexcept {} InvalidCredentialError(const InvalidCredentialError &) = default; + void SetMessage(const Aws::Crt::String &message) noexcept { m_message = message; } + Aws::Crt::Optional GetMessage() noexcept override { return m_message; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(InvalidCredentialError &, const Aws::Crt::JsonView &) noexcept; @@ -2940,8 +3695,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(InvalidCredentialError *) noexcept; - /* This needs to be defined so that `InvalidCredentialError` can be used as a - * key in maps. */ + /* This needs to be defined so that `InvalidCredentialError` can be used as a key in maps. */ bool operator<(const InvalidCredentialError &) const noexcept; static const char *MODEL_NAME; @@ -2957,10 +3711,18 @@ namespace Aws public: GetClientDeviceAuthTokenResponse() noexcept {} GetClientDeviceAuthTokenResponse(const GetClientDeviceAuthTokenResponse &) = default; + /** + * The session token for the client device. You can use this session token in subsequent requests to + * authorize this client device's actions. + */ void SetClientDeviceAuthToken(const Aws::Crt::String &clientDeviceAuthToken) noexcept { m_clientDeviceAuthToken = clientDeviceAuthToken; } + /** + * The session token for the client device. You can use this session token in subsequent requests to + * authorize this client device's actions. + */ Aws::Crt::Optional GetClientDeviceAuthToken() noexcept { return m_clientDeviceAuthToken; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(GetClientDeviceAuthTokenResponse &, const Aws::Crt::JsonView &) noexcept; @@ -2968,8 +3730,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(GetClientDeviceAuthTokenResponse *) noexcept; - /* This needs to be defined so that `GetClientDeviceAuthTokenResponse` can be - * used as a key in maps. */ + /* This needs to be defined so that `GetClientDeviceAuthTokenResponse` can be used as a key in maps. */ bool operator<(const GetClientDeviceAuthTokenResponse &) const noexcept; static const char *MODEL_NAME; @@ -2985,7 +3746,13 @@ namespace Aws public: GetClientDeviceAuthTokenRequest() noexcept {} GetClientDeviceAuthTokenRequest(const GetClientDeviceAuthTokenRequest &) = default; + /** + * The client device's credentials. + */ void SetCredential(const CredentialDocument &credential) noexcept { m_credential = credential; } + /** + * The client device's credentials. + */ Aws::Crt::Optional GetCredential() noexcept { return m_credential; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(GetClientDeviceAuthTokenRequest &, const Aws::Crt::JsonView &) noexcept; @@ -2993,8 +3760,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(GetClientDeviceAuthTokenRequest *) noexcept; - /* This needs to be defined so that `GetClientDeviceAuthTokenRequest` can be - * used as a key in maps. */ + /* This needs to be defined so that `GetClientDeviceAuthTokenRequest` can be used as a key in maps. */ bool operator<(const GetClientDeviceAuthTokenRequest &) const noexcept; static const char *MODEL_NAME; @@ -3010,7 +3776,13 @@ namespace Aws public: DeleteThingShadowResponse() noexcept {} DeleteThingShadowResponse(const DeleteThingShadowResponse &) = default; + /** + * An empty response state document. + */ void SetPayload(const Aws::Crt::Vector &payload) noexcept { m_payload = payload; } + /** + * An empty response state document. + */ Aws::Crt::Optional> GetPayload() noexcept { return m_payload; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(DeleteThingShadowResponse &, const Aws::Crt::JsonView &) noexcept; @@ -3018,8 +3790,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(DeleteThingShadowResponse *) noexcept; - /* This needs to be defined so that `DeleteThingShadowResponse` can be used as - * a key in maps. */ + /* This needs to be defined so that `DeleteThingShadowResponse` can be used as a key in maps. */ bool operator<(const DeleteThingShadowResponse &) const noexcept; static const char *MODEL_NAME; @@ -3035,9 +3806,23 @@ namespace Aws public: DeleteThingShadowRequest() noexcept {} DeleteThingShadowRequest(const DeleteThingShadowRequest &) = default; + /** + * The name of the thing. + */ void SetThingName(const Aws::Crt::String &thingName) noexcept { m_thingName = thingName; } + /** + * The name of the thing. + */ Aws::Crt::Optional GetThingName() noexcept { return m_thingName; } + /** + * The name of the shadow. To specify the thing's classic shadow, set this parameter to an empty string + * (""). + */ void SetShadowName(const Aws::Crt::String &shadowName) noexcept { m_shadowName = shadowName; } + /** + * The name of the shadow. To specify the thing's classic shadow, set this parameter to an empty string + * (""). + */ Aws::Crt::Optional GetShadowName() noexcept { return m_shadowName; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(DeleteThingShadowRequest &, const Aws::Crt::JsonView &) noexcept; @@ -3045,8 +3830,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(DeleteThingShadowRequest *) noexcept; - /* This needs to be defined so that `DeleteThingShadowRequest` can be used as - * a key in maps. */ + /* This needs to be defined so that `DeleteThingShadowRequest` can be used as a key in maps. */ bool operator<(const DeleteThingShadowRequest &) const noexcept; static const char *MODEL_NAME; @@ -3069,8 +3853,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(DeferComponentUpdateResponse *) noexcept; - /* This needs to be defined so that `DeferComponentUpdateResponse` can be used - * as a key in maps. */ + /* This needs to be defined so that `DeferComponentUpdateResponse` can be used as a key in maps. */ bool operator<(const DeferComponentUpdateResponse &) const noexcept; static const char *MODEL_NAME; @@ -3085,11 +3868,33 @@ namespace Aws public: DeferComponentUpdateRequest() noexcept {} DeferComponentUpdateRequest(const DeferComponentUpdateRequest &) = default; + /** + * The ID of the AWS IoT Greengrass deployment to defer. + */ void SetDeploymentId(const Aws::Crt::String &deploymentId) noexcept { m_deploymentId = deploymentId; } + /** + * The ID of the AWS IoT Greengrass deployment to defer. + */ Aws::Crt::Optional GetDeploymentId() noexcept { return m_deploymentId; } + /** + * (Optional) The name of the component for which to defer updates. Defaults to the name of the component + * that makes the request. + */ void SetMessage(const Aws::Crt::String &message) noexcept { m_message = message; } + /** + * (Optional) The name of the component for which to defer updates. Defaults to the name of the component + * that makes the request. + */ Aws::Crt::Optional GetMessage() noexcept { return m_message; } + /** + * The amount of time in milliseconds for which to defer the update. Greengrass waits for this amount of + * time and then sends another PreComponentUpdateEvent + */ void SetRecheckAfterMs(const int64_t &recheckAfterMs) noexcept { m_recheckAfterMs = recheckAfterMs; } + /** + * The amount of time in milliseconds for which to defer the update. Greengrass waits for this amount of + * time and then sends another PreComponentUpdateEvent + */ Aws::Crt::Optional GetRecheckAfterMs() noexcept { return m_recheckAfterMs; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(DeferComponentUpdateRequest &, const Aws::Crt::JsonView &) noexcept; @@ -3097,8 +3902,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(DeferComponentUpdateRequest *) noexcept; - /* This needs to be defined so that `DeferComponentUpdateRequest` can be used - * as a key in maps. */ + /* This needs to be defined so that `DeferComponentUpdateRequest` can be used as a key in maps. */ bool operator<(const DeferComponentUpdateRequest &) const noexcept; static const char *MODEL_NAME; @@ -3116,7 +3920,9 @@ namespace Aws public: InvalidArtifactsDirectoryPathError() noexcept {} InvalidArtifactsDirectoryPathError(const InvalidArtifactsDirectoryPathError &) = default; + void SetMessage(const Aws::Crt::String &message) noexcept { m_message = message; } + Aws::Crt::Optional GetMessage() noexcept override { return m_message; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(InvalidArtifactsDirectoryPathError &, const Aws::Crt::JsonView &) noexcept; @@ -3124,8 +3930,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(InvalidArtifactsDirectoryPathError *) noexcept; - /* This needs to be defined so that `InvalidArtifactsDirectoryPathError` can - * be used as a key in maps. */ + /* This needs to be defined so that `InvalidArtifactsDirectoryPathError` can be used as a key in maps. */ bool operator<(const InvalidArtifactsDirectoryPathError &) const noexcept; static const char *MODEL_NAME; @@ -3141,7 +3946,9 @@ namespace Aws public: InvalidRecipeDirectoryPathError() noexcept {} InvalidRecipeDirectoryPathError(const InvalidRecipeDirectoryPathError &) = default; + void SetMessage(const Aws::Crt::String &message) noexcept { m_message = message; } + Aws::Crt::Optional GetMessage() noexcept override { return m_message; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(InvalidRecipeDirectoryPathError &, const Aws::Crt::JsonView &) noexcept; @@ -3149,8 +3956,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(InvalidRecipeDirectoryPathError *) noexcept; - /* This needs to be defined so that `InvalidRecipeDirectoryPathError` can be - * used as a key in maps. */ + /* This needs to be defined so that `InvalidRecipeDirectoryPathError` can be used as a key in maps. */ bool operator<(const InvalidRecipeDirectoryPathError &) const noexcept; static const char *MODEL_NAME; @@ -3166,7 +3972,13 @@ namespace Aws public: CreateLocalDeploymentResponse() noexcept {} CreateLocalDeploymentResponse(const CreateLocalDeploymentResponse &) = default; + /** + * The ID of the local deployment that the request created. + */ void SetDeploymentId(const Aws::Crt::String &deploymentId) noexcept { m_deploymentId = deploymentId; } + /** + * The ID of the local deployment that the request created. + */ Aws::Crt::Optional GetDeploymentId() noexcept { return m_deploymentId; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(CreateLocalDeploymentResponse &, const Aws::Crt::JsonView &) noexcept; @@ -3174,8 +3986,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(CreateLocalDeploymentResponse *) noexcept; - /* This needs to be defined so that `CreateLocalDeploymentResponse` can be - * used as a key in maps. */ + /* This needs to be defined so that `CreateLocalDeploymentResponse` can be used as a key in maps. */ bool operator<(const CreateLocalDeploymentResponse &) const noexcept; static const char *MODEL_NAME; @@ -3191,59 +4002,111 @@ namespace Aws public: CreateLocalDeploymentRequest() noexcept {} CreateLocalDeploymentRequest(const CreateLocalDeploymentRequest &) = default; + /** + * The thing group name the deployment is targeting. If the group name is not specified, "LOCAL_DEPLOYMENT" + * will be used. + */ void SetGroupName(const Aws::Crt::String &groupName) noexcept { m_groupName = groupName; } + /** + * The thing group name the deployment is targeting. If the group name is not specified, "LOCAL_DEPLOYMENT" + * will be used. + */ Aws::Crt::Optional GetGroupName() noexcept { return m_groupName; } + /** + * Map of component name to version. Components will be added to the group's existing root components. + */ void SetRootComponentVersionsToAdd( const Aws::Crt::Map &rootComponentVersionsToAdd) noexcept { m_rootComponentVersionsToAdd = rootComponentVersionsToAdd; } + /** + * Map of component name to version. Components will be added to the group's existing root components. + */ Aws::Crt::Optional> GetRootComponentVersionsToAdd() noexcept { return m_rootComponentVersionsToAdd; } + /** + * List of components that need to be removed from the group, for example if new artifacts were loaded in + * this request but recipe version did not change. + */ void SetRootComponentsToRemove(const Aws::Crt::Vector &rootComponentsToRemove) noexcept { m_rootComponentsToRemove = rootComponentsToRemove; } + /** + * List of components that need to be removed from the group, for example if new artifacts were loaded in + * this request but recipe version did not change. + */ Aws::Crt::Optional> GetRootComponentsToRemove() noexcept { return m_rootComponentsToRemove; } + /** + * Map of component names to configuration. + */ void SetComponentToConfiguration( const Aws::Crt::Map &componentToConfiguration) noexcept { m_componentToConfiguration = componentToConfiguration; } + /** + * Map of component names to configuration. + */ Aws::Crt::Optional> GetComponentToConfiguration() noexcept { return m_componentToConfiguration; } + /** + * Map of component names to component run as info. + */ void SetComponentToRunWithInfo( const Aws::Crt::Map &componentToRunWithInfo) noexcept { m_componentToRunWithInfo = componentToRunWithInfo; } + /** + * Map of component names to component run as info. + */ Aws::Crt::Optional> GetComponentToRunWithInfo() noexcept { return m_componentToRunWithInfo; } + /** + * All recipes files in this directory will be copied over to the Greengrass package store. + */ void SetRecipeDirectoryPath(const Aws::Crt::String &recipeDirectoryPath) noexcept { m_recipeDirectoryPath = recipeDirectoryPath; } + /** + * All recipes files in this directory will be copied over to the Greengrass package store. + */ Aws::Crt::Optional GetRecipeDirectoryPath() noexcept { return m_recipeDirectoryPath; } + /** + * All artifact files in this directory will be copied over to the Greengrass package store. + */ void SetArtifactsDirectoryPath(const Aws::Crt::String &artifactsDirectoryPath) noexcept { m_artifactsDirectoryPath = artifactsDirectoryPath; } + /** + * All artifact files in this directory will be copied over to the Greengrass package store. + */ Aws::Crt::Optional GetArtifactsDirectoryPath() noexcept { return m_artifactsDirectoryPath; } + /** + * Deployment failure handling policy. + */ void SetFailureHandlingPolicy(FailureHandlingPolicy failureHandlingPolicy) noexcept; + /** + * Deployment failure handling policy. + */ Aws::Crt::Optional GetFailureHandlingPolicy() noexcept; void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(CreateLocalDeploymentRequest &, const Aws::Crt::JsonView &) noexcept; @@ -3251,8 +4114,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(CreateLocalDeploymentRequest *) noexcept; - /* This needs to be defined so that `CreateLocalDeploymentRequest` can be used - * as a key in maps. */ + /* This needs to be defined so that `CreateLocalDeploymentRequest` can be used as a key in maps. */ bool operator<(const CreateLocalDeploymentRequest &) const noexcept; static const char *MODEL_NAME; @@ -3275,24 +4137,34 @@ namespace Aws public: CreateDebugPasswordResponse() noexcept {} CreateDebugPasswordResponse(const CreateDebugPasswordResponse &) = default; + void SetPassword(const Aws::Crt::String &password) noexcept { m_password = password; } + Aws::Crt::Optional GetPassword() noexcept { return m_password; } + void SetUsername(const Aws::Crt::String &username) noexcept { m_username = username; } + Aws::Crt::Optional GetUsername() noexcept { return m_username; } + void SetPasswordExpiration(const Aws::Crt::DateTime &passwordExpiration) noexcept { m_passwordExpiration = passwordExpiration; } + Aws::Crt::Optional GetPasswordExpiration() noexcept { return m_passwordExpiration; } + void SetCertificateSHA256Hash(const Aws::Crt::String &certificateSHA256Hash) noexcept { m_certificateSHA256Hash = certificateSHA256Hash; } + Aws::Crt::Optional GetCertificateSHA256Hash() noexcept { return m_certificateSHA256Hash; } + void SetCertificateSHA1Hash(const Aws::Crt::String &certificateSHA1Hash) noexcept { m_certificateSHA1Hash = certificateSHA1Hash; } + Aws::Crt::Optional GetCertificateSHA1Hash() noexcept { return m_certificateSHA1Hash; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(CreateDebugPasswordResponse &, const Aws::Crt::JsonView &) noexcept; @@ -3300,8 +4172,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(CreateDebugPasswordResponse *) noexcept; - /* This needs to be defined so that `CreateDebugPasswordResponse` can be used - * as a key in maps. */ + /* This needs to be defined so that `CreateDebugPasswordResponse` can be used as a key in maps. */ bool operator<(const CreateDebugPasswordResponse &) const noexcept; static const char *MODEL_NAME; @@ -3327,8 +4198,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(CreateDebugPasswordRequest *) noexcept; - /* This needs to be defined so that `CreateDebugPasswordRequest` can be used - * as a key in maps. */ + /* This needs to be defined so that `CreateDebugPasswordRequest` can be used as a key in maps. */ bool operator<(const CreateDebugPasswordRequest &) const noexcept; static const char *MODEL_NAME; @@ -3343,7 +4213,9 @@ namespace Aws public: CancelLocalDeploymentResponse() noexcept {} CancelLocalDeploymentResponse(const CancelLocalDeploymentResponse &) = default; + void SetMessage(const Aws::Crt::String &message) noexcept { m_message = message; } + Aws::Crt::Optional GetMessage() noexcept { return m_message; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(CancelLocalDeploymentResponse &, const Aws::Crt::JsonView &) noexcept; @@ -3351,8 +4223,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(CancelLocalDeploymentResponse *) noexcept; - /* This needs to be defined so that `CancelLocalDeploymentResponse` can be - * used as a key in maps. */ + /* This needs to be defined so that `CancelLocalDeploymentResponse` can be used as a key in maps. */ bool operator<(const CancelLocalDeploymentResponse &) const noexcept; static const char *MODEL_NAME; @@ -3368,7 +4239,13 @@ namespace Aws public: CancelLocalDeploymentRequest() noexcept {} CancelLocalDeploymentRequest(const CancelLocalDeploymentRequest &) = default; + /** + * (Optional) The ID of the local deployment to cancel. + */ void SetDeploymentId(const Aws::Crt::String &deploymentId) noexcept { m_deploymentId = deploymentId; } + /** + * (Optional) The ID of the local deployment to cancel. + */ Aws::Crt::Optional GetDeploymentId() noexcept { return m_deploymentId; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(CancelLocalDeploymentRequest &, const Aws::Crt::JsonView &) noexcept; @@ -3376,8 +4253,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(CancelLocalDeploymentRequest *) noexcept; - /* This needs to be defined so that `CancelLocalDeploymentRequest` can be used - * as a key in maps. */ + /* This needs to be defined so that `CancelLocalDeploymentRequest` can be used as a key in maps. */ bool operator<(const CancelLocalDeploymentRequest &) const noexcept; static const char *MODEL_NAME; @@ -3393,7 +4269,9 @@ namespace Aws public: InvalidClientDeviceAuthTokenError() noexcept {} InvalidClientDeviceAuthTokenError(const InvalidClientDeviceAuthTokenError &) = default; + void SetMessage(const Aws::Crt::String &message) noexcept { m_message = message; } + Aws::Crt::Optional GetMessage() noexcept override { return m_message; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(InvalidClientDeviceAuthTokenError &, const Aws::Crt::JsonView &) noexcept; @@ -3401,8 +4279,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(InvalidClientDeviceAuthTokenError *) noexcept; - /* This needs to be defined so that `InvalidClientDeviceAuthTokenError` can be - * used as a key in maps. */ + /* This needs to be defined so that `InvalidClientDeviceAuthTokenError` can be used as a key in maps. */ bool operator<(const InvalidClientDeviceAuthTokenError &) const noexcept; static const char *MODEL_NAME; @@ -3418,7 +4295,13 @@ namespace Aws public: AuthorizeClientDeviceActionResponse() noexcept {} AuthorizeClientDeviceActionResponse(const AuthorizeClientDeviceActionResponse &) = default; + /** + * Whether the client device is authorized to perform the operation on the resource. + */ void SetIsAuthorized(const bool &isAuthorized) noexcept { m_isAuthorized = isAuthorized; } + /** + * Whether the client device is authorized to perform the operation on the resource. + */ Aws::Crt::Optional GetIsAuthorized() noexcept { return m_isAuthorized; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(AuthorizeClientDeviceActionResponse &, const Aws::Crt::JsonView &) noexcept; @@ -3426,8 +4309,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(AuthorizeClientDeviceActionResponse *) noexcept; - /* This needs to be defined so that `AuthorizeClientDeviceActionResponse` can - * be used as a key in maps. */ + /* This needs to be defined so that `AuthorizeClientDeviceActionResponse` can be used as a key in maps. */ bool operator<(const AuthorizeClientDeviceActionResponse &) const noexcept; static const char *MODEL_NAME; @@ -3443,14 +4325,32 @@ namespace Aws public: AuthorizeClientDeviceActionRequest() noexcept {} AuthorizeClientDeviceActionRequest(const AuthorizeClientDeviceActionRequest &) = default; + /** + * The session token for the client device from GetClientDeviceAuthToken. + */ void SetClientDeviceAuthToken(const Aws::Crt::String &clientDeviceAuthToken) noexcept { m_clientDeviceAuthToken = clientDeviceAuthToken; } + /** + * The session token for the client device from GetClientDeviceAuthToken. + */ Aws::Crt::Optional GetClientDeviceAuthToken() noexcept { return m_clientDeviceAuthToken; } + /** + * The operation to authorize. + */ void SetOperation(const Aws::Crt::String &operation) noexcept { m_operation = operation; } + /** + * The operation to authorize. + */ Aws::Crt::Optional GetOperation() noexcept { return m_operation; } + /** + * The resource the client device performs the operation on. + */ void SetResource(const Aws::Crt::String &resource) noexcept { m_resource = resource; } + /** + * The resource the client device performs the operation on. + */ Aws::Crt::Optional GetResource() noexcept { return m_resource; } void SerializeToJsonObject(Aws::Crt::JsonObject &payloadObject) const noexcept override; static void s_loadFromJsonView(AuthorizeClientDeviceActionRequest &, const Aws::Crt::JsonView &) noexcept; @@ -3458,8 +4358,7 @@ namespace Aws Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept; static void s_customDeleter(AuthorizeClientDeviceActionRequest *) noexcept; - /* This needs to be defined so that `AuthorizeClientDeviceActionRequest` can - * be used as a key in maps. */ + /* This needs to be defined so that `AuthorizeClientDeviceActionRequest` can be used as a key in maps. */ bool operator<(const AuthorizeClientDeviceActionRequest &) const noexcept; static const char *MODEL_NAME; @@ -3478,10 +4377,8 @@ namespace Aws virtual void OnStreamEvent(IoTCoreMessage *response) { (void)response; } /** - * A callback that is invoked when an error occurs while parsing a message - * from the stream. - * @param rpcError The RPC error containing the status and possibly a CRT - * error. + * A callback that is invoked when an error occurs while parsing a message from the stream. + * @param rpcError The RPC error containing the status and possibly a CRT error. */ virtual bool OnStreamError(RpcError rpcError) { @@ -3500,8 +4397,7 @@ namespace Aws } /** - * A callback that is invoked upon receiving an error of type - * `UnauthorizedError`. + * A callback that is invoked upon receiving an error of type `UnauthorizedError`. * @param operationError The error message being received. */ virtual bool OnStreamError(UnauthorizedError *operationError) @@ -3511,8 +4407,7 @@ namespace Aws } /** - * A callback that is invoked upon receiving ANY error response from the - * server. + * A callback that is invoked upon receiving ANY error response from the server. * @param operationError The error message being received. */ virtual bool OnStreamError(OperationError *operationError) @@ -3527,8 +4422,7 @@ namespace Aws */ void OnStreamEvent(Aws::Crt::ScopedResource response) override; /** - * Invoked when a message is received on this continuation but results in an - * error. + * Invoked when a message is received on this continuation but results in an error. * * This callback can return true so that the stream is closed afterwards. */ @@ -3583,10 +4477,8 @@ namespace Aws /** * Used to activate a stream for the `SubscribeToIoTCoreOperation` * @param request The request used for the `SubscribeToIoTCoreOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const SubscribeToIoTCoreRequest &request, @@ -3648,10 +4540,8 @@ namespace Aws /** * Used to activate a stream for the `ResumeComponentOperation` * @param request The request used for the `ResumeComponentOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const ResumeComponentRequest &request, @@ -3713,10 +4603,8 @@ namespace Aws /** * Used to activate a stream for the `PublishToIoTCoreOperation` * @param request The request used for the `PublishToIoTCoreOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const PublishToIoTCoreRequest &request, @@ -3736,10 +4624,8 @@ namespace Aws virtual void OnStreamEvent(ConfigurationUpdateEvents *response) { (void)response; } /** - * A callback that is invoked when an error occurs while parsing a message - * from the stream. - * @param rpcError The RPC error containing the status and possibly a CRT - * error. + * A callback that is invoked when an error occurs while parsing a message from the stream. + * @param rpcError The RPC error containing the status and possibly a CRT error. */ virtual bool OnStreamError(RpcError rpcError) { @@ -3758,8 +4644,7 @@ namespace Aws } /** - * A callback that is invoked upon receiving an error of type - * `ResourceNotFoundError`. + * A callback that is invoked upon receiving an error of type `ResourceNotFoundError`. * @param operationError The error message being received. */ virtual bool OnStreamError(ResourceNotFoundError *operationError) @@ -3769,8 +4654,7 @@ namespace Aws } /** - * A callback that is invoked upon receiving ANY error response from the - * server. + * A callback that is invoked upon receiving ANY error response from the server. * @param operationError The error message being received. */ virtual bool OnStreamError(OperationError *operationError) @@ -3785,8 +4669,7 @@ namespace Aws */ void OnStreamEvent(Aws::Crt::ScopedResource response) override; /** - * Invoked when a message is received on this continuation but results in an - * error. + * Invoked when a message is received on this continuation but results in an error. * * This callback can return true so that the stream is closed afterwards. */ @@ -3843,12 +4726,9 @@ namespace Aws Aws::Crt::Allocator *allocator = Aws::Crt::g_allocator) noexcept; /** * Used to activate a stream for the `SubscribeToConfigurationUpdateOperation` - * @param request The request used for the - * `SubscribeToConfigurationUpdateOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param request The request used for the `SubscribeToConfigurationUpdateOperation` + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const SubscribeToConfigurationUpdateRequest &request, @@ -3910,10 +4790,8 @@ namespace Aws /** * Used to activate a stream for the `DeleteThingShadowOperation` * @param request The request used for the `DeleteThingShadowOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const DeleteThingShadowRequest &request, @@ -3975,10 +4853,8 @@ namespace Aws /** * Used to activate a stream for the `PutComponentMetricOperation` * @param request The request used for the `PutComponentMetricOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const PutComponentMetricRequest &request, @@ -4042,10 +4918,8 @@ namespace Aws /** * Used to activate a stream for the `DeferComponentUpdateOperation` * @param request The request used for the `DeferComponentUpdateOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const DeferComponentUpdateRequest &request, @@ -4066,10 +4940,8 @@ namespace Aws virtual void OnStreamEvent(ValidateConfigurationUpdateEvents *response) { (void)response; } /** - * A callback that is invoked when an error occurs while parsing a message - * from the stream. - * @param rpcError The RPC error containing the status and possibly a CRT - * error. + * A callback that is invoked when an error occurs while parsing a message from the stream. + * @param rpcError The RPC error containing the status and possibly a CRT error. */ virtual bool OnStreamError(RpcError rpcError) { @@ -4088,8 +4960,7 @@ namespace Aws } /** - * A callback that is invoked upon receiving ANY error response from the - * server. + * A callback that is invoked upon receiving ANY error response from the server. * @param operationError The error message being received. */ virtual bool OnStreamError(OperationError *operationError) @@ -4104,8 +4975,7 @@ namespace Aws */ void OnStreamEvent(Aws::Crt::ScopedResource response) override; /** - * Invoked when a message is received on this continuation but results in an - * error. + * Invoked when a message is received on this continuation but results in an error. * * This callback can return true so that the stream is closed afterwards. */ @@ -4164,14 +5034,10 @@ namespace Aws const SubscribeToValidateConfigurationUpdatesOperationContext &operationContext, Aws::Crt::Allocator *allocator = Aws::Crt::g_allocator) noexcept; /** - * Used to activate a stream for the - * `SubscribeToValidateConfigurationUpdatesOperation` - * @param request The request used for the - * `SubscribeToValidateConfigurationUpdatesOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * Used to activate a stream for the `SubscribeToValidateConfigurationUpdatesOperation` + * @param request The request used for the `SubscribeToValidateConfigurationUpdatesOperation` + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const SubscribeToValidateConfigurationUpdatesRequest &request, @@ -4233,10 +5099,8 @@ namespace Aws /** * Used to activate a stream for the `GetConfigurationOperation` * @param request The request used for the `GetConfigurationOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const GetConfigurationRequest &request, @@ -4256,10 +5120,8 @@ namespace Aws virtual void OnStreamEvent(SubscriptionResponseMessage *response) { (void)response; } /** - * A callback that is invoked when an error occurs while parsing a message - * from the stream. - * @param rpcError The RPC error containing the status and possibly a CRT - * error. + * A callback that is invoked when an error occurs while parsing a message from the stream. + * @param rpcError The RPC error containing the status and possibly a CRT error. */ virtual bool OnStreamError(RpcError rpcError) { @@ -4268,8 +5130,7 @@ namespace Aws } /** - * A callback that is invoked upon receiving an error of type - * `InvalidArgumentsError`. + * A callback that is invoked upon receiving an error of type `InvalidArgumentsError`. * @param operationError The error message being received. */ virtual bool OnStreamError(InvalidArgumentsError *operationError) @@ -4289,8 +5150,7 @@ namespace Aws } /** - * A callback that is invoked upon receiving an error of type - * `UnauthorizedError`. + * A callback that is invoked upon receiving an error of type `UnauthorizedError`. * @param operationError The error message being received. */ virtual bool OnStreamError(UnauthorizedError *operationError) @@ -4300,8 +5160,7 @@ namespace Aws } /** - * A callback that is invoked upon receiving ANY error response from the - * server. + * A callback that is invoked upon receiving ANY error response from the server. * @param operationError The error message being received. */ virtual bool OnStreamError(OperationError *operationError) @@ -4316,8 +5175,7 @@ namespace Aws */ void OnStreamEvent(Aws::Crt::ScopedResource response) override; /** - * Invoked when a message is received on this continuation but results in an - * error. + * Invoked when a message is received on this continuation but results in an error. * * This callback can return true so that the stream is closed afterwards. */ @@ -4372,10 +5230,8 @@ namespace Aws /** * Used to activate a stream for the `SubscribeToTopicOperation` * @param request The request used for the `SubscribeToTopicOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const SubscribeToTopicRequest &request, @@ -4437,10 +5293,8 @@ namespace Aws /** * Used to activate a stream for the `GetComponentDetailsOperation` * @param request The request used for the `GetComponentDetailsOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const GetComponentDetailsRequest &request, @@ -4505,10 +5359,8 @@ namespace Aws /** * Used to activate a stream for the `GetClientDeviceAuthTokenOperation` * @param request The request used for the `GetClientDeviceAuthTokenOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const GetClientDeviceAuthTokenRequest &request, @@ -4570,10 +5422,8 @@ namespace Aws /** * Used to activate a stream for the `PublishToTopicOperation` * @param request The request used for the `PublishToTopicOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const PublishToTopicRequest &request, @@ -4593,10 +5443,8 @@ namespace Aws virtual void OnStreamEvent(CertificateUpdateEvent *response) { (void)response; } /** - * A callback that is invoked when an error occurs while parsing a message - * from the stream. - * @param rpcError The RPC error containing the status and possibly a CRT - * error. + * A callback that is invoked when an error occurs while parsing a message from the stream. + * @param rpcError The RPC error containing the status and possibly a CRT error. */ virtual bool OnStreamError(RpcError rpcError) { @@ -4615,8 +5463,7 @@ namespace Aws } /** - * A callback that is invoked upon receiving an error of type - * `UnauthorizedError`. + * A callback that is invoked upon receiving an error of type `UnauthorizedError`. * @param operationError The error message being received. */ virtual bool OnStreamError(UnauthorizedError *operationError) @@ -4626,8 +5473,7 @@ namespace Aws } /** - * A callback that is invoked upon receiving an error of type - * `InvalidArgumentsError`. + * A callback that is invoked upon receiving an error of type `InvalidArgumentsError`. * @param operationError The error message being received. */ virtual bool OnStreamError(InvalidArgumentsError *operationError) @@ -4637,8 +5483,7 @@ namespace Aws } /** - * A callback that is invoked upon receiving ANY error response from the - * server. + * A callback that is invoked upon receiving ANY error response from the server. * @param operationError The error message being received. */ virtual bool OnStreamError(OperationError *operationError) @@ -4653,8 +5498,7 @@ namespace Aws */ void OnStreamEvent(Aws::Crt::ScopedResource response) override; /** - * Invoked when a message is received on this continuation but results in an - * error. + * Invoked when a message is received on this continuation but results in an error. * * This callback can return true so that the stream is closed afterwards. */ @@ -4711,12 +5555,9 @@ namespace Aws Aws::Crt::Allocator *allocator = Aws::Crt::g_allocator) noexcept; /** * Used to activate a stream for the `SubscribeToCertificateUpdatesOperation` - * @param request The request used for the - * `SubscribeToCertificateUpdatesOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param request The request used for the `SubscribeToCertificateUpdatesOperation` + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const SubscribeToCertificateUpdatesRequest &request, @@ -4780,12 +5621,9 @@ namespace Aws Aws::Crt::Allocator *allocator = Aws::Crt::g_allocator) noexcept; /** * Used to activate a stream for the `VerifyClientDeviceIdentityOperation` - * @param request The request used for the - * `VerifyClientDeviceIdentityOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param request The request used for the `VerifyClientDeviceIdentityOperation` + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const VerifyClientDeviceIdentityRequest &request, @@ -4849,12 +5687,9 @@ namespace Aws Aws::Crt::Allocator *allocator = Aws::Crt::g_allocator) noexcept; /** * Used to activate a stream for the `AuthorizeClientDeviceActionOperation` - * @param request The request used for the - * `AuthorizeClientDeviceActionOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param request The request used for the `AuthorizeClientDeviceActionOperation` + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const AuthorizeClientDeviceActionRequest &request, @@ -4916,10 +5751,8 @@ namespace Aws /** * Used to activate a stream for the `ListComponentsOperation` * @param request The request used for the `ListComponentsOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const ListComponentsRequest &request, @@ -4981,10 +5814,8 @@ namespace Aws /** * Used to activate a stream for the `CreateDebugPasswordOperation` * @param request The request used for the `CreateDebugPasswordOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const CreateDebugPasswordRequest &request, @@ -5046,10 +5877,8 @@ namespace Aws /** * Used to activate a stream for the `GetThingShadowOperation` * @param request The request used for the `GetThingShadowOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const GetThingShadowRequest &request, @@ -5112,14 +5941,10 @@ namespace Aws const SendConfigurationValidityReportOperationContext &operationContext, Aws::Crt::Allocator *allocator = Aws::Crt::g_allocator) noexcept; /** - * Used to activate a stream for the - * `SendConfigurationValidityReportOperation` - * @param request The request used for the - * `SendConfigurationValidityReportOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * Used to activate a stream for the `SendConfigurationValidityReportOperation` + * @param request The request used for the `SendConfigurationValidityReportOperation` + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const SendConfigurationValidityReportRequest &request, @@ -5181,10 +6006,8 @@ namespace Aws /** * Used to activate a stream for the `UpdateThingShadowOperation` * @param request The request used for the `UpdateThingShadowOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const UpdateThingShadowRequest &request, @@ -5246,10 +6069,8 @@ namespace Aws /** * Used to activate a stream for the `UpdateConfigurationOperation` * @param request The request used for the `UpdateConfigurationOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const UpdateConfigurationRequest &request, @@ -5313,12 +6134,9 @@ namespace Aws Aws::Crt::Allocator *allocator = Aws::Crt::g_allocator) noexcept; /** * Used to activate a stream for the `ValidateAuthorizationTokenOperation` - * @param request The request used for the - * `ValidateAuthorizationTokenOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param request The request used for the `ValidateAuthorizationTokenOperation` + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const ValidateAuthorizationTokenRequest &request, @@ -5380,10 +6198,8 @@ namespace Aws /** * Used to activate a stream for the `RestartComponentOperation` * @param request The request used for the `RestartComponentOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const RestartComponentRequest &request, @@ -5448,10 +6264,8 @@ namespace Aws /** * Used to activate a stream for the `GetLocalDeploymentStatusOperation` * @param request The request used for the `GetLocalDeploymentStatusOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const GetLocalDeploymentStatusRequest &request, @@ -5513,10 +6327,8 @@ namespace Aws /** * Used to activate a stream for the `GetSecretValueOperation` * @param request The request used for the `GetSecretValueOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const GetSecretValueRequest &request, @@ -5578,10 +6390,8 @@ namespace Aws /** * Used to activate a stream for the `UpdateStateOperation` * @param request The request used for the `UpdateStateOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const UpdateStateRequest &request, @@ -5645,10 +6455,8 @@ namespace Aws /** * Used to activate a stream for the `CancelLocalDeploymentOperation` * @param request The request used for the `CancelLocalDeploymentOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const CancelLocalDeploymentRequest &request, @@ -5713,10 +6521,8 @@ namespace Aws /** * Used to activate a stream for the `ListNamedShadowsForThingOperation` * @param request The request used for the `ListNamedShadowsForThingOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const ListNamedShadowsForThingRequest &request, @@ -5736,10 +6542,8 @@ namespace Aws virtual void OnStreamEvent(ComponentUpdatePolicyEvents *response) { (void)response; } /** - * A callback that is invoked when an error occurs while parsing a message - * from the stream. - * @param rpcError The RPC error containing the status and possibly a CRT - * error. + * A callback that is invoked when an error occurs while parsing a message from the stream. + * @param rpcError The RPC error containing the status and possibly a CRT error. */ virtual bool OnStreamError(RpcError rpcError) { @@ -5758,8 +6562,7 @@ namespace Aws } /** - * A callback that is invoked upon receiving an error of type - * `ResourceNotFoundError`. + * A callback that is invoked upon receiving an error of type `ResourceNotFoundError`. * @param operationError The error message being received. */ virtual bool OnStreamError(ResourceNotFoundError *operationError) @@ -5769,8 +6572,7 @@ namespace Aws } /** - * A callback that is invoked upon receiving ANY error response from the - * server. + * A callback that is invoked upon receiving ANY error response from the server. * @param operationError The error message being received. */ virtual bool OnStreamError(OperationError *operationError) @@ -5785,8 +6587,7 @@ namespace Aws */ void OnStreamEvent(Aws::Crt::ScopedResource response) override; /** - * Invoked when a message is received on this continuation but results in an - * error. + * Invoked when a message is received on this continuation but results in an error. * * This callback can return true so that the stream is closed afterwards. */ @@ -5843,12 +6644,9 @@ namespace Aws Aws::Crt::Allocator *allocator = Aws::Crt::g_allocator) noexcept; /** * Used to activate a stream for the `SubscribeToComponentUpdatesOperation` - * @param request The request used for the - * `SubscribeToComponentUpdatesOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param request The request used for the `SubscribeToComponentUpdatesOperation` + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const SubscribeToComponentUpdatesRequest &request, @@ -5912,10 +6710,8 @@ namespace Aws /** * Used to activate a stream for the `ListLocalDeploymentsOperation` * @param request The request used for the `ListLocalDeploymentsOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const ListLocalDeploymentsRequest &request, @@ -5977,10 +6773,8 @@ namespace Aws /** * Used to activate a stream for the `StopComponentOperation` * @param request The request used for the `StopComponentOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const StopComponentRequest &request, @@ -6042,10 +6836,8 @@ namespace Aws /** * Used to activate a stream for the `PauseComponentOperation` * @param request The request used for the `PauseComponentOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const PauseComponentRequest &request, @@ -6109,10 +6901,8 @@ namespace Aws /** * Used to activate a stream for the `CreateLocalDeploymentOperation` * @param request The request used for the `CreateLocalDeploymentOperation` - * @param onMessageFlushCallback An optional callback that is invoked when the - * request is flushed. - * @return An `RpcError` that can be used to check whether the stream was - * activated. + * @param onMessageFlushCallback An optional callback that is invoked when the request is flushed. + * @return An `RpcError` that can be used to check whether the stream was activated. */ std::future Activate( const CreateLocalDeploymentRequest &request,