7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workspaces/model/CapacityStatus.h>
10#include <aws/workspaces/model/WorkspacesPoolState.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/workspaces/model/ApplicationSettingsResponse.h>
14#include <aws/workspaces/model/TimeoutSettings.h>
15#include <aws/workspaces/model/PoolsRunningMode.h>
16#include <aws/workspaces/model/WorkspacesPoolError.h>
54 template<
typename PoolIdT = Aws::String>
55 void SetPoolId(PoolIdT&& value) { m_poolIdHasBeenSet =
true; m_poolId = std::forward<PoolIdT>(value); }
56 template<
typename PoolIdT = Aws::String>
66 template<
typename PoolArnT = Aws::String>
67 void SetPoolArn(PoolArnT&& value) { m_poolArnHasBeenSet =
true; m_poolArn = std::forward<PoolArnT>(value); }
68 template<
typename PoolArnT = Aws::String>
78 template<
typename CapacityStatusT = CapacityStatus>
79 void SetCapacityStatus(CapacityStatusT&& value) { m_capacityStatusHasBeenSet =
true; m_capacityStatus = std::forward<CapacityStatusT>(value); }
80 template<
typename CapacityStatusT = CapacityStatus>
90 template<
typename PoolNameT = Aws::String>
91 void SetPoolName(PoolNameT&& value) { m_poolNameHasBeenSet =
true; m_poolName = std::forward<PoolNameT>(value); }
92 template<
typename PoolNameT = Aws::String>
102 template<
typename DescriptionT = Aws::String>
103 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
104 template<
typename DescriptionT = Aws::String>
124 template<
typename CreatedAtT = Aws::Utils::DateTime>
125 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
126 template<
typename CreatedAtT = Aws::Utils::DateTime>
136 template<
typename BundleIdT = Aws::String>
137 void SetBundleId(BundleIdT&& value) { m_bundleIdHasBeenSet =
true; m_bundleId = std::forward<BundleIdT>(value); }
138 template<
typename BundleIdT = Aws::String>
148 template<
typename DirectoryIdT = Aws::String>
149 void SetDirectoryId(DirectoryIdT&& value) { m_directoryIdHasBeenSet =
true; m_directoryId = std::forward<DirectoryIdT>(value); }
150 template<
typename DirectoryIdT = Aws::String>
160 template<
typename ErrorsT = Aws::Vector<WorkspacesPoolError>>
161 void SetErrors(ErrorsT&& value) { m_errorsHasBeenSet =
true; m_errors = std::forward<ErrorsT>(value); }
162 template<
typename ErrorsT = Aws::Vector<WorkspacesPoolError>>
164 template<
typename ErrorsT = WorkspacesPoolError>
165 WorkspacesPool&
AddErrors(ErrorsT&& value) { m_errorsHasBeenSet =
true; m_errors.emplace_back(std::forward<ErrorsT>(value));
return *
this; }
174 template<
typename ApplicationSettingsT = ApplicationSettingsResponse>
175 void SetApplicationSettings(ApplicationSettingsT&& value) { m_applicationSettingsHasBeenSet =
true; m_applicationSettings = std::forward<ApplicationSettingsT>(value); }
176 template<
typename ApplicationSettingsT = ApplicationSettingsResponse>
190 template<
typename TimeoutSettingsT = TimeoutSettings>
191 void SetTimeoutSettings(TimeoutSettingsT&& value) { m_timeoutSettingsHasBeenSet =
true; m_timeoutSettings = std::forward<TimeoutSettingsT>(value); }
192 template<
typename TimeoutSettingsT = TimeoutSettings>
208 bool m_poolIdHasBeenSet =
false;
211 bool m_poolArnHasBeenSet =
false;
214 bool m_capacityStatusHasBeenSet =
false;
217 bool m_poolNameHasBeenSet =
false;
220 bool m_descriptionHasBeenSet =
false;
223 bool m_stateHasBeenSet =
false;
226 bool m_createdAtHasBeenSet =
false;
229 bool m_bundleIdHasBeenSet =
false;
232 bool m_directoryIdHasBeenSet =
false;
235 bool m_errorsHasBeenSet =
false;
237 ApplicationSettingsResponse m_applicationSettings;
238 bool m_applicationSettingsHasBeenSet =
false;
240 TimeoutSettings m_timeoutSettings;
241 bool m_timeoutSettingsHasBeenSet =
false;
244 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)
AWS_WORKSPACES_API WorkspacesPool(Aws::Utils::Json::JsonView jsonValue)
bool DirectoryIdHasBeenSet() const
const Aws::String & GetBundleId() const
const Aws::String & GetPoolId() const
void SetPoolArn(PoolArnT &&value)
AWS_WORKSPACES_API WorkspacesPool & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPoolArn() const
bool CapacityStatusHasBeenSet() const
void SetCapacityStatus(CapacityStatusT &&value)
bool ErrorsHasBeenSet() const
bool RunningModeHasBeenSet() const
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() 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
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
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
Aws::Utils::Json::JsonValue JsonValue