AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
FlowExecutionSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotthingsgraph/IoTThingsGraph_EXPORTS.h>
10#include <aws/iotthingsgraph/model/FlowExecutionStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTThingsGraph {
22namespace Model {
23
31 public:
32 AWS_IOTTHINGSGRAPH_API FlowExecutionSummary() = default;
33 AWS_IOTTHINGSGRAPH_API FlowExecutionSummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IOTTHINGSGRAPH_API FlowExecutionSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_IOTTHINGSGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetFlowExecutionId() const { return m_flowExecutionId; }
42 inline bool FlowExecutionIdHasBeenSet() const { return m_flowExecutionIdHasBeenSet; }
43 template <typename FlowExecutionIdT = Aws::String>
44 void SetFlowExecutionId(FlowExecutionIdT&& value) {
45 m_flowExecutionIdHasBeenSet = true;
46 m_flowExecutionId = std::forward<FlowExecutionIdT>(value);
47 }
48 template <typename FlowExecutionIdT = Aws::String>
49 FlowExecutionSummary& WithFlowExecutionId(FlowExecutionIdT&& value) {
50 SetFlowExecutionId(std::forward<FlowExecutionIdT>(value));
51 return *this;
52 }
54
56
59 inline FlowExecutionStatus GetStatus() const { return m_status; }
60 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
61 inline void SetStatus(FlowExecutionStatus value) {
62 m_statusHasBeenSet = true;
63 m_status = value;
64 }
66 SetStatus(value);
67 return *this;
68 }
70
72
75 inline const Aws::String& GetSystemInstanceId() const { return m_systemInstanceId; }
76 inline bool SystemInstanceIdHasBeenSet() const { return m_systemInstanceIdHasBeenSet; }
77 template <typename SystemInstanceIdT = Aws::String>
78 void SetSystemInstanceId(SystemInstanceIdT&& value) {
79 m_systemInstanceIdHasBeenSet = true;
80 m_systemInstanceId = std::forward<SystemInstanceIdT>(value);
81 }
82 template <typename SystemInstanceIdT = Aws::String>
83 FlowExecutionSummary& WithSystemInstanceId(SystemInstanceIdT&& value) {
84 SetSystemInstanceId(std::forward<SystemInstanceIdT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetFlowTemplateId() const { return m_flowTemplateId; }
94 inline bool FlowTemplateIdHasBeenSet() const { return m_flowTemplateIdHasBeenSet; }
95 template <typename FlowTemplateIdT = Aws::String>
96 void SetFlowTemplateId(FlowTemplateIdT&& value) {
97 m_flowTemplateIdHasBeenSet = true;
98 m_flowTemplateId = std::forward<FlowTemplateIdT>(value);
99 }
100 template <typename FlowTemplateIdT = Aws::String>
101 FlowExecutionSummary& WithFlowTemplateId(FlowTemplateIdT&& value) {
102 SetFlowTemplateId(std::forward<FlowTemplateIdT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
112 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
113 template <typename CreatedAtT = Aws::Utils::DateTime>
114 void SetCreatedAt(CreatedAtT&& value) {
115 m_createdAtHasBeenSet = true;
116 m_createdAt = std::forward<CreatedAtT>(value);
117 }
118 template <typename CreatedAtT = Aws::Utils::DateTime>
119 FlowExecutionSummary& WithCreatedAt(CreatedAtT&& value) {
120 SetCreatedAt(std::forward<CreatedAtT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
130 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
131 template <typename UpdatedAtT = Aws::Utils::DateTime>
132 void SetUpdatedAt(UpdatedAtT&& value) {
133 m_updatedAtHasBeenSet = true;
134 m_updatedAt = std::forward<UpdatedAtT>(value);
135 }
136 template <typename UpdatedAtT = Aws::Utils::DateTime>
137 FlowExecutionSummary& WithUpdatedAt(UpdatedAtT&& value) {
138 SetUpdatedAt(std::forward<UpdatedAtT>(value));
139 return *this;
140 }
142 private:
143 Aws::String m_flowExecutionId;
144
146
147 Aws::String m_systemInstanceId;
148
149 Aws::String m_flowTemplateId;
150
151 Aws::Utils::DateTime m_createdAt{};
152
153 Aws::Utils::DateTime m_updatedAt{};
154 bool m_flowExecutionIdHasBeenSet = false;
155 bool m_statusHasBeenSet = false;
156 bool m_systemInstanceIdHasBeenSet = false;
157 bool m_flowTemplateIdHasBeenSet = false;
158 bool m_createdAtHasBeenSet = false;
159 bool m_updatedAtHasBeenSet = false;
160};
161
162} // namespace Model
163} // namespace IoTThingsGraph
164} // namespace Aws
AWS_IOTTHINGSGRAPH_API FlowExecutionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedAt() const
FlowExecutionSummary & WithStatus(FlowExecutionStatus value)
AWS_IOTTHINGSGRAPH_API FlowExecutionSummary(Aws::Utils::Json::JsonView jsonValue)
FlowExecutionSummary & WithCreatedAt(CreatedAtT &&value)
FlowExecutionSummary & WithUpdatedAt(UpdatedAtT &&value)
AWS_IOTTHINGSGRAPH_API FlowExecutionSummary()=default
FlowExecutionSummary & WithSystemInstanceId(SystemInstanceIdT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_IOTTHINGSGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const
FlowExecutionSummary & WithFlowExecutionId(FlowExecutionIdT &&value)
FlowExecutionSummary & WithFlowTemplateId(FlowTemplateIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue