7#include <aws/controltower/ControlTower_EXPORTS.h>
8#include <aws/controltower/model/ControlOperationStatus.h>
9#include <aws/controltower/model/ControlOperationType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
22namespace ControlTower {
44 m_operationTypeHasBeenSet =
true;
45 m_operationType = value;
59 template <
typename StartTimeT = Aws::Utils::DateTime>
61 m_startTimeHasBeenSet =
true;
62 m_startTime = std::forward<StartTimeT>(value);
64 template <
typename StartTimeT = Aws::Utils::DateTime>
77 template <
typename EndTimeT = Aws::Utils::DateTime>
79 m_endTimeHasBeenSet =
true;
80 m_endTime = std::forward<EndTimeT>(value);
82 template <
typename EndTimeT = Aws::Utils::DateTime>
97 m_statusHasBeenSet =
true;
113 template <
typename StatusMessageT = Aws::String>
115 m_statusMessageHasBeenSet =
true;
116 m_statusMessage = std::forward<StatusMessageT>(value);
118 template <
typename StatusMessageT = Aws::String>
131 template <
typename OperationIdentifierT = Aws::String>
133 m_operationIdentifierHasBeenSet =
true;
134 m_operationIdentifier = std::forward<OperationIdentifierT>(value);
136 template <
typename OperationIdentifierT = Aws::String>
149 template <
typename ControlIdentifierT = Aws::String>
151 m_controlIdentifierHasBeenSet =
true;
152 m_controlIdentifier = std::forward<ControlIdentifierT>(value);
154 template <
typename ControlIdentifierT = Aws::String>
167 template <
typename TargetIdentifierT = Aws::String>
169 m_targetIdentifierHasBeenSet =
true;
170 m_targetIdentifier = std::forward<TargetIdentifierT>(value);
172 template <
typename TargetIdentifierT = Aws::String>
185 template <
typename EnabledControlIdentifierT = Aws::String>
187 m_enabledControlIdentifierHasBeenSet =
true;
188 m_enabledControlIdentifier = std::forward<EnabledControlIdentifierT>(value);
190 template <
typename EnabledControlIdentifierT = Aws::String>
214 bool m_operationTypeHasBeenSet =
false;
215 bool m_startTimeHasBeenSet =
false;
216 bool m_endTimeHasBeenSet =
false;
217 bool m_statusHasBeenSet =
false;
218 bool m_statusMessageHasBeenSet =
false;
219 bool m_operationIdentifierHasBeenSet =
false;
220 bool m_controlIdentifierHasBeenSet =
false;
221 bool m_targetIdentifierHasBeenSet =
false;
222 bool m_enabledControlIdentifierHasBeenSet =
false;
bool ControlIdentifierHasBeenSet() const
AWS_CONTROLTOWER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONTROLTOWER_API ControlOperation()=default
const Aws::String & GetControlIdentifier() const
bool OperationTypeHasBeenSet() const
bool StatusMessageHasBeenSet() const
void SetEnabledControlIdentifier(EnabledControlIdentifierT &&value)
ControlOperationType GetOperationType() const
ControlOperationStatus GetStatus() const
void SetTargetIdentifier(TargetIdentifierT &&value)
bool OperationIdentifierHasBeenSet() const
void SetOperationType(ControlOperationType value)
ControlOperation & WithOperationIdentifier(OperationIdentifierT &&value)
void SetStatusMessage(StatusMessageT &&value)
ControlOperation & WithTargetIdentifier(TargetIdentifierT &&value)
const Aws::String & GetEnabledControlIdentifier() const
void SetOperationIdentifier(OperationIdentifierT &&value)
const Aws::Utils::DateTime & GetEndTime() const
bool StartTimeHasBeenSet() const
ControlOperation & WithControlIdentifier(ControlIdentifierT &&value)
const Aws::Utils::DateTime & GetStartTime() const
const Aws::String & GetStatusMessage() const
void SetEndTime(EndTimeT &&value)
AWS_CONTROLTOWER_API ControlOperation & operator=(Aws::Utils::Json::JsonView jsonValue)
ControlOperation & WithOperationType(ControlOperationType value)
ControlOperation & WithStartTime(StartTimeT &&value)
ControlOperation & WithEndTime(EndTimeT &&value)
void SetControlIdentifier(ControlIdentifierT &&value)
void SetStatus(ControlOperationStatus value)
ControlOperation & WithStatusMessage(StatusMessageT &&value)
bool EnabledControlIdentifierHasBeenSet() const
void SetStartTime(StartTimeT &&value)
bool EndTimeHasBeenSet() const
bool TargetIdentifierHasBeenSet() const
bool StatusHasBeenSet() const
const Aws::String & GetTargetIdentifier() const
const Aws::String & GetOperationIdentifier() const
AWS_CONTROLTOWER_API ControlOperation(Aws::Utils::Json::JsonView jsonValue)
ControlOperation & WithEnabledControlIdentifier(EnabledControlIdentifierT &&value)
ControlOperation & WithStatus(ControlOperationStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue