7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lightsail/Lightsail_EXPORTS.h>
10#include <aws/lightsail/model/OperationStatus.h>
11#include <aws/lightsail/model/OperationType.h>
12#include <aws/lightsail/model/ResourceLocation.h>
13#include <aws/lightsail/model/ResourceType.h>
45 template <
typename IdT = Aws::String>
47 m_idHasBeenSet =
true;
48 m_id = std::forward<IdT>(value);
50 template <
typename IdT = Aws::String>
52 SetId(std::forward<IdT>(value));
63 template <
typename ResourceNameT = Aws::String>
65 m_resourceNameHasBeenSet =
true;
66 m_resourceName = std::forward<ResourceNameT>(value);
68 template <
typename ResourceNameT = Aws::String>
82 m_resourceTypeHasBeenSet =
true;
83 m_resourceType = value;
98 template <
typename CreatedAtT = Aws::Utils::DateTime>
100 m_createdAtHasBeenSet =
true;
101 m_createdAt = std::forward<CreatedAtT>(value);
103 template <
typename CreatedAtT = Aws::Utils::DateTime>
116 template <
typename LocationT = ResourceLocation>
118 m_locationHasBeenSet =
true;
119 m_location = std::forward<LocationT>(value);
121 template <
typename LocationT = ResourceLocation>
135 m_isTerminalHasBeenSet =
true;
136 m_isTerminal = value;
150 template <
typename OperationDetailsT = Aws::String>
152 m_operationDetailsHasBeenSet =
true;
153 m_operationDetails = std::forward<OperationDetailsT>(value);
155 template <
typename OperationDetailsT = Aws::String>
169 m_operationTypeHasBeenSet =
true;
170 m_operationType = value;
185 m_statusHasBeenSet =
true;
200 template <
typename StatusChangedAtT = Aws::Utils::DateTime>
202 m_statusChangedAtHasBeenSet =
true;
203 m_statusChangedAt = std::forward<StatusChangedAtT>(value);
205 template <
typename StatusChangedAtT = Aws::Utils::DateTime>
218 template <
typename ErrorCodeT = Aws::String>
220 m_errorCodeHasBeenSet =
true;
221 m_errorCode = std::forward<ErrorCodeT>(value);
223 template <
typename ErrorCodeT = Aws::String>
236 template <
typename ErrorDetailsT = Aws::String>
238 m_errorDetailsHasBeenSet =
true;
239 m_errorDetails = std::forward<ErrorDetailsT>(value);
241 template <
typename ErrorDetailsT = Aws::String>
256 ResourceLocation m_location;
258 bool m_isTerminal{
false};
271 bool m_idHasBeenSet =
false;
272 bool m_resourceNameHasBeenSet =
false;
273 bool m_resourceTypeHasBeenSet =
false;
274 bool m_createdAtHasBeenSet =
false;
275 bool m_locationHasBeenSet =
false;
276 bool m_isTerminalHasBeenSet =
false;
277 bool m_operationDetailsHasBeenSet =
false;
278 bool m_operationTypeHasBeenSet =
false;
279 bool m_statusHasBeenSet =
false;
280 bool m_statusChangedAtHasBeenSet =
false;
281 bool m_errorCodeHasBeenSet =
false;
282 bool m_errorDetailsHasBeenSet =
false;
void SetStatusChangedAt(StatusChangedAtT &&value)
bool ResourceNameHasBeenSet() const
bool ErrorCodeHasBeenSet() const
bool ResourceTypeHasBeenSet() const
bool IdHasBeenSet() const
Operation & WithStatus(OperationStatus value)
Operation & WithResourceType(ResourceType value)
AWS_LIGHTSAIL_API Operation()=default
void SetErrorCode(ErrorCodeT &&value)
void SetOperationDetails(OperationDetailsT &&value)
bool GetIsTerminal() const
void SetResourceName(ResourceNameT &&value)
bool CreatedAtHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
void SetLocation(LocationT &&value)
ResourceType GetResourceType() const
AWS_LIGHTSAIL_API Operation & operator=(Aws::Utils::Json::JsonView jsonValue)
const ResourceLocation & GetLocation() const
const Aws::String & GetOperationDetails() const
Operation & WithOperationType(OperationType value)
const Aws::String & GetErrorDetails() const
void SetErrorDetails(ErrorDetailsT &&value)
Operation & WithErrorDetails(ErrorDetailsT &&value)
void SetOperationType(OperationType value)
bool OperationDetailsHasBeenSet() const
void SetStatus(OperationStatus value)
Operation & WithStatusChangedAt(StatusChangedAtT &&value)
bool ErrorDetailsHasBeenSet() const
bool StatusHasBeenSet() const
OperationType GetOperationType() const
Operation & WithResourceName(ResourceNameT &&value)
Operation & WithOperationDetails(OperationDetailsT &&value)
void SetIsTerminal(bool value)
Operation & WithIsTerminal(bool value)
bool LocationHasBeenSet() const
void SetResourceType(ResourceType value)
const Aws::String & GetId() const
OperationStatus GetStatus() const
Operation & WithId(IdT &&value)
const Aws::String & GetErrorCode() const
Operation & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetStatusChangedAt() const
bool IsTerminalHasBeenSet() const
Operation & WithLocation(LocationT &&value)
bool StatusChangedAtHasBeenSet() const
Operation & WithErrorCode(ErrorCodeT &&value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LIGHTSAIL_API Operation(Aws::Utils::Json::JsonView jsonValue)
bool OperationTypeHasBeenSet() const
const Aws::String & GetResourceName() const
const Aws::Utils::DateTime & GetCreatedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue