7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workspaces/model/RootStorage.h>
10#include <aws/workspaces/model/UserStorage.h>
11#include <aws/workspaces/model/ComputeType.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/workspaces/model/WorkspaceBundleState.h>
14#include <aws/workspaces/model/BundleType.h>
52 template<
typename BundleIdT = Aws::String>
53 void SetBundleId(BundleIdT&& value) { m_bundleIdHasBeenSet =
true; m_bundleId = std::forward<BundleIdT>(value); }
54 template<
typename BundleIdT = Aws::String>
64 template<
typename NameT = Aws::String>
65 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
66 template<
typename NameT = Aws::String>
77 template<
typename OwnerT = Aws::String>
78 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet =
true; m_owner = std::forward<OwnerT>(value); }
79 template<
typename OwnerT = Aws::String>
89 template<
typename DescriptionT = Aws::String>
90 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
91 template<
typename DescriptionT = Aws::String>
101 template<
typename ImageIdT = Aws::String>
102 void SetImageId(ImageIdT&& value) { m_imageIdHasBeenSet =
true; m_imageId = std::forward<ImageIdT>(value); }
103 template<
typename ImageIdT = Aws::String>
113 template<
typename RootStorageT = RootStorage>
114 void SetRootStorage(RootStorageT&& value) { m_rootStorageHasBeenSet =
true; m_rootStorage = std::forward<RootStorageT>(value); }
115 template<
typename RootStorageT = RootStorage>
125 template<
typename UserStorageT = UserStorage>
126 void SetUserStorage(UserStorageT&& value) { m_userStorageHasBeenSet =
true; m_userStorage = std::forward<UserStorageT>(value); }
127 template<
typename UserStorageT = UserStorage>
139 template<
typename ComputeTypeT = ComputeType>
140 void SetComputeType(ComputeTypeT&& value) { m_computeTypeHasBeenSet =
true; m_computeType = std::forward<ComputeTypeT>(value); }
141 template<
typename ComputeTypeT = ComputeType>
151 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
152 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet =
true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
153 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
163 template<
typename CreationTimeT = Aws::Utils::DateTime>
164 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
165 template<
typename CreationTimeT = Aws::Utils::DateTime>
191 bool m_bundleIdHasBeenSet =
false;
194 bool m_nameHasBeenSet =
false;
197 bool m_ownerHasBeenSet =
false;
200 bool m_descriptionHasBeenSet =
false;
203 bool m_imageIdHasBeenSet =
false;
206 bool m_rootStorageHasBeenSet =
false;
209 bool m_userStorageHasBeenSet =
false;
212 bool m_computeTypeHasBeenSet =
false;
215 bool m_lastUpdatedTimeHasBeenSet =
false;
218 bool m_creationTimeHasBeenSet =
false;
221 bool m_stateHasBeenSet =
false;
224 bool m_bundleTypeHasBeenSet =
false;
WorkspaceBundleState GetState() const
void SetImageId(ImageIdT &&value)
bool UserStorageHasBeenSet() const
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)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
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)
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(Aws::Utils::Json::JsonView jsonValue)
bool BundleTypeHasBeenSet() const
bool ComputeTypeHasBeenSet() const
bool NameHasBeenSet() const
WorkspaceBundle & WithLastUpdatedTime(LastUpdatedTimeT &&value)
WorkspaceBundle & WithState(WorkspaceBundleState value)
bool RootStorageHasBeenSet() const
WorkspaceBundle & WithBundleId(BundleIdT &&value)
AWS_WORKSPACES_API WorkspaceBundle & operator=(Aws::Utils::Json::JsonView jsonValue)
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
Aws::Utils::Json::JsonValue JsonValue