AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <utility>
14
15namespace Aws
16{
17namespace WorkSpaces
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_WORKSPACES_API UpdateWorkspacesPoolRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateWorkspacesPool"; }
34
35 AWS_WORKSPACES_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const Aws::String& GetPoolId() const{ return m_poolId; }
45 inline bool PoolIdHasBeenSet() const { return m_poolIdHasBeenSet; }
46 inline void SetPoolId(const Aws::String& value) { m_poolIdHasBeenSet = true; m_poolId = value; }
47 inline void SetPoolId(Aws::String&& value) { m_poolIdHasBeenSet = true; m_poolId = std::move(value); }
48 inline void SetPoolId(const char* value) { m_poolIdHasBeenSet = true; m_poolId.assign(value); }
49 inline UpdateWorkspacesPoolRequest& WithPoolId(const Aws::String& value) { SetPoolId(value); return *this;}
50 inline UpdateWorkspacesPoolRequest& WithPoolId(Aws::String&& value) { SetPoolId(std::move(value)); return *this;}
51 inline UpdateWorkspacesPoolRequest& WithPoolId(const char* value) { SetPoolId(value); return *this;}
53
55
58 inline const Aws::String& GetDescription() const{ return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
61 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
62 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
63 inline UpdateWorkspacesPoolRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
64 inline UpdateWorkspacesPoolRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
65 inline UpdateWorkspacesPoolRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
67
69
72 inline const Aws::String& GetBundleId() const{ return m_bundleId; }
73 inline bool BundleIdHasBeenSet() const { return m_bundleIdHasBeenSet; }
74 inline void SetBundleId(const Aws::String& value) { m_bundleIdHasBeenSet = true; m_bundleId = value; }
75 inline void SetBundleId(Aws::String&& value) { m_bundleIdHasBeenSet = true; m_bundleId = std::move(value); }
76 inline void SetBundleId(const char* value) { m_bundleIdHasBeenSet = true; m_bundleId.assign(value); }
77 inline UpdateWorkspacesPoolRequest& WithBundleId(const Aws::String& value) { SetBundleId(value); return *this;}
78 inline UpdateWorkspacesPoolRequest& WithBundleId(Aws::String&& value) { SetBundleId(std::move(value)); return *this;}
79 inline UpdateWorkspacesPoolRequest& WithBundleId(const char* value) { SetBundleId(value); return *this;}
81
83
86 inline const Aws::String& GetDirectoryId() const{ return m_directoryId; }
87 inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
88 inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; }
89 inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); }
90 inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); }
91 inline UpdateWorkspacesPoolRequest& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;}
92 inline UpdateWorkspacesPoolRequest& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;}
93 inline UpdateWorkspacesPoolRequest& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;}
95
97
100 inline const Capacity& GetCapacity() const{ return m_capacity; }
101 inline bool CapacityHasBeenSet() const { return m_capacityHasBeenSet; }
102 inline void SetCapacity(const Capacity& value) { m_capacityHasBeenSet = true; m_capacity = value; }
103 inline void SetCapacity(Capacity&& value) { m_capacityHasBeenSet = true; m_capacity = std::move(value); }
104 inline UpdateWorkspacesPoolRequest& WithCapacity(const Capacity& value) { SetCapacity(value); return *this;}
105 inline UpdateWorkspacesPoolRequest& WithCapacity(Capacity&& value) { SetCapacity(std::move(value)); return *this;}
107
109
112 inline const ApplicationSettingsRequest& GetApplicationSettings() const{ return m_applicationSettings; }
113 inline bool ApplicationSettingsHasBeenSet() const { return m_applicationSettingsHasBeenSet; }
114 inline void SetApplicationSettings(const ApplicationSettingsRequest& value) { m_applicationSettingsHasBeenSet = true; m_applicationSettings = value; }
115 inline void SetApplicationSettings(ApplicationSettingsRequest&& value) { m_applicationSettingsHasBeenSet = true; m_applicationSettings = std::move(value); }
119
121
124 inline const TimeoutSettings& GetTimeoutSettings() const{ return m_timeoutSettings; }
125 inline bool TimeoutSettingsHasBeenSet() const { return m_timeoutSettingsHasBeenSet; }
126 inline void SetTimeoutSettings(const TimeoutSettings& value) { m_timeoutSettingsHasBeenSet = true; m_timeoutSettings = value; }
127 inline void SetTimeoutSettings(TimeoutSettings&& value) { m_timeoutSettingsHasBeenSet = true; m_timeoutSettings = std::move(value); }
129 inline UpdateWorkspacesPoolRequest& WithTimeoutSettings(TimeoutSettings&& value) { SetTimeoutSettings(std::move(value)); return *this;}
131 private:
132
133 Aws::String m_poolId;
134 bool m_poolIdHasBeenSet = false;
135
136 Aws::String m_description;
137 bool m_descriptionHasBeenSet = false;
138
139 Aws::String m_bundleId;
140 bool m_bundleIdHasBeenSet = false;
141
142 Aws::String m_directoryId;
143 bool m_directoryIdHasBeenSet = false;
144
145 Capacity m_capacity;
146 bool m_capacityHasBeenSet = false;
147
148 ApplicationSettingsRequest m_applicationSettings;
149 bool m_applicationSettingsHasBeenSet = false;
150
151 TimeoutSettings m_timeoutSettings;
152 bool m_timeoutSettingsHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace WorkSpaces
157} // namespace Aws
UpdateWorkspacesPoolRequest & WithPoolId(const char *value)
UpdateWorkspacesPoolRequest & WithPoolId(const Aws::String &value)
UpdateWorkspacesPoolRequest & WithCapacity(const Capacity &value)
UpdateWorkspacesPoolRequest & WithBundleId(Aws::String &&value)
UpdateWorkspacesPoolRequest & WithCapacity(Capacity &&value)
UpdateWorkspacesPoolRequest & WithBundleId(const Aws::String &value)
UpdateWorkspacesPoolRequest & WithDescription(const char *value)
UpdateWorkspacesPoolRequest & WithApplicationSettings(const ApplicationSettingsRequest &value)
const ApplicationSettingsRequest & GetApplicationSettings() const
AWS_WORKSPACES_API Aws::String SerializePayload() const override
UpdateWorkspacesPoolRequest & WithTimeoutSettings(const TimeoutSettings &value)
UpdateWorkspacesPoolRequest & WithDirectoryId(const char *value)
UpdateWorkspacesPoolRequest & WithDirectoryId(const Aws::String &value)
void SetApplicationSettings(ApplicationSettingsRequest &&value)
UpdateWorkspacesPoolRequest & WithDescription(const Aws::String &value)
UpdateWorkspacesPoolRequest & WithDescription(Aws::String &&value)
UpdateWorkspacesPoolRequest & WithDirectoryId(Aws::String &&value)
AWS_WORKSPACES_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateWorkspacesPoolRequest & WithTimeoutSettings(TimeoutSettings &&value)
void SetApplicationSettings(const ApplicationSettingsRequest &value)
UpdateWorkspacesPoolRequest & WithApplicationSettings(ApplicationSettingsRequest &&value)
UpdateWorkspacesPoolRequest & WithPoolId(Aws::String &&value)
UpdateWorkspacesPoolRequest & WithBundleId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String