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>
52 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
53 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
67 inline void SetResourceName(
const char* value) { m_resourceNameHasBeenSet =
true; m_resourceName.assign(value); }
116 inline void SetIsTerminal(
bool value) { m_isTerminalHasBeenSet =
true; m_isTerminal = value; }
128 inline void SetOperationDetails(
const char* value) { m_operationDetailsHasBeenSet =
true; m_operationDetails.assign(value); }
178 inline void SetErrorCode(
const char* value) { m_errorCodeHasBeenSet =
true; m_errorCode.assign(value); }
192 inline void SetErrorDetails(
const char* value) { m_errorDetailsHasBeenSet =
true; m_errorDetails.assign(value); }
200 bool m_idHasBeenSet =
false;
203 bool m_resourceNameHasBeenSet =
false;
206 bool m_resourceTypeHasBeenSet =
false;
209 bool m_createdAtHasBeenSet =
false;
212 bool m_locationHasBeenSet =
false;
215 bool m_isTerminalHasBeenSet =
false;
218 bool m_operationDetailsHasBeenSet =
false;
221 bool m_operationTypeHasBeenSet =
false;
224 bool m_statusHasBeenSet =
false;
227 bool m_statusChangedAtHasBeenSet =
false;
230 bool m_errorCodeHasBeenSet =
false;
233 bool m_errorDetailsHasBeenSet =
false;
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetOperationDetails(const char *value)
Operation & WithId(const char *value)
bool ResourceNameHasBeenSet() const
Operation & WithId(Aws::String &&value)
bool ErrorCodeHasBeenSet() const
void SetErrorDetails(Aws::String &&value)
bool ResourceTypeHasBeenSet() const
void SetStatus(OperationStatus &&value)
const OperationType & GetOperationType() const
void SetLocation(const ResourceLocation &value)
bool IdHasBeenSet() const
Operation & WithCreatedAt(const Aws::Utils::DateTime &value)
Operation & WithOperationType(OperationType &&value)
void SetResourceType(ResourceType &&value)
void SetId(const char *value)
Operation & WithErrorCode(const char *value)
bool GetIsTerminal() const
AWS_LIGHTSAIL_API Operation()
void SetId(Aws::String &&value)
bool CreatedAtHasBeenSet() const
Operation & WithResourceName(Aws::String &&value)
void SetLocation(ResourceLocation &&value)
Operation & WithOperationType(const OperationType &value)
AWS_LIGHTSAIL_API Operation & operator=(Aws::Utils::Json::JsonView jsonValue)
Operation & WithStatusChangedAt(const Aws::Utils::DateTime &value)
const ResourceLocation & GetLocation() const
Operation & WithId(const Aws::String &value)
const Aws::String & GetOperationDetails() const
Operation & WithLocation(const ResourceLocation &value)
const Aws::String & GetErrorDetails() const
void SetErrorCode(const Aws::String &value)
void SetErrorDetails(const char *value)
Operation & WithErrorDetails(Aws::String &&value)
Operation & WithResourceType(ResourceType &&value)
void SetStatusChangedAt(Aws::Utils::DateTime &&value)
void SetStatusChangedAt(const Aws::Utils::DateTime &value)
void SetOperationDetails(const Aws::String &value)
Operation & WithOperationDetails(Aws::String &&value)
Operation & WithResourceType(const ResourceType &value)
void SetStatus(const OperationStatus &value)
Operation & WithStatusChangedAt(Aws::Utils::DateTime &&value)
Operation & WithResourceName(const Aws::String &value)
void SetResourceName(Aws::String &&value)
Operation & WithErrorCode(Aws::String &&value)
bool OperationDetailsHasBeenSet() const
Operation & WithStatus(const OperationStatus &value)
Operation & WithCreatedAt(Aws::Utils::DateTime &&value)
Operation & WithOperationDetails(const Aws::String &value)
void SetOperationType(OperationType &&value)
void SetResourceType(const ResourceType &value)
Operation & WithLocation(ResourceLocation &&value)
const ResourceType & GetResourceType() const
bool ErrorDetailsHasBeenSet() const
Operation & WithResourceName(const char *value)
bool StatusHasBeenSet() const
void SetResourceName(const Aws::String &value)
void SetOperationDetails(Aws::String &&value)
void SetIsTerminal(bool value)
Operation & WithIsTerminal(bool value)
Operation & WithStatus(OperationStatus &&value)
bool LocationHasBeenSet() const
const Aws::String & GetId() const
void SetErrorCode(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
Operation & WithOperationDetails(const char *value)
const Aws::String & GetErrorCode() const
const Aws::Utils::DateTime & GetStatusChangedAt() const
bool IsTerminalHasBeenSet() const
void SetId(const Aws::String &value)
void SetErrorDetails(const Aws::String &value)
Operation & WithErrorDetails(const Aws::String &value)
Operation & WithErrorDetails(const char *value)
bool StatusChangedAtHasBeenSet() const
Operation & WithErrorCode(const Aws::String &value)
void SetErrorCode(Aws::String &&value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LIGHTSAIL_API Operation(Aws::Utils::Json::JsonView jsonValue)
void SetOperationType(const OperationType &value)
const OperationStatus & GetStatus() const
bool OperationTypeHasBeenSet() const
const Aws::String & GetResourceName() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetResourceName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue