AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DescribeExecutionResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/snow-device-management/SnowDeviceManagement_EXPORTS.h>
10#include <aws/snow-device-management/model/ExecutionState.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace SnowDeviceManagement {
24namespace Model {
26 public:
27 AWS_SNOWDEVICEMANAGEMENT_API DescribeExecutionResult() = default;
30
32
35 inline const Aws::String& GetExecutionId() const { return m_executionId; }
36 template <typename ExecutionIdT = Aws::String>
37 void SetExecutionId(ExecutionIdT&& value) {
38 m_executionIdHasBeenSet = true;
39 m_executionId = std::forward<ExecutionIdT>(value);
40 }
41 template <typename ExecutionIdT = Aws::String>
43 SetExecutionId(std::forward<ExecutionIdT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
53 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
54 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
55 m_lastUpdatedAtHasBeenSet = true;
56 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
57 }
58 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
59 DescribeExecutionResult& WithLastUpdatedAt(LastUpdatedAtT&& value) {
60 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetManagedDeviceId() const { return m_managedDeviceId; }
70 template <typename ManagedDeviceIdT = Aws::String>
71 void SetManagedDeviceId(ManagedDeviceIdT&& value) {
72 m_managedDeviceIdHasBeenSet = true;
73 m_managedDeviceId = std::forward<ManagedDeviceIdT>(value);
74 }
75 template <typename ManagedDeviceIdT = Aws::String>
76 DescribeExecutionResult& WithManagedDeviceId(ManagedDeviceIdT&& value) {
77 SetManagedDeviceId(std::forward<ManagedDeviceIdT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
87 template <typename StartedAtT = Aws::Utils::DateTime>
88 void SetStartedAt(StartedAtT&& value) {
89 m_startedAtHasBeenSet = true;
90 m_startedAt = std::forward<StartedAtT>(value);
91 }
92 template <typename StartedAtT = Aws::Utils::DateTime>
94 SetStartedAt(std::forward<StartedAtT>(value));
95 return *this;
96 }
98
100
103 inline ExecutionState GetState() const { return m_state; }
104 inline void SetState(ExecutionState value) {
105 m_stateHasBeenSet = true;
106 m_state = value;
107 }
109 SetState(value);
110 return *this;
111 }
113
115
118 inline const Aws::String& GetTaskId() const { return m_taskId; }
119 template <typename TaskIdT = Aws::String>
120 void SetTaskId(TaskIdT&& value) {
121 m_taskIdHasBeenSet = true;
122 m_taskId = std::forward<TaskIdT>(value);
123 }
124 template <typename TaskIdT = Aws::String>
126 SetTaskId(std::forward<TaskIdT>(value));
127 return *this;
128 }
130
132
133 inline const Aws::String& GetRequestId() const { return m_requestId; }
134 template <typename RequestIdT = Aws::String>
135 void SetRequestId(RequestIdT&& value) {
136 m_requestIdHasBeenSet = true;
137 m_requestId = std::forward<RequestIdT>(value);
138 }
139 template <typename RequestIdT = Aws::String>
141 SetRequestId(std::forward<RequestIdT>(value));
142 return *this;
143 }
145 private:
146 Aws::String m_executionId;
147
148 Aws::Utils::DateTime m_lastUpdatedAt{};
149
150 Aws::String m_managedDeviceId;
151
152 Aws::Utils::DateTime m_startedAt{};
153
155
156 Aws::String m_taskId;
157
158 Aws::String m_requestId;
159 bool m_executionIdHasBeenSet = false;
160 bool m_lastUpdatedAtHasBeenSet = false;
161 bool m_managedDeviceIdHasBeenSet = false;
162 bool m_startedAtHasBeenSet = false;
163 bool m_stateHasBeenSet = false;
164 bool m_taskIdHasBeenSet = false;
165 bool m_requestIdHasBeenSet = false;
166};
167
168} // namespace Model
169} // namespace SnowDeviceManagement
170} // namespace Aws
DescribeExecutionResult & WithManagedDeviceId(ManagedDeviceIdT &&value)
DescribeExecutionResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
AWS_SNOWDEVICEMANAGEMENT_API DescribeExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeExecutionResult & WithState(ExecutionState value)
DescribeExecutionResult & WithExecutionId(ExecutionIdT &&value)
AWS_SNOWDEVICEMANAGEMENT_API DescribeExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeExecutionResult & WithRequestId(RequestIdT &&value)
AWS_SNOWDEVICEMANAGEMENT_API DescribeExecutionResult()=default
DescribeExecutionResult & WithStartedAt(StartedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue