AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFlowExecutionId(const Aws::String& value) { m_flowExecutionIdHasBeenSet = true; m_flowExecutionId = value; }
50 inline void SetFlowExecutionId(Aws::String&& value) { m_flowExecutionIdHasBeenSet = true; m_flowExecutionId = std::move(value); }
51 inline void SetFlowExecutionId(const char* value) { m_flowExecutionIdHasBeenSet = true; m_flowExecutionId.assign(value); }
52 inline FlowExecutionSummary& WithFlowExecutionId(const Aws::String& value) { SetFlowExecutionId(value); return *this;}
53 inline FlowExecutionSummary& WithFlowExecutionId(Aws::String&& value) { SetFlowExecutionId(std::move(value)); return *this;}
54 inline FlowExecutionSummary& WithFlowExecutionId(const char* value) { SetFlowExecutionId(value); return *this;}
56
58
61 inline const FlowExecutionStatus& GetStatus() const{ return m_status; }
62 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
63 inline void SetStatus(const FlowExecutionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
64 inline void SetStatus(FlowExecutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
65 inline FlowExecutionSummary& WithStatus(const FlowExecutionStatus& value) { SetStatus(value); return *this;}
66 inline FlowExecutionSummary& WithStatus(FlowExecutionStatus&& value) { SetStatus(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetSystemInstanceId() const{ return m_systemInstanceId; }
74 inline bool SystemInstanceIdHasBeenSet() const { return m_systemInstanceIdHasBeenSet; }
75 inline void SetSystemInstanceId(const Aws::String& value) { m_systemInstanceIdHasBeenSet = true; m_systemInstanceId = value; }
76 inline void SetSystemInstanceId(Aws::String&& value) { m_systemInstanceIdHasBeenSet = true; m_systemInstanceId = std::move(value); }
77 inline void SetSystemInstanceId(const char* value) { m_systemInstanceIdHasBeenSet = true; m_systemInstanceId.assign(value); }
78 inline FlowExecutionSummary& WithSystemInstanceId(const Aws::String& value) { SetSystemInstanceId(value); return *this;}
79 inline FlowExecutionSummary& WithSystemInstanceId(Aws::String&& value) { SetSystemInstanceId(std::move(value)); return *this;}
80 inline FlowExecutionSummary& WithSystemInstanceId(const char* value) { SetSystemInstanceId(value); return *this;}
82
84
87 inline const Aws::String& GetFlowTemplateId() const{ return m_flowTemplateId; }
88 inline bool FlowTemplateIdHasBeenSet() const { return m_flowTemplateIdHasBeenSet; }
89 inline void SetFlowTemplateId(const Aws::String& value) { m_flowTemplateIdHasBeenSet = true; m_flowTemplateId = value; }
90 inline void SetFlowTemplateId(Aws::String&& value) { m_flowTemplateIdHasBeenSet = true; m_flowTemplateId = std::move(value); }
91 inline void SetFlowTemplateId(const char* value) { m_flowTemplateIdHasBeenSet = true; m_flowTemplateId.assign(value); }
92 inline FlowExecutionSummary& WithFlowTemplateId(const Aws::String& value) { SetFlowTemplateId(value); return *this;}
93 inline FlowExecutionSummary& WithFlowTemplateId(Aws::String&& value) { SetFlowTemplateId(std::move(value)); return *this;}
94 inline FlowExecutionSummary& WithFlowTemplateId(const char* value) { SetFlowTemplateId(value); return *this;}
96
98
101 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
102 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
103 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
104 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
105 inline FlowExecutionSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
106 inline FlowExecutionSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
108
110
113 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
114 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
115 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
116 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
117 inline FlowExecutionSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
118 inline FlowExecutionSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
120 private:
121
122 Aws::String m_flowExecutionId;
123 bool m_flowExecutionIdHasBeenSet = false;
124
125 FlowExecutionStatus m_status;
126 bool m_statusHasBeenSet = false;
127
128 Aws::String m_systemInstanceId;
129 bool m_systemInstanceIdHasBeenSet = false;
130
131 Aws::String m_flowTemplateId;
132 bool m_flowTemplateIdHasBeenSet = false;
133
134 Aws::Utils::DateTime m_createdAt;
135 bool m_createdAtHasBeenSet = false;
136
137 Aws::Utils::DateTime m_updatedAt;
138 bool m_updatedAtHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace IoTThingsGraph
143} // namespace Aws
AWS_IOTTHINGSGRAPH_API FlowExecutionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetStatus(const FlowExecutionStatus &value)
FlowExecutionSummary & WithSystemInstanceId(Aws::String &&value)
FlowExecutionSummary & WithFlowTemplateId(const Aws::String &value)
const FlowExecutionStatus & GetStatus() const
void SetUpdatedAt(const Aws::Utils::DateTime &value)
FlowExecutionSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
FlowExecutionSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
FlowExecutionSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
FlowExecutionSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
FlowExecutionSummary & WithSystemInstanceId(const char *value)
const Aws::Utils::DateTime & GetCreatedAt() const
FlowExecutionSummary & WithFlowExecutionId(Aws::String &&value)
AWS_IOTTHINGSGRAPH_API FlowExecutionSummary(Aws::Utils::Json::JsonView jsonValue)
FlowExecutionSummary & WithSystemInstanceId(const Aws::String &value)
FlowExecutionSummary & WithFlowExecutionId(const Aws::String &value)
FlowExecutionSummary & WithFlowTemplateId(Aws::String &&value)
FlowExecutionSummary & WithStatus(const FlowExecutionStatus &value)
FlowExecutionSummary & WithFlowExecutionId(const char *value)
FlowExecutionSummary & WithStatus(FlowExecutionStatus &&value)
FlowExecutionSummary & WithFlowTemplateId(const char *value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_IOTTHINGSGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue