7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/workspaces/WorkSpaces_EXPORTS.h>
11#include <aws/workspaces/model/BundleType.h>
12#include <aws/workspaces/model/ComputeType.h>
13#include <aws/workspaces/model/RootStorage.h>
14#include <aws/workspaces/model/UserStorage.h>
15#include <aws/workspaces/model/WorkspaceBundleState.h>
36 AWS_WORKSPACES_API
WorkspaceBundle(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
38 AWS_WORKSPACES_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
46 template <
typename BundleIdT = Aws::String>
48 m_bundleIdHasBeenSet =
true;
49 m_bundleId = std::forward<BundleIdT>(value);
51 template <
typename BundleIdT = Aws::String>
64 template <
typename NameT = Aws::String>
66 m_nameHasBeenSet =
true;
67 m_name = std::forward<NameT>(value);
69 template <
typename NameT = Aws::String>
71 SetName(std::forward<NameT>(value));
83 template <
typename OwnerT = Aws::String>
85 m_ownerHasBeenSet =
true;
86 m_owner = std::forward<OwnerT>(value);
88 template <
typename OwnerT = Aws::String>
90 SetOwner(std::forward<OwnerT>(value));
101 template <
typename DescriptionT = Aws::String>
103 m_descriptionHasBeenSet =
true;
104 m_description = std::forward<DescriptionT>(value);
106 template <
typename DescriptionT = Aws::String>
119 template <
typename ImageIdT = Aws::String>
121 m_imageIdHasBeenSet =
true;
122 m_imageId = std::forward<ImageIdT>(value);
124 template <
typename ImageIdT = Aws::String>
137 template <
typename RootStorageT = RootStorage>
139 m_rootStorageHasBeenSet =
true;
140 m_rootStorage = std::forward<RootStorageT>(value);
142 template <
typename RootStorageT = RootStorage>
155 template <
typename UserStorageT = UserStorage>
157 m_userStorageHasBeenSet =
true;
158 m_userStorage = std::forward<UserStorageT>(value);
160 template <
typename UserStorageT = UserStorage>
175 template <
typename ComputeTypeT = ComputeType>
177 m_computeTypeHasBeenSet =
true;
178 m_computeType = std::forward<ComputeTypeT>(value);
180 template <
typename ComputeTypeT = ComputeType>
193 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
195 m_lastUpdatedTimeHasBeenSet =
true;
196 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
198 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
211 template <
typename CreationTimeT = Aws::Utils::DateTime>
213 m_creationTimeHasBeenSet =
true;
214 m_creationTime = std::forward<CreationTimeT>(value);
216 template <
typename CreationTimeT = Aws::Utils::DateTime>
230 m_stateHasBeenSet =
true;
246 m_bundleTypeHasBeenSet =
true;
247 m_bundleType = value;
278 bool m_bundleIdHasBeenSet =
false;
279 bool m_nameHasBeenSet =
false;
280 bool m_ownerHasBeenSet =
false;
281 bool m_descriptionHasBeenSet =
false;
282 bool m_imageIdHasBeenSet =
false;
283 bool m_rootStorageHasBeenSet =
false;
284 bool m_userStorageHasBeenSet =
false;
285 bool m_computeTypeHasBeenSet =
false;
286 bool m_lastUpdatedTimeHasBeenSet =
false;
287 bool m_creationTimeHasBeenSet =
false;
288 bool m_stateHasBeenSet =
false;
289 bool m_bundleTypeHasBeenSet =
false;
WorkspaceBundleState GetState() const
void SetImageId(ImageIdT &&value)
bool UserStorageHasBeenSet() const
AWS_WORKSPACES_API WorkspaceBundle & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
WorkspaceBundle & WithImageId(ImageIdT &&value)
bool ImageIdHasBeenSet() const
bool OwnerHasBeenSet() const
bool DescriptionHasBeenSet() const
const Aws::String & GetImageId() const
void SetOwner(OwnerT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
WorkspaceBundle & WithBundleType(BundleType value)
WorkspaceBundle & WithComputeType(ComputeTypeT &&value)
void SetRootStorage(RootStorageT &&value)
void SetCreationTime(CreationTimeT &&value)
BundleType GetBundleType() const
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
WorkspaceBundle & WithRootStorage(RootStorageT &&value)
void SetName(NameT &&value)
const RootStorage & GetRootStorage() const
void SetState(WorkspaceBundleState value)
const ComputeType & GetComputeType() const
WorkspaceBundle & WithDescription(DescriptionT &&value)
const Aws::String & GetBundleId() const
WorkspaceBundle & WithUserStorage(UserStorageT &&value)
WorkspaceBundle & WithName(NameT &&value)
AWS_WORKSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool StateHasBeenSet() const
void SetComputeType(ComputeTypeT &&value)
bool CreationTimeHasBeenSet() const
void SetBundleType(BundleType value)
const Aws::String & GetOwner() const
const Aws::String & GetDescription() const
AWS_WORKSPACES_API WorkspaceBundle(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool BundleTypeHasBeenSet() const
bool ComputeTypeHasBeenSet() const
bool NameHasBeenSet() const
WorkspaceBundle & WithLastUpdatedTime(LastUpdatedTimeT &&value)
WorkspaceBundle & WithState(WorkspaceBundleState value)
bool RootStorageHasBeenSet() const
WorkspaceBundle & WithBundleId(BundleIdT &&value)
WorkspaceBundle & WithCreationTime(CreationTimeT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetUserStorage(UserStorageT &&value)
const Aws::String & GetName() const
AWS_WORKSPACES_API WorkspaceBundle()=default
void SetBundleId(BundleIdT &&value)
WorkspaceBundle & WithOwner(OwnerT &&value)
const UserStorage & GetUserStorage() const
bool LastUpdatedTimeHasBeenSet() const
bool BundleIdHasBeenSet() const
void SetDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String