AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ControlOperationSummary.h
1
6#pragma once
7#include <aws/controltower/ControlTower_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/controltower/model/ControlOperationType.h>
11#include <aws/controltower/model/ControlOperationStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace ControlTower
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_CONTROLTOWER_API ControlOperationSummary();
39 AWS_CONTROLTOWER_API ControlOperationSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CONTROLTOWER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetControlIdentifier() const{ return m_controlIdentifier; }
49 inline bool ControlIdentifierHasBeenSet() const { return m_controlIdentifierHasBeenSet; }
50 inline void SetControlIdentifier(const Aws::String& value) { m_controlIdentifierHasBeenSet = true; m_controlIdentifier = value; }
51 inline void SetControlIdentifier(Aws::String&& value) { m_controlIdentifierHasBeenSet = true; m_controlIdentifier = std::move(value); }
52 inline void SetControlIdentifier(const char* value) { m_controlIdentifierHasBeenSet = true; m_controlIdentifier.assign(value); }
54 inline ControlOperationSummary& WithControlIdentifier(Aws::String&& value) { SetControlIdentifier(std::move(value)); return *this;}
55 inline ControlOperationSummary& WithControlIdentifier(const char* value) { SetControlIdentifier(value); return *this;}
57
59
62 inline const Aws::String& GetEnabledControlIdentifier() const{ return m_enabledControlIdentifier; }
63 inline bool EnabledControlIdentifierHasBeenSet() const { return m_enabledControlIdentifierHasBeenSet; }
64 inline void SetEnabledControlIdentifier(const Aws::String& value) { m_enabledControlIdentifierHasBeenSet = true; m_enabledControlIdentifier = value; }
65 inline void SetEnabledControlIdentifier(Aws::String&& value) { m_enabledControlIdentifierHasBeenSet = true; m_enabledControlIdentifier = std::move(value); }
66 inline void SetEnabledControlIdentifier(const char* value) { m_enabledControlIdentifierHasBeenSet = true; m_enabledControlIdentifier.assign(value); }
69 inline ControlOperationSummary& WithEnabledControlIdentifier(const char* value) { SetEnabledControlIdentifier(value); return *this;}
71
73
76 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
77 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
78 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
79 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
80 inline ControlOperationSummary& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
81 inline ControlOperationSummary& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
83
85
88 inline const Aws::String& GetOperationIdentifier() const{ return m_operationIdentifier; }
89 inline bool OperationIdentifierHasBeenSet() const { return m_operationIdentifierHasBeenSet; }
90 inline void SetOperationIdentifier(const Aws::String& value) { m_operationIdentifierHasBeenSet = true; m_operationIdentifier = value; }
91 inline void SetOperationIdentifier(Aws::String&& value) { m_operationIdentifierHasBeenSet = true; m_operationIdentifier = std::move(value); }
92 inline void SetOperationIdentifier(const char* value) { m_operationIdentifierHasBeenSet = true; m_operationIdentifier.assign(value); }
94 inline ControlOperationSummary& WithOperationIdentifier(Aws::String&& value) { SetOperationIdentifier(std::move(value)); return *this;}
95 inline ControlOperationSummary& WithOperationIdentifier(const char* value) { SetOperationIdentifier(value); return *this;}
97
99
102 inline const ControlOperationType& GetOperationType() const{ return m_operationType; }
103 inline bool OperationTypeHasBeenSet() const { return m_operationTypeHasBeenSet; }
104 inline void SetOperationType(const ControlOperationType& value) { m_operationTypeHasBeenSet = true; m_operationType = value; }
105 inline void SetOperationType(ControlOperationType&& value) { m_operationTypeHasBeenSet = true; m_operationType = std::move(value); }
107 inline ControlOperationSummary& WithOperationType(ControlOperationType&& value) { SetOperationType(std::move(value)); return *this;}
109
111
114 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
115 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
116 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
117 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
118 inline ControlOperationSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
119 inline ControlOperationSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
121
123
126 inline const ControlOperationStatus& GetStatus() const{ return m_status; }
127 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
128 inline void SetStatus(const ControlOperationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
129 inline void SetStatus(ControlOperationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
130 inline ControlOperationSummary& WithStatus(const ControlOperationStatus& value) { SetStatus(value); return *this;}
131 inline ControlOperationSummary& WithStatus(ControlOperationStatus&& value) { SetStatus(std::move(value)); return *this;}
133
135
138 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
139 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
140 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
141 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
142 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
143 inline ControlOperationSummary& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
144 inline ControlOperationSummary& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
145 inline ControlOperationSummary& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
147
149
152 inline const Aws::String& GetTargetIdentifier() const{ return m_targetIdentifier; }
153 inline bool TargetIdentifierHasBeenSet() const { return m_targetIdentifierHasBeenSet; }
154 inline void SetTargetIdentifier(const Aws::String& value) { m_targetIdentifierHasBeenSet = true; m_targetIdentifier = value; }
155 inline void SetTargetIdentifier(Aws::String&& value) { m_targetIdentifierHasBeenSet = true; m_targetIdentifier = std::move(value); }
156 inline void SetTargetIdentifier(const char* value) { m_targetIdentifierHasBeenSet = true; m_targetIdentifier.assign(value); }
158 inline ControlOperationSummary& WithTargetIdentifier(Aws::String&& value) { SetTargetIdentifier(std::move(value)); return *this;}
159 inline ControlOperationSummary& WithTargetIdentifier(const char* value) { SetTargetIdentifier(value); return *this;}
161 private:
162
163 Aws::String m_controlIdentifier;
164 bool m_controlIdentifierHasBeenSet = false;
165
166 Aws::String m_enabledControlIdentifier;
167 bool m_enabledControlIdentifierHasBeenSet = false;
168
169 Aws::Utils::DateTime m_endTime;
170 bool m_endTimeHasBeenSet = false;
171
172 Aws::String m_operationIdentifier;
173 bool m_operationIdentifierHasBeenSet = false;
174
175 ControlOperationType m_operationType;
176 bool m_operationTypeHasBeenSet = false;
177
178 Aws::Utils::DateTime m_startTime;
179 bool m_startTimeHasBeenSet = false;
180
181 ControlOperationStatus m_status;
182 bool m_statusHasBeenSet = false;
183
184 Aws::String m_statusMessage;
185 bool m_statusMessageHasBeenSet = false;
186
187 Aws::String m_targetIdentifier;
188 bool m_targetIdentifierHasBeenSet = false;
189 };
190
191} // namespace Model
192} // namespace ControlTower
193} // namespace Aws
ControlOperationSummary & WithOperationType(const ControlOperationType &value)
ControlOperationSummary & WithEnabledControlIdentifier(const Aws::String &value)
AWS_CONTROLTOWER_API ControlOperationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ControlOperationSummary & WithStartTime(Aws::Utils::DateTime &&value)
ControlOperationSummary & WithStartTime(const Aws::Utils::DateTime &value)
ControlOperationSummary & WithTargetIdentifier(const char *value)
ControlOperationSummary & WithEnabledControlIdentifier(Aws::String &&value)
const ControlOperationType & GetOperationType() const
ControlOperationSummary & WithOperationIdentifier(const Aws::String &value)
AWS_CONTROLTOWER_API ControlOperationSummary(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const ControlOperationStatus &value)
ControlOperationSummary & WithControlIdentifier(const char *value)
ControlOperationSummary & WithStatusMessage(const char *value)
void SetEndTime(const Aws::Utils::DateTime &value)
ControlOperationSummary & WithEnabledControlIdentifier(const char *value)
ControlOperationSummary & WithStatusMessage(Aws::String &&value)
ControlOperationSummary & WithTargetIdentifier(Aws::String &&value)
ControlOperationSummary & WithEndTime(const Aws::Utils::DateTime &value)
void SetOperationType(const ControlOperationType &value)
ControlOperationSummary & WithControlIdentifier(const Aws::String &value)
ControlOperationSummary & WithTargetIdentifier(const Aws::String &value)
ControlOperationSummary & WithStatus(ControlOperationStatus &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
ControlOperationSummary & WithControlIdentifier(Aws::String &&value)
AWS_CONTROLTOWER_API Aws::Utils::Json::JsonValue Jsonize() const
ControlOperationSummary & WithStatusMessage(const Aws::String &value)
ControlOperationSummary & WithOperationIdentifier(const char *value)
ControlOperationSummary & WithStatus(const ControlOperationStatus &value)
ControlOperationSummary & WithEndTime(Aws::Utils::DateTime &&value)
ControlOperationSummary & WithOperationType(ControlOperationType &&value)
ControlOperationSummary & WithOperationIdentifier(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue