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>
49 template<
typename ControlIdentifierT = Aws::String>
50 void SetControlIdentifier(ControlIdentifierT&& value) { m_controlIdentifierHasBeenSet =
true; m_controlIdentifier = std::forward<ControlIdentifierT>(value); }
51 template<
typename ControlIdentifierT = Aws::String>
61 template<
typename EnabledControlIdentifierT = Aws::String>
62 void SetEnabledControlIdentifier(EnabledControlIdentifierT&& value) { m_enabledControlIdentifierHasBeenSet =
true; m_enabledControlIdentifier = std::forward<EnabledControlIdentifierT>(value); }
63 template<
typename EnabledControlIdentifierT = Aws::String>
73 template<
typename EndTimeT = Aws::Utils::DateTime>
74 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
75 template<
typename EndTimeT = Aws::Utils::DateTime>
85 template<
typename OperationIdentifierT = Aws::String>
86 void SetOperationIdentifier(OperationIdentifierT&& value) { m_operationIdentifierHasBeenSet =
true; m_operationIdentifier = std::forward<OperationIdentifierT>(value); }
87 template<
typename OperationIdentifierT = Aws::String>
107 template<
typename StartTimeT = Aws::Utils::DateTime>
108 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
109 template<
typename StartTimeT = Aws::Utils::DateTime>
131 template<
typename StatusMessageT = Aws::String>
132 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet =
true; m_statusMessage = std::forward<StatusMessageT>(value); }
133 template<
typename StatusMessageT = Aws::String>
143 template<
typename TargetIdentifierT = Aws::String>
144 void SetTargetIdentifier(TargetIdentifierT&& value) { m_targetIdentifierHasBeenSet =
true; m_targetIdentifier = std::forward<TargetIdentifierT>(value); }
145 template<
typename TargetIdentifierT = Aws::String>
151 bool m_controlIdentifierHasBeenSet =
false;
154 bool m_enabledControlIdentifierHasBeenSet =
false;
157 bool m_endTimeHasBeenSet =
false;
160 bool m_operationIdentifierHasBeenSet =
false;
163 bool m_operationTypeHasBeenSet =
false;
166 bool m_startTimeHasBeenSet =
false;
169 bool m_statusHasBeenSet =
false;
172 bool m_statusMessageHasBeenSet =
false;
175 bool m_targetIdentifierHasBeenSet =
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