7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/crt/cbor/Cbor.h>
11#include <aws/workspaces/WorkSpaces_EXPORTS.h>
12#include <aws/workspaces/model/Compute.h>
13#include <aws/workspaces/model/OperatingSystemName.h>
14#include <aws/workspaces/model/WorkSpaceApplicationLicenseType.h>
15#include <aws/workspaces/model/WorkSpaceApplicationState.h>
38 AWS_WORKSPACES_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
46 template <
typename ApplicationIdT = Aws::String>
48 m_applicationIdHasBeenSet =
true;
49 m_applicationId = std::forward<ApplicationIdT>(value);
51 template <
typename ApplicationIdT = Aws::String>
64 template <
typename CreatedT = Aws::Utils::DateTime>
66 m_createdHasBeenSet =
true;
67 m_created = std::forward<CreatedT>(value);
69 template <
typename CreatedT = Aws::Utils::DateTime>
82 template <
typename DescriptionT = Aws::String>
84 m_descriptionHasBeenSet =
true;
85 m_description = std::forward<DescriptionT>(value);
87 template <
typename DescriptionT = Aws::String>
101 m_licenseTypeHasBeenSet =
true;
102 m_licenseType = value;
116 template <
typename NameT = Aws::String>
118 m_nameHasBeenSet =
true;
119 m_name = std::forward<NameT>(value);
121 template <
typename NameT = Aws::String>
123 SetName(std::forward<NameT>(value));
134 template <
typename OwnerT = Aws::String>
136 m_ownerHasBeenSet =
true;
137 m_owner = std::forward<OwnerT>(value);
139 template <
typename OwnerT = Aws::String>
141 SetOwner(std::forward<OwnerT>(value));
153 m_stateHasBeenSet =
true;
168 template <
typename SupportedComputeTypeNamesT = Aws::Vector<Compute>>
170 m_supportedComputeTypeNamesHasBeenSet =
true;
171 m_supportedComputeTypeNames = std::forward<SupportedComputeTypeNamesT>(value);
173 template <
typename SupportedComputeTypeNamesT = Aws::Vector<Compute>>
179 m_supportedComputeTypeNamesHasBeenSet =
true;
180 m_supportedComputeTypeNames.push_back(value);
191 template <
typename SupportedOperatingSystemNamesT = Aws::Vector<OperatingSystemName>>
193 m_supportedOperatingSystemNamesHasBeenSet =
true;
194 m_supportedOperatingSystemNames = std::forward<SupportedOperatingSystemNamesT>(value);
196 template <
typename SupportedOperatingSystemNamesT = Aws::Vector<OperatingSystemName>>
202 m_supportedOperatingSystemNamesHasBeenSet =
true;
203 m_supportedOperatingSystemNames.push_back(value);
225 bool m_applicationIdHasBeenSet =
false;
226 bool m_createdHasBeenSet =
false;
227 bool m_descriptionHasBeenSet =
false;
228 bool m_licenseTypeHasBeenSet =
false;
229 bool m_nameHasBeenSet =
false;
230 bool m_ownerHasBeenSet =
false;
231 bool m_stateHasBeenSet =
false;
232 bool m_supportedComputeTypeNamesHasBeenSet =
false;
233 bool m_supportedOperatingSystemNamesHasBeenSet =
false;
bool SupportedComputeTypeNamesHasBeenSet() const
void SetSupportedOperatingSystemNames(SupportedOperatingSystemNamesT &&value)
void SetApplicationId(ApplicationIdT &&value)
WorkSpaceApplication & WithState(WorkSpaceApplicationState value)
WorkSpaceApplication & AddSupportedOperatingSystemNames(OperatingSystemName value)
AWS_WORKSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::String & GetName() const
const Aws::String & GetDescription() const
const Aws::Vector< OperatingSystemName > & GetSupportedOperatingSystemNames() const
WorkSpaceApplicationLicenseType GetLicenseType() const
bool OwnerHasBeenSet() const
bool NameHasBeenSet() const
void SetSupportedComputeTypeNames(SupportedComputeTypeNamesT &&value)
void SetOwner(OwnerT &&value)
const Aws::String & GetApplicationId() const
WorkSpaceApplication & WithSupportedComputeTypeNames(SupportedComputeTypeNamesT &&value)
bool LicenseTypeHasBeenSet() const
void SetDescription(DescriptionT &&value)
WorkSpaceApplication & WithSupportedOperatingSystemNames(SupportedOperatingSystemNamesT &&value)
bool ApplicationIdHasBeenSet() const
AWS_WORKSPACES_API WorkSpaceApplication & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool StateHasBeenSet() const
const Aws::Vector< Compute > & GetSupportedComputeTypeNames() const
WorkSpaceApplication & WithLicenseType(WorkSpaceApplicationLicenseType value)
void SetName(NameT &&value)
WorkSpaceApplication & WithName(NameT &&value)
AWS_WORKSPACES_API WorkSpaceApplication(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
WorkSpaceApplication & WithCreated(CreatedT &&value)
bool CreatedHasBeenSet() const
WorkSpaceApplication & WithApplicationId(ApplicationIdT &&value)
void SetState(WorkSpaceApplicationState value)
WorkSpaceApplication & WithOwner(OwnerT &&value)
void SetCreated(CreatedT &&value)
WorkSpaceApplication & WithDescription(DescriptionT &&value)
WorkSpaceApplication & AddSupportedComputeTypeNames(Compute value)
AWS_WORKSPACES_API WorkSpaceApplication()=default
void SetLicenseType(WorkSpaceApplicationLicenseType value)
bool SupportedOperatingSystemNamesHasBeenSet() const
const Aws::String & GetOwner() const
bool DescriptionHasBeenSet() const
const Aws::Utils::DateTime & GetCreated() const
WorkSpaceApplicationState GetState() const
WorkSpaceApplicationLicenseType
WorkSpaceApplicationState
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector