AWS IoT Device SDK C++ v2
1.44.1
AWS IoT Device SDK C++ v2
Toggle main menu visibility
Loading...
Searching...
No Matches
commands
include
aws
iotcommands
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
9
#include <
aws/iotcommands/Exports.h
>
10
11
#include <
aws/crt/JsonObject.h
>
12
#include <
aws/crt/StlAllocator.h
>
13
14
namespace
Aws
15
{
16
namespace
Iotcommands
17
{
18
23
class
AWS_IOTCOMMANDS_API
CommandExecutionEvent
final
24
{
25
public
:
26
CommandExecutionEvent
() =
default
;
27
28
CommandExecutionEvent
(
const
Crt::JsonView
&doc);
29
CommandExecutionEvent
&
operator=
(
const
Crt::JsonView
&doc);
30
31
void
SerializeToObject
(
Crt::JsonObject
&doc)
const
;
32
37
Aws::Crt::Optional<Aws::Crt::Vector<uint8_t>
>
Payload
;
38
44
Aws::Crt::Optional<Aws::Crt::String>
ExecutionId
;
45
51
Aws::Crt::Optional<Aws::Crt::String>
ContentType
;
52
57
Aws::Crt::Optional<int32_t>
Timeout
;
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
JsonObject.h
StlAllocator.h
Aws::Crt::JsonObject
Definition
JsonObject.h:21
Aws::Crt::JsonView
Definition
JsonObject.h:248
Aws::Crt::Optional
Definition
Optional.h:19
Aws::Iotcommands::CommandExecutionEvent::ExecutionId
Aws::Crt::Optional< Aws::Crt::String > ExecutionId
Definition
CommandExecutionEvent.h:44
Aws::Iotcommands::CommandExecutionEvent::CommandExecutionEvent
CommandExecutionEvent()=default
Aws::Iotcommands::CommandExecutionEvent::SerializeToObject
void SerializeToObject(Crt::JsonObject &doc) const
Definition
CommandExecutionEvent.cpp:19
Aws::Iotcommands::CommandExecutionEvent::operator=
CommandExecutionEvent & operator=(const Crt::JsonView &doc)
Definition
CommandExecutionEvent.cpp:29
Aws::Iotcommands::CommandExecutionEvent::Timeout
Aws::Crt::Optional< int32_t > Timeout
Definition
CommandExecutionEvent.h:57
Aws::Iotcommands::CommandExecutionEvent::SetTimeout
void SetTimeout(int32_t messageExpiryInterval)
Definition
CommandExecutionEvent.cpp:50
Aws::Iotcommands::CommandExecutionEvent::SetContentType
void SetContentType(Aws::Crt::ByteCursor contentType)
Definition
CommandExecutionEvent.cpp:45
Aws::Iotcommands::CommandExecutionEvent::Payload
Aws::Crt::Optional< Aws::Crt::Vector< uint8_t > > Payload
Definition
CommandExecutionEvent.h:37
Aws::Iotcommands::CommandExecutionEvent::SetPayload
void SetPayload(Aws::Crt::ByteCursor payload)
Definition
CommandExecutionEvent.cpp:40
Aws::Iotcommands::CommandExecutionEvent::ContentType
Aws::Crt::Optional< Aws::Crt::String > ContentType
Definition
CommandExecutionEvent.h:51
Aws::Iotcommands::CommandExecutionEvent::SetExecutionId
void SetExecutionId(Aws::Crt::ByteCursor value)
Definition
CommandExecutionEvent.cpp:35
Exports.h
AWS_IOTCOMMANDS_API
#define AWS_IOTCOMMANDS_API
Definition
Exports.h:20
Aws::Crt::ByteCursor
aws_byte_cursor ByteCursor
Definition
Types.h:31
Aws::Iotcommands
Definition
CommandExecutionEvent.h:17
Aws
Definition
Allocator.h:11
Generated by
1.17.0