7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appstream/model/FleetType.h>
10#include <aws/appstream/model/ComputeCapacityStatus.h>
11#include <aws/appstream/model/FleetState.h>
12#include <aws/appstream/model/VpcConfig.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/appstream/model/DomainJoinInfo.h>
16#include <aws/appstream/model/StreamView.h>
17#include <aws/appstream/model/PlatformType.h>
18#include <aws/appstream/model/S3Location.h>
19#include <aws/appstream/model/FleetError.h>
58 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
59 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
73 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
87 inline void SetDisplayName(
const char* value) { m_displayNameHasBeenSet =
true; m_displayName.assign(value); }
101 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
115 inline void SetImageName(
const char* value) { m_imageNameHasBeenSet =
true; m_imageName.assign(value); }
129 inline void SetImageArn(
const char* value) { m_imageArnHasBeenSet =
true; m_imageArn.assign(value); }
167 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
353 inline void SetIamRoleArn(
const char* value) { m_iamRoleArnHasBeenSet =
true; m_iamRoleArn.assign(value); }
409 inline Fleet&
AddUsbDeviceFilterStrings(
const char* value) { m_usbDeviceFilterStringsHasBeenSet =
true; m_usbDeviceFilterStrings.push_back(value);
return *
this; }
438 bool m_arnHasBeenSet =
false;
441 bool m_nameHasBeenSet =
false;
444 bool m_displayNameHasBeenSet =
false;
447 bool m_descriptionHasBeenSet =
false;
450 bool m_imageNameHasBeenSet =
false;
453 bool m_imageArnHasBeenSet =
false;
456 bool m_instanceTypeHasBeenSet =
false;
459 bool m_fleetTypeHasBeenSet =
false;
462 bool m_computeCapacityStatusHasBeenSet =
false;
464 int m_maxUserDurationInSeconds;
465 bool m_maxUserDurationInSecondsHasBeenSet =
false;
467 int m_disconnectTimeoutInSeconds;
468 bool m_disconnectTimeoutInSecondsHasBeenSet =
false;
471 bool m_stateHasBeenSet =
false;
474 bool m_vpcConfigHasBeenSet =
false;
477 bool m_createdTimeHasBeenSet =
false;
480 bool m_fleetErrorsHasBeenSet =
false;
482 bool m_enableDefaultInternetAccess;
483 bool m_enableDefaultInternetAccessHasBeenSet =
false;
486 bool m_domainJoinInfoHasBeenSet =
false;
488 int m_idleDisconnectTimeoutInSeconds;
489 bool m_idleDisconnectTimeoutInSecondsHasBeenSet =
false;
492 bool m_iamRoleArnHasBeenSet =
false;
495 bool m_streamViewHasBeenSet =
false;
498 bool m_platformHasBeenSet =
false;
500 int m_maxConcurrentSessions;
501 bool m_maxConcurrentSessionsHasBeenSet =
false;
504 bool m_usbDeviceFilterStringsHasBeenSet =
false;
507 bool m_sessionScriptS3LocationHasBeenSet =
false;
509 int m_maxSessionsPerInstance;
510 bool m_maxSessionsPerInstanceHasBeenSet =
false;
const Aws::String & GetArn() const
Fleet & WithFleetType(FleetType &&value)
Fleet & WithImageName(const Aws::String &value)
AWS_APPSTREAM_API Fleet(Aws::Utils::Json::JsonView jsonValue)
void SetIamRoleArn(const Aws::String &value)
Fleet & WithDisplayName(const char *value)
Fleet & WithDisplayName(const Aws::String &value)
Fleet & WithCreatedTime(const Aws::Utils::DateTime &value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
bool UsbDeviceFilterStringsHasBeenSet() const
void SetArn(const char *value)
int GetIdleDisconnectTimeoutInSeconds() const
void SetDisplayName(const Aws::String &value)
bool MaxSessionsPerInstanceHasBeenSet() const
void SetIdleDisconnectTimeoutInSeconds(int value)
Fleet & WithFleetErrors(Aws::Vector< FleetError > &&value)
Fleet & WithImageArn(const char *value)
bool StreamViewHasBeenSet() const
Fleet & WithComputeCapacityStatus(ComputeCapacityStatus &&value)
void SetFleetType(const FleetType &value)
bool FleetTypeHasBeenSet() const
void SetComputeCapacityStatus(const ComputeCapacityStatus &value)
bool VpcConfigHasBeenSet() const
Fleet & WithUsbDeviceFilterStrings(const Aws::Vector< Aws::String > &value)
bool DisconnectTimeoutInSecondsHasBeenSet() const
void SetMaxConcurrentSessions(int value)
Fleet & WithMaxUserDurationInSeconds(int value)
void SetUsbDeviceFilterStrings(Aws::Vector< Aws::String > &&value)
void SetImageName(Aws::String &&value)
void SetImageArn(const Aws::String &value)
void SetStreamView(const StreamView &value)
Fleet & WithState(FleetState &&value)
Fleet & WithUsbDeviceFilterStrings(Aws::Vector< Aws::String > &&value)
AWS_APPSTREAM_API Fleet()
void SetPlatform(PlatformType &&value)
Fleet & AddFleetErrors(FleetError &&value)
Fleet & WithSessionScriptS3Location(const S3Location &value)
void SetImageArn(Aws::String &&value)
bool CreatedTimeHasBeenSet() const
void SetEnableDefaultInternetAccess(bool value)
bool MaxConcurrentSessionsHasBeenSet() const
bool GetEnableDefaultInternetAccess() const
Fleet & WithName(const char *value)
int GetMaxSessionsPerInstance() const
const Aws::Vector< FleetError > & GetFleetErrors() const
void SetVpcConfig(const VpcConfig &value)
bool StateHasBeenSet() const
bool PlatformHasBeenSet() const
void SetDomainJoinInfo(const DomainJoinInfo &value)
Fleet & WithDescription(const Aws::String &value)
const Aws::String & GetDescription() const
Fleet & WithInstanceType(const Aws::String &value)
void SetInstanceType(const Aws::String &value)
void SetComputeCapacityStatus(ComputeCapacityStatus &&value)
void SetStreamView(StreamView &&value)
void SetName(const char *value)
void SetState(FleetState &&value)
Fleet & WithFleetType(const FleetType &value)
Fleet & WithArn(Aws::String &&value)
Fleet & WithComputeCapacityStatus(const ComputeCapacityStatus &value)
Fleet & WithSessionScriptS3Location(S3Location &&value)
void SetSessionScriptS3Location(S3Location &&value)
bool NameHasBeenSet() const
Fleet & WithCreatedTime(Aws::Utils::DateTime &&value)
void SetDisplayName(Aws::String &&value)
Fleet & WithImageArn(const Aws::String &value)
void SetUsbDeviceFilterStrings(const Aws::Vector< Aws::String > &value)
void SetName(Aws::String &&value)
Fleet & WithMaxConcurrentSessions(int value)
Fleet & AddUsbDeviceFilterStrings(const char *value)
Fleet & WithPlatform(const PlatformType &value)
void SetFleetErrors(Aws::Vector< FleetError > &&value)
Fleet & WithArn(const char *value)
bool EnableDefaultInternetAccessHasBeenSet() const
Fleet & WithFleetErrors(const Aws::Vector< FleetError > &value)
bool MaxUserDurationInSecondsHasBeenSet() const
void SetFleetErrors(const Aws::Vector< FleetError > &value)
void SetDomainJoinInfo(DomainJoinInfo &&value)
void SetArn(Aws::String &&value)
bool DisplayNameHasBeenSet() const
Fleet & WithStreamView(const StreamView &value)
bool InstanceTypeHasBeenSet() const
void SetImageArn(const char *value)
const Aws::Vector< Aws::String > & GetUsbDeviceFilterStrings() const
const Aws::String & GetImageName() const
void SetPlatform(const PlatformType &value)
Fleet & WithState(const FleetState &value)
Fleet & WithInstanceType(const char *value)
void SetName(const Aws::String &value)
void SetVpcConfig(VpcConfig &&value)
Fleet & WithImageName(const char *value)
void SetSessionScriptS3Location(const S3Location &value)
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
Fleet & WithIdleDisconnectTimeoutInSeconds(int value)
void SetFleetType(FleetType &&value)
void SetArn(const Aws::String &value)
Fleet & WithImageArn(Aws::String &&value)
Fleet & WithName(const Aws::String &value)
Fleet & WithIamRoleArn(const Aws::String &value)
Fleet & WithDescription(Aws::String &&value)
Fleet & WithDomainJoinInfo(DomainJoinInfo &&value)
Fleet & AddUsbDeviceFilterStrings(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedTime() const
void SetMaxSessionsPerInstance(int value)
bool ImageNameHasBeenSet() const
bool ComputeCapacityStatusHasBeenSet() const
void SetCreatedTime(Aws::Utils::DateTime &&value)
bool DescriptionHasBeenSet() const
const FleetState & GetState() const
void SetIamRoleArn(Aws::String &&value)
int GetMaxUserDurationInSeconds() const
Fleet & WithDisconnectTimeoutInSeconds(int value)
bool ImageArnHasBeenSet() const
Fleet & WithDisplayName(Aws::String &&value)
Fleet & WithDescription(const char *value)
void SetImageName(const Aws::String &value)
Fleet & WithInstanceType(Aws::String &&value)
void SetDisconnectTimeoutInSeconds(int value)
bool IamRoleArnHasBeenSet() const
void SetDescription(const Aws::String &value)
void SetImageName(const char *value)
void SetDisplayName(const char *value)
const Aws::String & GetIamRoleArn() const
void SetMaxUserDurationInSeconds(int value)
const DomainJoinInfo & GetDomainJoinInfo() const
Fleet & AddFleetErrors(const FleetError &value)
Fleet & WithMaxSessionsPerInstance(int value)
Fleet & WithImageName(Aws::String &&value)
void SetInstanceType(const char *value)
void SetState(const FleetState &value)
const PlatformType & GetPlatform() const
const Aws::String & GetImageArn() const
Fleet & WithName(Aws::String &&value)
const Aws::String & GetInstanceType() const
Fleet & WithArn(const Aws::String &value)
Fleet & WithVpcConfig(VpcConfig &&value)
Fleet & WithDomainJoinInfo(const DomainJoinInfo &value)
void SetDescription(Aws::String &&value)
AWS_APPSTREAM_API Fleet & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(const char *value)
const Aws::String & GetName() const
Fleet & WithIamRoleArn(const char *value)
Fleet & WithEnableDefaultInternetAccess(bool value)
Fleet & AddUsbDeviceFilterStrings(Aws::String &&value)
bool ArnHasBeenSet() const
void SetInstanceType(Aws::String &&value)
bool FleetErrorsHasBeenSet() const
void SetIamRoleArn(const char *value)
Fleet & WithStreamView(StreamView &&value)
const StreamView & GetStreamView() const
const FleetType & GetFleetType() const
const ComputeCapacityStatus & GetComputeCapacityStatus() const
Fleet & WithVpcConfig(const VpcConfig &value)
bool DomainJoinInfoHasBeenSet() const
const Aws::String & GetDisplayName() const
int GetMaxConcurrentSessions() const
const VpcConfig & GetVpcConfig() const
const S3Location & GetSessionScriptS3Location() const
Fleet & WithIamRoleArn(Aws::String &&value)
bool IdleDisconnectTimeoutInSecondsHasBeenSet() const
bool SessionScriptS3LocationHasBeenSet() const
Fleet & WithPlatform(PlatformType &&value)
int GetDisconnectTimeoutInSeconds() 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