AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FlowExecutionSummary.h
1
6#pragma once
7#include <aws/iotthingsgraph/IoTThingsGraph_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotthingsgraph/model/FlowExecutionStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoTThingsGraph
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_IOTTHINGSGRAPH_API FlowExecutionSummary() = default;
38 AWS_IOTTHINGSGRAPH_API FlowExecutionSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTTHINGSGRAPH_API FlowExecutionSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTTHINGSGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetFlowExecutionId() const { return m_flowExecutionId; }
48 inline bool FlowExecutionIdHasBeenSet() const { return m_flowExecutionIdHasBeenSet; }
49 template<typename FlowExecutionIdT = Aws::String>
50 void SetFlowExecutionId(FlowExecutionIdT&& value) { m_flowExecutionIdHasBeenSet = true; m_flowExecutionId = std::forward<FlowExecutionIdT>(value); }
51 template<typename FlowExecutionIdT = Aws::String>
52 FlowExecutionSummary& WithFlowExecutionId(FlowExecutionIdT&& value) { SetFlowExecutionId(std::forward<FlowExecutionIdT>(value)); return *this;}
54
56
59 inline FlowExecutionStatus GetStatus() const { return m_status; }
60 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
61 inline void SetStatus(FlowExecutionStatus value) { m_statusHasBeenSet = true; m_status = value; }
62 inline FlowExecutionSummary& WithStatus(FlowExecutionStatus value) { SetStatus(value); return *this;}
64
66
69 inline const Aws::String& GetSystemInstanceId() const { return m_systemInstanceId; }
70 inline bool SystemInstanceIdHasBeenSet() const { return m_systemInstanceIdHasBeenSet; }
71 template<typename SystemInstanceIdT = Aws::String>
72 void SetSystemInstanceId(SystemInstanceIdT&& value) { m_systemInstanceIdHasBeenSet = true; m_systemInstanceId = std::forward<SystemInstanceIdT>(value); }
73 template<typename SystemInstanceIdT = Aws::String>
74 FlowExecutionSummary& WithSystemInstanceId(SystemInstanceIdT&& value) { SetSystemInstanceId(std::forward<SystemInstanceIdT>(value)); return *this;}
76
78
81 inline const Aws::String& GetFlowTemplateId() const { return m_flowTemplateId; }
82 inline bool FlowTemplateIdHasBeenSet() const { return m_flowTemplateIdHasBeenSet; }
83 template<typename FlowTemplateIdT = Aws::String>
84 void SetFlowTemplateId(FlowTemplateIdT&& value) { m_flowTemplateIdHasBeenSet = true; m_flowTemplateId = std::forward<FlowTemplateIdT>(value); }
85 template<typename FlowTemplateIdT = Aws::String>
86 FlowExecutionSummary& WithFlowTemplateId(FlowTemplateIdT&& value) { SetFlowTemplateId(std::forward<FlowTemplateIdT>(value)); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
94 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
95 template<typename CreatedAtT = Aws::Utils::DateTime>
96 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
97 template<typename CreatedAtT = Aws::Utils::DateTime>
98 FlowExecutionSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
106 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
107 template<typename UpdatedAtT = Aws::Utils::DateTime>
108 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
109 template<typename UpdatedAtT = Aws::Utils::DateTime>
110 FlowExecutionSummary& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
112 private:
113
114 Aws::String m_flowExecutionId;
115 bool m_flowExecutionIdHasBeenSet = false;
116
118 bool m_statusHasBeenSet = false;
119
120 Aws::String m_systemInstanceId;
121 bool m_systemInstanceIdHasBeenSet = false;
122
123 Aws::String m_flowTemplateId;
124 bool m_flowTemplateIdHasBeenSet = false;
125
126 Aws::Utils::DateTime m_createdAt{};
127 bool m_createdAtHasBeenSet = false;
128
129 Aws::Utils::DateTime m_updatedAt{};
130 bool m_updatedAtHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace IoTThingsGraph
135} // 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