7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workspaces/model/OperatingSystem.h>
10#include <aws/workspaces/model/WorkspaceImageState.h>
11#include <aws/workspaces/model/WorkspaceImageRequiredTenancy.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/workspaces/model/UpdateResult.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/workspaces/model/ErrorDetails.h>
55 inline void SetImageId(
const char* value) { m_imageIdHasBeenSet =
true; m_imageId.assign(value); }
69 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
83 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
137 inline void SetErrorCode(
const char* value) { m_errorCodeHasBeenSet =
true; m_errorCode.assign(value); }
151 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
179 inline void SetOwnerAccountId(
const char* value) { m_ownerAccountIdHasBeenSet =
true; m_ownerAccountId.assign(value); }
214 bool m_imageIdHasBeenSet =
false;
217 bool m_nameHasBeenSet =
false;
220 bool m_descriptionHasBeenSet =
false;
223 bool m_operatingSystemHasBeenSet =
false;
226 bool m_stateHasBeenSet =
false;
229 bool m_requiredTenancyHasBeenSet =
false;
232 bool m_errorCodeHasBeenSet =
false;
235 bool m_errorMessageHasBeenSet =
false;
238 bool m_createdHasBeenSet =
false;
241 bool m_ownerAccountIdHasBeenSet =
false;
244 bool m_updatesHasBeenSet =
false;
247 bool m_errorDetailsHasBeenSet =
false;
const Aws::String & GetErrorCode() const
WorkspaceImage & WithState(WorkspaceImageState &&value)
const Aws::String & GetOwnerAccountId() const
const OperatingSystem & GetOperatingSystem() const
void SetUpdates(UpdateResult &&value)
WorkspaceImage & WithErrorMessage(const char *value)
WorkspaceImage & AddErrorDetails(const ErrorDetails &value)
bool NameHasBeenSet() const
void SetOperatingSystem(const OperatingSystem &value)
WorkspaceImage & WithDescription(const char *value)
WorkspaceImage & WithRequiredTenancy(WorkspaceImageRequiredTenancy &&value)
void SetDescription(const Aws::String &value)
WorkspaceImage & WithImageId(const Aws::String &value)
const WorkspaceImageRequiredTenancy & GetRequiredTenancy() const
bool ErrorCodeHasBeenSet() const
const Aws::String & GetDescription() const
const Aws::String & GetImageId() const
bool DescriptionHasBeenSet() const
AWS_WORKSPACES_API WorkspaceImage & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkspaceImage & WithOwnerAccountId(const char *value)
WorkspaceImage & WithImageId(const char *value)
WorkspaceImage & WithRequiredTenancy(const WorkspaceImageRequiredTenancy &value)
void SetErrorDetails(const Aws::Vector< ErrorDetails > &value)
WorkspaceImage & WithErrorDetails(const Aws::Vector< ErrorDetails > &value)
WorkspaceImage & WithUpdates(const UpdateResult &value)
WorkspaceImage & WithImageId(Aws::String &&value)
void SetDescription(const char *value)
AWS_WORKSPACES_API WorkspaceImage(Aws::Utils::Json::JsonView jsonValue)
void SetErrorCode(Aws::String &&value)
WorkspaceImage & WithErrorMessage(const Aws::String &value)
WorkspaceImage & WithState(const WorkspaceImageState &value)
WorkspaceImage & WithOperatingSystem(const OperatingSystem &value)
const Aws::Vector< ErrorDetails > & GetErrorDetails() const
void SetName(Aws::String &&value)
bool RequiredTenancyHasBeenSet() const
WorkspaceImage & WithErrorDetails(Aws::Vector< ErrorDetails > &&value)
const UpdateResult & GetUpdates() const
WorkspaceImage & WithCreated(const Aws::Utils::DateTime &value)
WorkspaceImage & AddErrorDetails(ErrorDetails &&value)
const Aws::String & GetName() const
void SetErrorDetails(Aws::Vector< ErrorDetails > &&value)
void SetState(const WorkspaceImageState &value)
const Aws::Utils::DateTime & GetCreated() const
void SetOwnerAccountId(Aws::String &&value)
void SetState(WorkspaceImageState &&value)
void SetName(const Aws::String &value)
bool CreatedHasBeenSet() const
bool OwnerAccountIdHasBeenSet() const
void SetErrorMessage(const Aws::String &value)
void SetErrorMessage(const char *value)
WorkspaceImage & WithErrorCode(const Aws::String &value)
bool UpdatesHasBeenSet() const
WorkspaceImage & WithUpdates(UpdateResult &&value)
void SetImageId(const Aws::String &value)
WorkspaceImage & WithOperatingSystem(OperatingSystem &&value)
WorkspaceImage & WithOwnerAccountId(Aws::String &&value)
void SetRequiredTenancy(WorkspaceImageRequiredTenancy &&value)
WorkspaceImage & WithDescription(Aws::String &&value)
bool StateHasBeenSet() const
void SetCreated(const Aws::Utils::DateTime &value)
const WorkspaceImageState & GetState() const
bool ImageIdHasBeenSet() const
void SetImageId(const char *value)
void SetCreated(Aws::Utils::DateTime &&value)
WorkspaceImage & WithOwnerAccountId(const Aws::String &value)
void SetUpdates(const UpdateResult &value)
bool OperatingSystemHasBeenSet() const
void SetImageId(Aws::String &&value)
WorkspaceImage & WithName(Aws::String &&value)
void SetErrorMessage(Aws::String &&value)
bool ErrorDetailsHasBeenSet() const
AWS_WORKSPACES_API WorkspaceImage()
void SetOwnerAccountId(const Aws::String &value)
WorkspaceImage & WithDescription(const Aws::String &value)
void SetDescription(Aws::String &&value)
void SetOperatingSystem(OperatingSystem &&value)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetErrorMessage() const
WorkspaceImage & WithErrorCode(Aws::String &&value)
WorkspaceImage & WithErrorMessage(Aws::String &&value)
bool ErrorMessageHasBeenSet() const
void SetErrorCode(const char *value)
void SetErrorCode(const Aws::String &value)
WorkspaceImage & WithCreated(Aws::Utils::DateTime &&value)
WorkspaceImage & WithName(const Aws::String &value)
void SetRequiredTenancy(const WorkspaceImageRequiredTenancy &value)
void SetName(const char *value)
WorkspaceImage & WithErrorCode(const char *value)
WorkspaceImage & WithName(const char *value)
void SetOwnerAccountId(const char *value)
WorkspaceImageRequiredTenancy
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue