AWS IoT Device SDK C++ v2  1.43.1
AWS IoT Device SDK C++ v2
CommandExecutionEvent.h
Go to the documentation of this file.
1 #pragma once
2 
3 /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
4  * SPDX-License-Identifier: Apache-2.0.
5  *
6  * This file is generated
7  */
8 
10 
11 #include <aws/crt/JsonObject.h>
12 #include <aws/crt/StlAllocator.h>
13 
14 namespace Aws
15 {
16  namespace Iotcommands
17  {
18 
24  {
25  public:
26  CommandExecutionEvent() = default;
27 
29  CommandExecutionEvent &operator=(const Crt::JsonView &doc);
30 
31  void SerializeToObject(Crt::JsonObject &doc) const;
32 
38 
45 
52 
58 
59  void SetExecutionId(Aws::Crt::ByteCursor value);
60 
61  void SetPayload(Aws::Crt::ByteCursor payload);
62 
63  void SetContentType(Aws::Crt::ByteCursor contentType);
64 
65  void SetTimeout(int32_t messageExpiryInterval);
66 
67  private:
68  static void LoadFromObject(CommandExecutionEvent &obj, const Crt::JsonView &doc);
69  };
70  } // namespace Iotcommands
71 } // namespace Aws
Exports.h
JsonObject.h
StlAllocator.h
Aws::Crt::JsonView
Definition: JsonObject.h:248
AWS_IOTCOMMANDS_API
#define AWS_IOTCOMMANDS_API
Definition: Exports.h:20
Aws::Iotcommands::CommandExecutionEvent
Definition: CommandExecutionEvent.h:24
Aws::Crt::Optional
Definition: Optional.h:19
Aws::Iotcommands::CommandExecutionEvent::Payload
Aws::Crt::Optional< Aws::Crt::Vector< uint8_t > > Payload
Definition: CommandExecutionEvent.h:37
Aws::Iotcommands::CommandExecutionEvent::ContentType
Aws::Crt::Optional< Aws::Crt::String > ContentType
Definition: CommandExecutionEvent.h:51
Aws::Crt::JsonObject
Definition: JsonObject.h:21
Aws::Iotcommands::CommandExecutionEvent::Timeout
Aws::Crt::Optional< int32_t > Timeout
Definition: CommandExecutionEvent.h:57
Aws
Definition: Allocator.h:11
Aws::Crt::ByteCursor
aws_byte_cursor ByteCursor
Definition: Types.h:31
Aws::Iotcommands::CommandExecutionEvent::ExecutionId
Aws::Crt::Optional< Aws::Crt::String > ExecutionId
Definition: CommandExecutionEvent.h:44
Aws::Iotcommands::CommandExecutionEvent::CommandExecutionEvent
CommandExecutionEvent()=default