7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lightsail/model/ResourceType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/lightsail/model/ResourceLocation.h>
12#include <aws/lightsail/model/OperationType.h>
13#include <aws/lightsail/model/OperationStatus.h>
51 template<
typename IdT = Aws::String>
52 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
53 template<
typename IdT = Aws::String>
63 template<
typename ResourceNameT = Aws::String>
64 void SetResourceName(ResourceNameT&& value) { m_resourceNameHasBeenSet =
true; m_resourceName = std::forward<ResourceNameT>(value); }
65 template<
typename ResourceNameT = Aws::String>
86 template<
typename CreatedAtT = Aws::Utils::DateTime>
87 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
88 template<
typename CreatedAtT = Aws::Utils::DateTime>
98 template<
typename LocationT = ResourceLocation>
99 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
100 template<
typename LocationT = ResourceLocation>
110 inline void SetIsTerminal(
bool value) { m_isTerminalHasBeenSet =
true; m_isTerminal = value; }
120 template<
typename OperationDetailsT = Aws::String>
121 void SetOperationDetails(OperationDetailsT&& value) { m_operationDetailsHasBeenSet =
true; m_operationDetails = std::forward<OperationDetailsT>(value); }
122 template<
typename OperationDetailsT = Aws::String>
152 template<
typename StatusChangedAtT = Aws::Utils::DateTime>
153 void SetStatusChangedAt(StatusChangedAtT&& value) { m_statusChangedAtHasBeenSet =
true; m_statusChangedAt = std::forward<StatusChangedAtT>(value); }
154 template<
typename StatusChangedAtT = Aws::Utils::DateTime>
164 template<
typename ErrorCodeT = Aws::String>
165 void SetErrorCode(ErrorCodeT&& value) { m_errorCodeHasBeenSet =
true; m_errorCode = std::forward<ErrorCodeT>(value); }
166 template<
typename ErrorCodeT = Aws::String>
176 template<
typename ErrorDetailsT = Aws::String>
177 void SetErrorDetails(ErrorDetailsT&& value) { m_errorDetailsHasBeenSet =
true; m_errorDetails = std::forward<ErrorDetailsT>(value); }
178 template<
typename ErrorDetailsT = Aws::String>
184 bool m_idHasBeenSet =
false;
187 bool m_resourceNameHasBeenSet =
false;
190 bool m_resourceTypeHasBeenSet =
false;
193 bool m_createdAtHasBeenSet =
false;
195 ResourceLocation m_location;
196 bool m_locationHasBeenSet =
false;
198 bool m_isTerminal{
false};
199 bool m_isTerminalHasBeenSet =
false;
202 bool m_operationDetailsHasBeenSet =
false;
205 bool m_operationTypeHasBeenSet =
false;
208 bool m_statusHasBeenSet =
false;
211 bool m_statusChangedAtHasBeenSet =
false;
214 bool m_errorCodeHasBeenSet =
false;
217 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