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>
53 template<
typename ImageIdT = Aws::String>
54 void SetImageId(ImageIdT&& value) { m_imageIdHasBeenSet =
true; m_imageId = std::forward<ImageIdT>(value); }
55 template<
typename ImageIdT = Aws::String>
65 template<
typename NameT = Aws::String>
66 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
67 template<
typename NameT = Aws::String>
77 template<
typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
79 template<
typename DescriptionT = Aws::String>
89 template<
typename OperatingSystemT = OperatingSystem>
90 void SetOperatingSystem(OperatingSystemT&& value) { m_operatingSystemHasBeenSet =
true; m_operatingSystem = std::forward<OperatingSystemT>(value); }
91 template<
typename OperatingSystemT = OperatingSystem>
125 template<
typename ErrorCodeT = Aws::String>
126 void SetErrorCode(ErrorCodeT&& value) { m_errorCodeHasBeenSet =
true; m_errorCode = std::forward<ErrorCodeT>(value); }
127 template<
typename ErrorCodeT = Aws::String>
137 template<
typename ErrorMessageT = Aws::String>
138 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet =
true; m_errorMessage = std::forward<ErrorMessageT>(value); }
139 template<
typename ErrorMessageT = Aws::String>
151 template<
typename CreatedT = Aws::Utils::DateTime>
152 void SetCreated(CreatedT&& value) { m_createdHasBeenSet =
true; m_created = std::forward<CreatedT>(value); }
153 template<
typename CreatedT = Aws::Utils::DateTime>
163 template<
typename OwnerAccountIdT = Aws::String>
164 void SetOwnerAccountId(OwnerAccountIdT&& value) { m_ownerAccountIdHasBeenSet =
true; m_ownerAccountId = std::forward<OwnerAccountIdT>(value); }
165 template<
typename OwnerAccountIdT = Aws::String>
175 template<
typename UpdatesT = UpdateResult>
176 void SetUpdates(UpdatesT&& value) { m_updatesHasBeenSet =
true; m_updates = std::forward<UpdatesT>(value); }
177 template<
typename UpdatesT = UpdateResult>
188 template<
typename ErrorDetailsT = Aws::Vector<ErrorDetails>>
189 void SetErrorDetails(ErrorDetailsT&& value) { m_errorDetailsHasBeenSet =
true; m_errorDetails = std::forward<ErrorDetailsT>(value); }
190 template<
typename ErrorDetailsT = Aws::Vector<ErrorDetails>>
192 template<
typename ErrorDetailsT = ErrorDetails>
193 WorkspaceImage&
AddErrorDetails(ErrorDetailsT&& value) { m_errorDetailsHasBeenSet =
true; m_errorDetails.emplace_back(std::forward<ErrorDetailsT>(value));
return *
this; }
198 bool m_imageIdHasBeenSet =
false;
201 bool m_nameHasBeenSet =
false;
204 bool m_descriptionHasBeenSet =
false;
207 bool m_operatingSystemHasBeenSet =
false;
210 bool m_stateHasBeenSet =
false;
213 bool m_requiredTenancyHasBeenSet =
false;
216 bool m_errorCodeHasBeenSet =
false;
219 bool m_errorMessageHasBeenSet =
false;
222 bool m_createdHasBeenSet =
false;
225 bool m_ownerAccountIdHasBeenSet =
false;
227 UpdateResult m_updates;
228 bool m_updatesHasBeenSet =
false;
231 bool m_errorDetailsHasBeenSet =
false;
const Aws::String & GetErrorCode() const
void SetImageId(ImageIdT &&value)
WorkspaceImage & WithErrorMessage(ErrorMessageT &&value)
void SetCreated(CreatedT &&value)
const Aws::String & GetOwnerAccountId() const
const OperatingSystem & GetOperatingSystem() const
WorkspaceImage & WithImageId(ImageIdT &&value)
bool NameHasBeenSet() const
void SetRequiredTenancy(WorkspaceImageRequiredTenancy value)
WorkspaceImage & WithUpdates(UpdatesT &&value)
bool ErrorCodeHasBeenSet() const
const Aws::String & GetDescription() const
const Aws::String & GetImageId() const
WorkspaceImage & WithName(NameT &&value)
bool DescriptionHasBeenSet() const
WorkspaceImage & WithOperatingSystem(OperatingSystemT &&value)
AWS_WORKSPACES_API WorkspaceImage & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUpdates(UpdatesT &&value)
WorkspaceImage & WithErrorCode(ErrorCodeT &&value)
AWS_WORKSPACES_API WorkspaceImage(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
WorkspaceImage & WithRequiredTenancy(WorkspaceImageRequiredTenancy value)
void SetDescription(DescriptionT &&value)
WorkspaceImage & WithCreated(CreatedT &&value)
const Aws::Vector< ErrorDetails > & GetErrorDetails() const
bool RequiredTenancyHasBeenSet() const
void SetState(WorkspaceImageState value)
const UpdateResult & GetUpdates() const
const Aws::String & GetName() const
const Aws::Utils::DateTime & GetCreated() const
bool CreatedHasBeenSet() const
void SetErrorCode(ErrorCodeT &&value)
bool OwnerAccountIdHasBeenSet() const
WorkspaceImage & WithDescription(DescriptionT &&value)
bool UpdatesHasBeenSet() const
void SetErrorMessage(ErrorMessageT &&value)
bool StateHasBeenSet() const
bool ImageIdHasBeenSet() const
bool OperatingSystemHasBeenSet() const
bool ErrorDetailsHasBeenSet() const
void SetOwnerAccountId(OwnerAccountIdT &&value)
WorkspaceImage & WithErrorDetails(ErrorDetailsT &&value)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetErrorMessage() const
void SetErrorDetails(ErrorDetailsT &&value)
bool ErrorMessageHasBeenSet() const
WorkspaceImage & WithState(WorkspaceImageState value)
WorkspaceImage & AddErrorDetails(ErrorDetailsT &&value)
void SetOperatingSystem(OperatingSystemT &&value)
AWS_WORKSPACES_API WorkspaceImage()=default
WorkspaceImageState GetState() const
WorkspaceImage & WithOwnerAccountId(OwnerAccountIdT &&value)
WorkspaceImageRequiredTenancy GetRequiredTenancy() const
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