AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateWorkspacesPoolRequest.h
1
6#pragma once
7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/workspaces/WorkSpacesRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/workspaces/model/Capacity.h>
11#include <aws/workspaces/model/ApplicationSettingsRequest.h>
12#include <aws/workspaces/model/TimeoutSettings.h>
13#include <aws/workspaces/model/PoolsRunningMode.h>
14#include <utility>
15
16namespace Aws
17{
18namespace WorkSpaces
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_WORKSPACES_API UpdateWorkspacesPoolRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateWorkspacesPool"; }
35
36 AWS_WORKSPACES_API Aws::String SerializePayload() const override;
37
39
40
42
45 inline const Aws::String& GetPoolId() const { return m_poolId; }
46 inline bool PoolIdHasBeenSet() const { return m_poolIdHasBeenSet; }
47 template<typename PoolIdT = Aws::String>
48 void SetPoolId(PoolIdT&& value) { m_poolIdHasBeenSet = true; m_poolId = std::forward<PoolIdT>(value); }
49 template<typename PoolIdT = Aws::String>
50 UpdateWorkspacesPoolRequest& WithPoolId(PoolIdT&& value) { SetPoolId(std::forward<PoolIdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetDescription() const { return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 template<typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
61 template<typename DescriptionT = Aws::String>
62 UpdateWorkspacesPoolRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
64
66
69 inline const Aws::String& GetBundleId() const { return m_bundleId; }
70 inline bool BundleIdHasBeenSet() const { return m_bundleIdHasBeenSet; }
71 template<typename BundleIdT = Aws::String>
72 void SetBundleId(BundleIdT&& value) { m_bundleIdHasBeenSet = true; m_bundleId = std::forward<BundleIdT>(value); }
73 template<typename BundleIdT = Aws::String>
74 UpdateWorkspacesPoolRequest& WithBundleId(BundleIdT&& value) { SetBundleId(std::forward<BundleIdT>(value)); return *this;}
76
78
81 inline const Aws::String& GetDirectoryId() const { return m_directoryId; }
82 inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
83 template<typename DirectoryIdT = Aws::String>
84 void SetDirectoryId(DirectoryIdT&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::forward<DirectoryIdT>(value); }
85 template<typename DirectoryIdT = Aws::String>
86 UpdateWorkspacesPoolRequest& WithDirectoryId(DirectoryIdT&& value) { SetDirectoryId(std::forward<DirectoryIdT>(value)); return *this;}
88
90
93 inline const Capacity& GetCapacity() const { return m_capacity; }
94 inline bool CapacityHasBeenSet() const { return m_capacityHasBeenSet; }
95 template<typename CapacityT = Capacity>
96 void SetCapacity(CapacityT&& value) { m_capacityHasBeenSet = true; m_capacity = std::forward<CapacityT>(value); }
97 template<typename CapacityT = Capacity>
98 UpdateWorkspacesPoolRequest& WithCapacity(CapacityT&& value) { SetCapacity(std::forward<CapacityT>(value)); return *this;}
100
102
105 inline const ApplicationSettingsRequest& GetApplicationSettings() const { return m_applicationSettings; }
106 inline bool ApplicationSettingsHasBeenSet() const { return m_applicationSettingsHasBeenSet; }
107 template<typename ApplicationSettingsT = ApplicationSettingsRequest>
108 void SetApplicationSettings(ApplicationSettingsT&& value) { m_applicationSettingsHasBeenSet = true; m_applicationSettings = std::forward<ApplicationSettingsT>(value); }
109 template<typename ApplicationSettingsT = ApplicationSettingsRequest>
110 UpdateWorkspacesPoolRequest& WithApplicationSettings(ApplicationSettingsT&& value) { SetApplicationSettings(std::forward<ApplicationSettingsT>(value)); return *this;}
112
114
117 inline const TimeoutSettings& GetTimeoutSettings() const { return m_timeoutSettings; }
118 inline bool TimeoutSettingsHasBeenSet() const { return m_timeoutSettingsHasBeenSet; }
119 template<typename TimeoutSettingsT = TimeoutSettings>
120 void SetTimeoutSettings(TimeoutSettingsT&& value) { m_timeoutSettingsHasBeenSet = true; m_timeoutSettings = std::forward<TimeoutSettingsT>(value); }
121 template<typename TimeoutSettingsT = TimeoutSettings>
122 UpdateWorkspacesPoolRequest& WithTimeoutSettings(TimeoutSettingsT&& value) { SetTimeoutSettings(std::forward<TimeoutSettingsT>(value)); return *this;}
124
126
130 inline PoolsRunningMode GetRunningMode() const { return m_runningMode; }
131 inline bool RunningModeHasBeenSet() const { return m_runningModeHasBeenSet; }
132 inline void SetRunningMode(PoolsRunningMode value) { m_runningModeHasBeenSet = true; m_runningMode = value; }
135 private:
136
137 Aws::String m_poolId;
138 bool m_poolIdHasBeenSet = false;
139
140 Aws::String m_description;
141 bool m_descriptionHasBeenSet = false;
142
143 Aws::String m_bundleId;
144 bool m_bundleIdHasBeenSet = false;
145
146 Aws::String m_directoryId;
147 bool m_directoryIdHasBeenSet = false;
148
149 Capacity m_capacity;
150 bool m_capacityHasBeenSet = false;
151
152 ApplicationSettingsRequest m_applicationSettings;
153 bool m_applicationSettingsHasBeenSet = false;
154
155 TimeoutSettings m_timeoutSettings;
156 bool m_timeoutSettingsHasBeenSet = false;
157
159 bool m_runningModeHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace WorkSpaces
164} // namespace Aws
AWS_WORKSPACES_API UpdateWorkspacesPoolRequest()=default
UpdateWorkspacesPoolRequest & WithBundleId(BundleIdT &&value)
UpdateWorkspacesPoolRequest & WithPoolId(PoolIdT &&value)
UpdateWorkspacesPoolRequest & WithDescription(DescriptionT &&value)
const ApplicationSettingsRequest & GetApplicationSettings() const
UpdateWorkspacesPoolRequest & WithCapacity(CapacityT &&value)
AWS_WORKSPACES_API Aws::String SerializePayload() const override
UpdateWorkspacesPoolRequest & WithApplicationSettings(ApplicationSettingsT &&value)
AWS_WORKSPACES_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateWorkspacesPoolRequest & WithDirectoryId(DirectoryIdT &&value)
UpdateWorkspacesPoolRequest & WithRunningMode(PoolsRunningMode value)
UpdateWorkspacesPoolRequest & WithTimeoutSettings(TimeoutSettingsT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String