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/ApplicationSettingsResponse.h>
13#include <aws/workspaces/model/CapacityStatus.h>
14#include <aws/workspaces/model/PoolsRunningMode.h>
15#include <aws/workspaces/model/TimeoutSettings.h>
16#include <aws/workspaces/model/WorkspacesPoolError.h>
17#include <aws/workspaces/model/WorkspacesPoolState.h>
38 AWS_WORKSPACES_API
WorkspacesPool(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
40 AWS_WORKSPACES_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
48 template <
typename PoolIdT = Aws::String>
50 m_poolIdHasBeenSet =
true;
51 m_poolId = std::forward<PoolIdT>(value);
53 template <
typename PoolIdT = Aws::String>
66 template <
typename PoolArnT = Aws::String>
68 m_poolArnHasBeenSet =
true;
69 m_poolArn = std::forward<PoolArnT>(value);
71 template <
typename PoolArnT = Aws::String>
84 template <
typename CapacityStatusT = CapacityStatus>
86 m_capacityStatusHasBeenSet =
true;
87 m_capacityStatus = std::forward<CapacityStatusT>(value);
89 template <
typename CapacityStatusT = CapacityStatus>
102 template <
typename PoolNameT = Aws::String>
104 m_poolNameHasBeenSet =
true;
105 m_poolName = std::forward<PoolNameT>(value);
107 template <
typename PoolNameT = Aws::String>
120 template <
typename DescriptionT = Aws::String>
122 m_descriptionHasBeenSet =
true;
123 m_description = std::forward<DescriptionT>(value);
125 template <
typename DescriptionT = Aws::String>
139 m_stateHasBeenSet =
true;
154 template <
typename CreatedAtT = Aws::Utils::DateTime>
156 m_createdAtHasBeenSet =
true;
157 m_createdAt = std::forward<CreatedAtT>(value);
159 template <
typename CreatedAtT = Aws::Utils::DateTime>
172 template <
typename BundleIdT = Aws::String>
174 m_bundleIdHasBeenSet =
true;
175 m_bundleId = std::forward<BundleIdT>(value);
177 template <
typename BundleIdT = Aws::String>
190 template <
typename DirectoryIdT = Aws::String>
192 m_directoryIdHasBeenSet =
true;
193 m_directoryId = std::forward<DirectoryIdT>(value);
195 template <
typename DirectoryIdT = Aws::String>
208 template <
typename ErrorsT = Aws::Vector<WorkspacesPoolError>>
210 m_errorsHasBeenSet =
true;
211 m_errors = std::forward<ErrorsT>(value);
213 template <
typename ErrorsT = Aws::Vector<WorkspacesPoolError>>
218 template <
typename ErrorsT = WorkspacesPoolError>
220 m_errorsHasBeenSet =
true;
221 m_errors.emplace_back(std::forward<ErrorsT>(value));
232 template <
typename ApplicationSettingsT = ApplicationSettingsResponse>
234 m_applicationSettingsHasBeenSet =
true;
235 m_applicationSettings = std::forward<ApplicationSettingsT>(value);
237 template <
typename ApplicationSettingsT = ApplicationSettingsResponse>
254 template <
typename TimeoutSettingsT = TimeoutSettings>
256 m_timeoutSettingsHasBeenSet =
true;
257 m_timeoutSettings = std::forward<TimeoutSettingsT>(value);
259 template <
typename TimeoutSettingsT = TimeoutSettings>
273 m_runningModeHasBeenSet =
true;
274 m_runningMode = value;
302 ApplicationSettingsResponse m_applicationSettings;
304 TimeoutSettings m_timeoutSettings;
307 bool m_poolIdHasBeenSet =
false;
308 bool m_poolArnHasBeenSet =
false;
309 bool m_capacityStatusHasBeenSet =
false;
310 bool m_poolNameHasBeenSet =
false;
311 bool m_descriptionHasBeenSet =
false;
312 bool m_stateHasBeenSet =
false;
313 bool m_createdAtHasBeenSet =
false;
314 bool m_bundleIdHasBeenSet =
false;
315 bool m_directoryIdHasBeenSet =
false;
316 bool m_errorsHasBeenSet =
false;
317 bool m_applicationSettingsHasBeenSet =
false;
318 bool m_timeoutSettingsHasBeenSet =
false;
319 bool m_runningModeHasBeenSet =
false;
WorkspacesPoolState GetState() const
WorkspacesPool & WithDescription(DescriptionT &&value)
WorkspacesPool & WithErrors(ErrorsT &&value)
const Aws::Vector< WorkspacesPoolError > & GetErrors() const
WorkspacesPool & WithApplicationSettings(ApplicationSettingsT &&value)
void SetBundleId(BundleIdT &&value)
bool DescriptionHasBeenSet() const
WorkspacesPool & WithTimeoutSettings(TimeoutSettingsT &&value)
const TimeoutSettings & GetTimeoutSettings() const
bool TimeoutSettingsHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
WorkspacesPool & WithCreatedAt(CreatedAtT &&value)
void SetCreatedAt(CreatedAtT &&value)
void SetPoolId(PoolIdT &&value)
void SetErrors(ErrorsT &&value)
WorkspacesPool & WithCapacityStatus(CapacityStatusT &&value)
WorkspacesPool & WithPoolName(PoolNameT &&value)
void SetTimeoutSettings(TimeoutSettingsT &&value)
void SetState(WorkspacesPoolState value)
PoolsRunningMode GetRunningMode() const
const Aws::String & GetPoolName() const
WorkspacesPool & WithState(WorkspacesPoolState value)
bool ApplicationSettingsHasBeenSet() const
void SetApplicationSettings(ApplicationSettingsT &&value)
bool DirectoryIdHasBeenSet() const
const Aws::String & GetBundleId() const
const Aws::String & GetPoolId() const
void SetPoolArn(PoolArnT &&value)
const Aws::String & GetPoolArn() const
AWS_WORKSPACES_API WorkspacesPool & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool CapacityStatusHasBeenSet() const
void SetCapacityStatus(CapacityStatusT &&value)
bool ErrorsHasBeenSet() const
bool RunningModeHasBeenSet() const
void SetPoolName(PoolNameT &&value)
const Aws::String & GetDescription() const
WorkspacesPool & AddErrors(ErrorsT &&value)
void SetRunningMode(PoolsRunningMode value)
WorkspacesPool & WithPoolId(PoolIdT &&value)
WorkspacesPool & WithPoolArn(PoolArnT &&value)
void SetDescription(DescriptionT &&value)
bool StateHasBeenSet() const
AWS_WORKSPACES_API WorkspacesPool(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool BundleIdHasBeenSet() const
const Aws::String & GetDirectoryId() const
bool PoolArnHasBeenSet() const
WorkspacesPool & WithBundleId(BundleIdT &&value)
const ApplicationSettingsResponse & GetApplicationSettings() const
WorkspacesPool & WithDirectoryId(DirectoryIdT &&value)
void SetDirectoryId(DirectoryIdT &&value)
bool CreatedAtHasBeenSet() const
bool PoolIdHasBeenSet() const
WorkspacesPool & WithRunningMode(PoolsRunningMode value)
AWS_WORKSPACES_API WorkspacesPool()=default
AWS_WORKSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool PoolNameHasBeenSet() const
const CapacityStatus & GetCapacityStatus() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector