AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateFleetRequest.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/appstream/AppStreamRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/appstream/model/ComputeCapacity.h>
11#include <aws/appstream/model/VpcConfig.h>
12#include <aws/appstream/model/DomainJoinInfo.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/appstream/model/StreamView.h>
15#include <aws/appstream/model/PlatformType.h>
16#include <aws/appstream/model/S3Location.h>
17#include <aws/appstream/model/FleetAttribute.h>
18#include <utility>
19
20namespace Aws
21{
22namespace AppStream
23{
24namespace Model
25{
26
30 {
31 public:
32 AWS_APPSTREAM_API UpdateFleetRequest();
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "UpdateFleet"; }
39
40 AWS_APPSTREAM_API Aws::String SerializePayload() const override;
41
43
44
46
49 inline const Aws::String& GetImageName() const{ return m_imageName; }
50 inline bool ImageNameHasBeenSet() const { return m_imageNameHasBeenSet; }
51 inline void SetImageName(const Aws::String& value) { m_imageNameHasBeenSet = true; m_imageName = value; }
52 inline void SetImageName(Aws::String&& value) { m_imageNameHasBeenSet = true; m_imageName = std::move(value); }
53 inline void SetImageName(const char* value) { m_imageNameHasBeenSet = true; m_imageName.assign(value); }
54 inline UpdateFleetRequest& WithImageName(const Aws::String& value) { SetImageName(value); return *this;}
55 inline UpdateFleetRequest& WithImageName(Aws::String&& value) { SetImageName(std::move(value)); return *this;}
56 inline UpdateFleetRequest& WithImageName(const char* value) { SetImageName(value); return *this;}
58
60
63 inline const Aws::String& GetImageArn() const{ return m_imageArn; }
64 inline bool ImageArnHasBeenSet() const { return m_imageArnHasBeenSet; }
65 inline void SetImageArn(const Aws::String& value) { m_imageArnHasBeenSet = true; m_imageArn = value; }
66 inline void SetImageArn(Aws::String&& value) { m_imageArnHasBeenSet = true; m_imageArn = std::move(value); }
67 inline void SetImageArn(const char* value) { m_imageArnHasBeenSet = true; m_imageArn.assign(value); }
68 inline UpdateFleetRequest& WithImageArn(const Aws::String& value) { SetImageArn(value); return *this;}
69 inline UpdateFleetRequest& WithImageArn(Aws::String&& value) { SetImageArn(std::move(value)); return *this;}
70 inline UpdateFleetRequest& WithImageArn(const char* value) { SetImageArn(value); return *this;}
72
74
77 inline const Aws::String& GetName() const{ return m_name; }
78 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
79 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
80 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
81 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
82 inline UpdateFleetRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
83 inline UpdateFleetRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
84 inline UpdateFleetRequest& WithName(const char* value) { SetName(value); return *this;}
86
88
120 inline const Aws::String& GetInstanceType() const{ return m_instanceType; }
121 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
122 inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
123 inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
124 inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); }
125 inline UpdateFleetRequest& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;}
126 inline UpdateFleetRequest& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;}
127 inline UpdateFleetRequest& WithInstanceType(const char* value) { SetInstanceType(value); return *this;}
129
131
135 inline const ComputeCapacity& GetComputeCapacity() const{ return m_computeCapacity; }
136 inline bool ComputeCapacityHasBeenSet() const { return m_computeCapacityHasBeenSet; }
137 inline void SetComputeCapacity(const ComputeCapacity& value) { m_computeCapacityHasBeenSet = true; m_computeCapacity = value; }
138 inline void SetComputeCapacity(ComputeCapacity&& value) { m_computeCapacityHasBeenSet = true; m_computeCapacity = std::move(value); }
139 inline UpdateFleetRequest& WithComputeCapacity(const ComputeCapacity& value) { SetComputeCapacity(value); return *this;}
140 inline UpdateFleetRequest& WithComputeCapacity(ComputeCapacity&& value) { SetComputeCapacity(std::move(value)); return *this;}
142
144
149 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
150 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
151 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
152 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
153 inline UpdateFleetRequest& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
154 inline UpdateFleetRequest& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
156
158
166 inline int GetMaxUserDurationInSeconds() const{ return m_maxUserDurationInSeconds; }
167 inline bool MaxUserDurationInSecondsHasBeenSet() const { return m_maxUserDurationInSecondsHasBeenSet; }
168 inline void SetMaxUserDurationInSeconds(int value) { m_maxUserDurationInSecondsHasBeenSet = true; m_maxUserDurationInSeconds = value; }
171
173
181 inline int GetDisconnectTimeoutInSeconds() const{ return m_disconnectTimeoutInSeconds; }
182 inline bool DisconnectTimeoutInSecondsHasBeenSet() const { return m_disconnectTimeoutInSecondsHasBeenSet; }
183 inline void SetDisconnectTimeoutInSeconds(int value) { m_disconnectTimeoutInSecondsHasBeenSet = true; m_disconnectTimeoutInSeconds = value; }
186
188
191 inline const Aws::String& GetDescription() const{ return m_description; }
192 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
193 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
194 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
195 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
196 inline UpdateFleetRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
197 inline UpdateFleetRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
198 inline UpdateFleetRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
200
202
205 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
206 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
207 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
208 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
209 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
210 inline UpdateFleetRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
211 inline UpdateFleetRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
212 inline UpdateFleetRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
214
216
219 inline bool GetEnableDefaultInternetAccess() const{ return m_enableDefaultInternetAccess; }
220 inline bool EnableDefaultInternetAccessHasBeenSet() const { return m_enableDefaultInternetAccessHasBeenSet; }
221 inline void SetEnableDefaultInternetAccess(bool value) { m_enableDefaultInternetAccessHasBeenSet = true; m_enableDefaultInternetAccess = value; }
224
226
230 inline const DomainJoinInfo& GetDomainJoinInfo() const{ return m_domainJoinInfo; }
231 inline bool DomainJoinInfoHasBeenSet() const { return m_domainJoinInfoHasBeenSet; }
232 inline void SetDomainJoinInfo(const DomainJoinInfo& value) { m_domainJoinInfoHasBeenSet = true; m_domainJoinInfo = value; }
233 inline void SetDomainJoinInfo(DomainJoinInfo&& value) { m_domainJoinInfoHasBeenSet = true; m_domainJoinInfo = std::move(value); }
234 inline UpdateFleetRequest& WithDomainJoinInfo(const DomainJoinInfo& value) { SetDomainJoinInfo(value); return *this;}
235 inline UpdateFleetRequest& WithDomainJoinInfo(DomainJoinInfo&& value) { SetDomainJoinInfo(std::move(value)); return *this;}
237
239
261 inline int GetIdleDisconnectTimeoutInSeconds() const{ return m_idleDisconnectTimeoutInSeconds; }
262 inline bool IdleDisconnectTimeoutInSecondsHasBeenSet() const { return m_idleDisconnectTimeoutInSecondsHasBeenSet; }
263 inline void SetIdleDisconnectTimeoutInSeconds(int value) { m_idleDisconnectTimeoutInSecondsHasBeenSet = true; m_idleDisconnectTimeoutInSeconds = value; }
266
268
271 inline const Aws::Vector<FleetAttribute>& GetAttributesToDelete() const{ return m_attributesToDelete; }
272 inline bool AttributesToDeleteHasBeenSet() const { return m_attributesToDeleteHasBeenSet; }
273 inline void SetAttributesToDelete(const Aws::Vector<FleetAttribute>& value) { m_attributesToDeleteHasBeenSet = true; m_attributesToDelete = value; }
274 inline void SetAttributesToDelete(Aws::Vector<FleetAttribute>&& value) { m_attributesToDeleteHasBeenSet = true; m_attributesToDelete = std::move(value); }
277 inline UpdateFleetRequest& AddAttributesToDelete(const FleetAttribute& value) { m_attributesToDeleteHasBeenSet = true; m_attributesToDelete.push_back(value); return *this; }
278 inline UpdateFleetRequest& AddAttributesToDelete(FleetAttribute&& value) { m_attributesToDeleteHasBeenSet = true; m_attributesToDelete.push_back(std::move(value)); return *this; }
280
282
295 inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
296 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
297 inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; }
298 inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); }
299 inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); }
300 inline UpdateFleetRequest& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;}
301 inline UpdateFleetRequest& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;}
302 inline UpdateFleetRequest& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
304
306
313 inline const StreamView& GetStreamView() const{ return m_streamView; }
314 inline bool StreamViewHasBeenSet() const { return m_streamViewHasBeenSet; }
315 inline void SetStreamView(const StreamView& value) { m_streamViewHasBeenSet = true; m_streamView = value; }
316 inline void SetStreamView(StreamView&& value) { m_streamViewHasBeenSet = true; m_streamView = std::move(value); }
317 inline UpdateFleetRequest& WithStreamView(const StreamView& value) { SetStreamView(value); return *this;}
318 inline UpdateFleetRequest& WithStreamView(StreamView&& value) { SetStreamView(std::move(value)); return *this;}
320
322
326 inline const PlatformType& GetPlatform() const{ return m_platform; }
327 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
328 inline void SetPlatform(const PlatformType& value) { m_platformHasBeenSet = true; m_platform = value; }
329 inline void SetPlatform(PlatformType&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); }
330 inline UpdateFleetRequest& WithPlatform(const PlatformType& value) { SetPlatform(value); return *this;}
331 inline UpdateFleetRequest& WithPlatform(PlatformType&& value) { SetPlatform(std::move(value)); return *this;}
333
335
338 inline int GetMaxConcurrentSessions() const{ return m_maxConcurrentSessions; }
339 inline bool MaxConcurrentSessionsHasBeenSet() const { return m_maxConcurrentSessionsHasBeenSet; }
340 inline void SetMaxConcurrentSessions(int value) { m_maxConcurrentSessionsHasBeenSet = true; m_maxConcurrentSessions = value; }
343
345
350 inline const Aws::Vector<Aws::String>& GetUsbDeviceFilterStrings() const{ return m_usbDeviceFilterStrings; }
351 inline bool UsbDeviceFilterStringsHasBeenSet() const { return m_usbDeviceFilterStringsHasBeenSet; }
352 inline void SetUsbDeviceFilterStrings(const Aws::Vector<Aws::String>& value) { m_usbDeviceFilterStringsHasBeenSet = true; m_usbDeviceFilterStrings = value; }
353 inline void SetUsbDeviceFilterStrings(Aws::Vector<Aws::String>&& value) { m_usbDeviceFilterStringsHasBeenSet = true; m_usbDeviceFilterStrings = std::move(value); }
356 inline UpdateFleetRequest& AddUsbDeviceFilterStrings(const Aws::String& value) { m_usbDeviceFilterStringsHasBeenSet = true; m_usbDeviceFilterStrings.push_back(value); return *this; }
357 inline UpdateFleetRequest& AddUsbDeviceFilterStrings(Aws::String&& value) { m_usbDeviceFilterStringsHasBeenSet = true; m_usbDeviceFilterStrings.push_back(std::move(value)); return *this; }
358 inline UpdateFleetRequest& AddUsbDeviceFilterStrings(const char* value) { m_usbDeviceFilterStringsHasBeenSet = true; m_usbDeviceFilterStrings.push_back(value); return *this; }
360
362
366 inline const S3Location& GetSessionScriptS3Location() const{ return m_sessionScriptS3Location; }
367 inline bool SessionScriptS3LocationHasBeenSet() const { return m_sessionScriptS3LocationHasBeenSet; }
368 inline void SetSessionScriptS3Location(const S3Location& value) { m_sessionScriptS3LocationHasBeenSet = true; m_sessionScriptS3Location = value; }
369 inline void SetSessionScriptS3Location(S3Location&& value) { m_sessionScriptS3LocationHasBeenSet = true; m_sessionScriptS3Location = std::move(value); }
371 inline UpdateFleetRequest& WithSessionScriptS3Location(S3Location&& value) { SetSessionScriptS3Location(std::move(value)); return *this;}
373
375
379 inline int GetMaxSessionsPerInstance() const{ return m_maxSessionsPerInstance; }
380 inline bool MaxSessionsPerInstanceHasBeenSet() const { return m_maxSessionsPerInstanceHasBeenSet; }
381 inline void SetMaxSessionsPerInstance(int value) { m_maxSessionsPerInstanceHasBeenSet = true; m_maxSessionsPerInstance = value; }
384 private:
385
386 Aws::String m_imageName;
387 bool m_imageNameHasBeenSet = false;
388
389 Aws::String m_imageArn;
390 bool m_imageArnHasBeenSet = false;
391
392 Aws::String m_name;
393 bool m_nameHasBeenSet = false;
394
395 Aws::String m_instanceType;
396 bool m_instanceTypeHasBeenSet = false;
397
398 ComputeCapacity m_computeCapacity;
399 bool m_computeCapacityHasBeenSet = false;
400
401 VpcConfig m_vpcConfig;
402 bool m_vpcConfigHasBeenSet = false;
403
404 int m_maxUserDurationInSeconds;
405 bool m_maxUserDurationInSecondsHasBeenSet = false;
406
407 int m_disconnectTimeoutInSeconds;
408 bool m_disconnectTimeoutInSecondsHasBeenSet = false;
409
410 Aws::String m_description;
411 bool m_descriptionHasBeenSet = false;
412
413 Aws::String m_displayName;
414 bool m_displayNameHasBeenSet = false;
415
416 bool m_enableDefaultInternetAccess;
417 bool m_enableDefaultInternetAccessHasBeenSet = false;
418
419 DomainJoinInfo m_domainJoinInfo;
420 bool m_domainJoinInfoHasBeenSet = false;
421
422 int m_idleDisconnectTimeoutInSeconds;
423 bool m_idleDisconnectTimeoutInSecondsHasBeenSet = false;
424
425 Aws::Vector<FleetAttribute> m_attributesToDelete;
426 bool m_attributesToDeleteHasBeenSet = false;
427
428 Aws::String m_iamRoleArn;
429 bool m_iamRoleArnHasBeenSet = false;
430
431 StreamView m_streamView;
432 bool m_streamViewHasBeenSet = false;
433
434 PlatformType m_platform;
435 bool m_platformHasBeenSet = false;
436
437 int m_maxConcurrentSessions;
438 bool m_maxConcurrentSessionsHasBeenSet = false;
439
440 Aws::Vector<Aws::String> m_usbDeviceFilterStrings;
441 bool m_usbDeviceFilterStringsHasBeenSet = false;
442
443 S3Location m_sessionScriptS3Location;
444 bool m_sessionScriptS3LocationHasBeenSet = false;
445
446 int m_maxSessionsPerInstance;
447 bool m_maxSessionsPerInstanceHasBeenSet = false;
448 };
449
450} // namespace Model
451} // namespace AppStream
452} // namespace Aws
UpdateFleetRequest & WithImageArn(Aws::String &&value)
UpdateFleetRequest & WithComputeCapacity(const ComputeCapacity &value)
UpdateFleetRequest & WithEnableDefaultInternetAccess(bool value)
void SetComputeCapacity(const ComputeCapacity &value)
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
UpdateFleetRequest & WithImageArn(const char *value)
UpdateFleetRequest & WithDisplayName(const char *value)
void SetName(const Aws::String &value)
UpdateFleetRequest & WithStreamView(const StreamView &value)
UpdateFleetRequest & WithName(const Aws::String &value)
UpdateFleetRequest & WithIamRoleArn(const Aws::String &value)
void SetSessionScriptS3Location(const S3Location &value)
UpdateFleetRequest & WithAttributesToDelete(Aws::Vector< FleetAttribute > &&value)
UpdateFleetRequest & WithStreamView(StreamView &&value)
UpdateFleetRequest & WithImageName(const Aws::String &value)
UpdateFleetRequest & WithName(const char *value)
UpdateFleetRequest & WithIamRoleArn(const char *value)
void SetComputeCapacity(ComputeCapacity &&value)
UpdateFleetRequest & WithImageArn(const Aws::String &value)
UpdateFleetRequest & AddUsbDeviceFilterStrings(Aws::String &&value)
UpdateFleetRequest & WithVpcConfig(VpcConfig &&value)
void SetDomainJoinInfo(const DomainJoinInfo &value)
const ComputeCapacity & GetComputeCapacity() const
void SetDisplayName(const Aws::String &value)
void SetImageName(const Aws::String &value)
UpdateFleetRequest & WithImageName(const char *value)
UpdateFleetRequest & WithDescription(const Aws::String &value)
void SetDomainJoinInfo(DomainJoinInfo &&value)
void SetInstanceType(const Aws::String &value)
AWS_APPSTREAM_API Aws::String SerializePayload() const override
UpdateFleetRequest & WithInstanceType(const Aws::String &value)
UpdateFleetRequest & WithIamRoleArn(Aws::String &&value)
void SetDescription(const Aws::String &value)
UpdateFleetRequest & AddUsbDeviceFilterStrings(const Aws::String &value)
UpdateFleetRequest & WithAttributesToDelete(const Aws::Vector< FleetAttribute > &value)
UpdateFleetRequest & AddUsbDeviceFilterStrings(const char *value)
UpdateFleetRequest & WithMaxSessionsPerInstance(int value)
UpdateFleetRequest & WithComputeCapacity(ComputeCapacity &&value)
const S3Location & GetSessionScriptS3Location() const
void SetAttributesToDelete(const Aws::Vector< FleetAttribute > &value)
UpdateFleetRequest & WithPlatform(PlatformType &&value)
UpdateFleetRequest & WithName(Aws::String &&value)
const DomainJoinInfo & GetDomainJoinInfo() const
UpdateFleetRequest & AddAttributesToDelete(const FleetAttribute &value)
void SetUsbDeviceFilterStrings(Aws::Vector< Aws::String > &&value)
void SetIamRoleArn(const Aws::String &value)
UpdateFleetRequest & WithVpcConfig(const VpcConfig &value)
UpdateFleetRequest & WithDescription(const char *value)
const Aws::Vector< Aws::String > & GetUsbDeviceFilterStrings() const
void SetStreamView(const StreamView &value)
UpdateFleetRequest & WithDisconnectTimeoutInSeconds(int value)
UpdateFleetRequest & AddAttributesToDelete(FleetAttribute &&value)
UpdateFleetRequest & WithMaxUserDurationInSeconds(int value)
UpdateFleetRequest & WithIdleDisconnectTimeoutInSeconds(int value)
UpdateFleetRequest & WithInstanceType(Aws::String &&value)
UpdateFleetRequest & WithDomainJoinInfo(const DomainJoinInfo &value)
void SetImageArn(const Aws::String &value)
const Aws::Vector< FleetAttribute > & GetAttributesToDelete() const
UpdateFleetRequest & WithDomainJoinInfo(DomainJoinInfo &&value)
UpdateFleetRequest & WithUsbDeviceFilterStrings(const Aws::Vector< Aws::String > &value)
UpdateFleetRequest & WithSessionScriptS3Location(const S3Location &value)
UpdateFleetRequest & WithPlatform(const PlatformType &value)
void SetSessionScriptS3Location(S3Location &&value)
UpdateFleetRequest & WithInstanceType(const char *value)
UpdateFleetRequest & WithSessionScriptS3Location(S3Location &&value)
UpdateFleetRequest & WithDisplayName(Aws::String &&value)
UpdateFleetRequest & WithImageName(Aws::String &&value)
UpdateFleetRequest & WithMaxConcurrentSessions(int value)
void SetAttributesToDelete(Aws::Vector< FleetAttribute > &&value)
UpdateFleetRequest & WithUsbDeviceFilterStrings(Aws::Vector< Aws::String > &&value)
void SetPlatform(const PlatformType &value)
void SetUsbDeviceFilterStrings(const Aws::Vector< Aws::String > &value)
UpdateFleetRequest & WithDisplayName(const Aws::String &value)
UpdateFleetRequest & WithDescription(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector