/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A launch profile controls your artist workforce’s access to studio
* components, like compute farms, shared file systems, managed file systems, and
* license server configurations, as well as instance types and Amazon Machine
* Images (AMIs). Studio administrators create launch profiles in the
* Nimble Studio console. Artists can use their launch profiles to launch an
* instance from the Nimble Studio portal. Each user’s launch profile defines how
* they can launch a streaming session. By default, studio admins can use all
* launch profiles.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) that is assigned to a studio resource and * uniquely identifies it. ARNs are unique across all Regions.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) that is assigned to a studio resource and * uniquely identifies it. ARNs are unique across all Regions.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) that is assigned to a studio resource and * uniquely identifies it. ARNs are unique across all Regions.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) that is assigned to a studio resource and * uniquely identifies it. ARNs are unique across all Regions.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) that is assigned to a studio resource and * uniquely identifies it. ARNs are unique across all Regions.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) that is assigned to a studio resource and * uniquely identifies it. ARNs are unique across all Regions.
*/ inline LaunchProfile& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) that is assigned to a studio resource and * uniquely identifies it. ARNs are unique across all Regions.
*/ inline LaunchProfile& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) that is assigned to a studio resource and * uniquely identifies it. ARNs are unique across all Regions.
*/ inline LaunchProfile& WithArn(const char* value) { SetArn(value); return *this;} /** *The ISO timestamp in seconds for when the resource was created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The ISO timestamp in seconds for when the resource was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The ISO timestamp in seconds for when the resource was created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The ISO timestamp in seconds for when the resource was created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The ISO timestamp in seconds for when the resource was created.
*/ inline LaunchProfile& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The ISO timestamp in seconds for when the resource was created.
*/ inline LaunchProfile& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *The user ID of the user that created the launch profile.
*/ inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } /** *The user ID of the user that created the launch profile.
*/ inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } /** *The user ID of the user that created the launch profile.
*/ inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } /** *The user ID of the user that created the launch profile.
*/ inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } /** *The user ID of the user that created the launch profile.
*/ inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } /** *The user ID of the user that created the launch profile.
*/ inline LaunchProfile& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} /** *The user ID of the user that created the launch profile.
*/ inline LaunchProfile& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} /** *The user ID of the user that created the launch profile.
*/ inline LaunchProfile& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} /** *A human-readable description of the launch profile.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A human-readable description of the launch profile.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A human-readable description of the launch profile.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A human-readable description of the launch profile.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A human-readable description of the launch profile.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A human-readable description of the launch profile.
*/ inline LaunchProfile& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A human-readable description of the launch profile.
*/ inline LaunchProfile& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A human-readable description of the launch profile.
*/ inline LaunchProfile& WithDescription(const char* value) { SetDescription(value); return *this;} /** *Unique identifiers for a collection of EC2 subnets.
*/ inline const Aws::VectorUnique identifiers for a collection of EC2 subnets.
*/ inline bool Ec2SubnetIdsHasBeenSet() const { return m_ec2SubnetIdsHasBeenSet; } /** *Unique identifiers for a collection of EC2 subnets.
*/ inline void SetEc2SubnetIds(const Aws::VectorUnique identifiers for a collection of EC2 subnets.
*/ inline void SetEc2SubnetIds(Aws::VectorUnique identifiers for a collection of EC2 subnets.
*/ inline LaunchProfile& WithEc2SubnetIds(const Aws::VectorUnique identifiers for a collection of EC2 subnets.
*/ inline LaunchProfile& WithEc2SubnetIds(Aws::VectorUnique identifiers for a collection of EC2 subnets.
*/ inline LaunchProfile& AddEc2SubnetIds(const Aws::String& value) { m_ec2SubnetIdsHasBeenSet = true; m_ec2SubnetIds.push_back(value); return *this; } /** *Unique identifiers for a collection of EC2 subnets.
*/ inline LaunchProfile& AddEc2SubnetIds(Aws::String&& value) { m_ec2SubnetIdsHasBeenSet = true; m_ec2SubnetIds.push_back(std::move(value)); return *this; } /** *Unique identifiers for a collection of EC2 subnets.
*/ inline LaunchProfile& AddEc2SubnetIds(const char* value) { m_ec2SubnetIdsHasBeenSet = true; m_ec2SubnetIds.push_back(value); return *this; } /** *The ID of the launch profile used to control access from the streaming * session.
*/ inline const Aws::String& GetLaunchProfileId() const{ return m_launchProfileId; } /** *The ID of the launch profile used to control access from the streaming * session.
*/ inline bool LaunchProfileIdHasBeenSet() const { return m_launchProfileIdHasBeenSet; } /** *The ID of the launch profile used to control access from the streaming * session.
*/ inline void SetLaunchProfileId(const Aws::String& value) { m_launchProfileIdHasBeenSet = true; m_launchProfileId = value; } /** *The ID of the launch profile used to control access from the streaming * session.
*/ inline void SetLaunchProfileId(Aws::String&& value) { m_launchProfileIdHasBeenSet = true; m_launchProfileId = std::move(value); } /** *The ID of the launch profile used to control access from the streaming * session.
*/ inline void SetLaunchProfileId(const char* value) { m_launchProfileIdHasBeenSet = true; m_launchProfileId.assign(value); } /** *The ID of the launch profile used to control access from the streaming * session.
*/ inline LaunchProfile& WithLaunchProfileId(const Aws::String& value) { SetLaunchProfileId(value); return *this;} /** *The ID of the launch profile used to control access from the streaming * session.
*/ inline LaunchProfile& WithLaunchProfileId(Aws::String&& value) { SetLaunchProfileId(std::move(value)); return *this;} /** *The ID of the launch profile used to control access from the streaming * session.
*/ inline LaunchProfile& WithLaunchProfileId(const char* value) { SetLaunchProfileId(value); return *this;} /** *The version number of the protocol that is used by the launch profile. The * only valid version is "2021-03-31".
*/ inline const Aws::VectorThe version number of the protocol that is used by the launch profile. The * only valid version is "2021-03-31".
*/ inline bool LaunchProfileProtocolVersionsHasBeenSet() const { return m_launchProfileProtocolVersionsHasBeenSet; } /** *The version number of the protocol that is used by the launch profile. The * only valid version is "2021-03-31".
*/ inline void SetLaunchProfileProtocolVersions(const Aws::VectorThe version number of the protocol that is used by the launch profile. The * only valid version is "2021-03-31".
*/ inline void SetLaunchProfileProtocolVersions(Aws::VectorThe version number of the protocol that is used by the launch profile. The * only valid version is "2021-03-31".
*/ inline LaunchProfile& WithLaunchProfileProtocolVersions(const Aws::VectorThe version number of the protocol that is used by the launch profile. The * only valid version is "2021-03-31".
*/ inline LaunchProfile& WithLaunchProfileProtocolVersions(Aws::VectorThe version number of the protocol that is used by the launch profile. The * only valid version is "2021-03-31".
*/ inline LaunchProfile& AddLaunchProfileProtocolVersions(const Aws::String& value) { m_launchProfileProtocolVersionsHasBeenSet = true; m_launchProfileProtocolVersions.push_back(value); return *this; } /** *The version number of the protocol that is used by the launch profile. The * only valid version is "2021-03-31".
*/ inline LaunchProfile& AddLaunchProfileProtocolVersions(Aws::String&& value) { m_launchProfileProtocolVersionsHasBeenSet = true; m_launchProfileProtocolVersions.push_back(std::move(value)); return *this; } /** *The version number of the protocol that is used by the launch profile. The * only valid version is "2021-03-31".
*/ inline LaunchProfile& AddLaunchProfileProtocolVersions(const char* value) { m_launchProfileProtocolVersionsHasBeenSet = true; m_launchProfileProtocolVersions.push_back(value); return *this; } /** *A friendly name for the launch profile.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *A friendly name for the launch profile.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *A friendly name for the launch profile.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *A friendly name for the launch profile.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *A friendly name for the launch profile.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *A friendly name for the launch profile.
*/ inline LaunchProfile& WithName(const Aws::String& value) { SetName(value); return *this;} /** *A friendly name for the launch profile.
*/ inline LaunchProfile& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *A friendly name for the launch profile.
*/ inline LaunchProfile& WithName(const char* value) { SetName(value); return *this;} /** *The current state.
*/ inline const LaunchProfileState& GetState() const{ return m_state; } /** *The current state.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The current state.
*/ inline void SetState(const LaunchProfileState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The current state.
*/ inline void SetState(LaunchProfileState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The current state.
*/ inline LaunchProfile& WithState(const LaunchProfileState& value) { SetState(value); return *this;} /** *The current state.
*/ inline LaunchProfile& WithState(LaunchProfileState&& value) { SetState(std::move(value)); return *this;} /** *The status code.
*/ inline const LaunchProfileStatusCode& GetStatusCode() const{ return m_statusCode; } /** *The status code.
*/ inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; } /** *The status code.
*/ inline void SetStatusCode(const LaunchProfileStatusCode& value) { m_statusCodeHasBeenSet = true; m_statusCode = value; } /** *The status code.
*/ inline void SetStatusCode(LaunchProfileStatusCode&& value) { m_statusCodeHasBeenSet = true; m_statusCode = std::move(value); } /** *The status code.
*/ inline LaunchProfile& WithStatusCode(const LaunchProfileStatusCode& value) { SetStatusCode(value); return *this;} /** *The status code.
*/ inline LaunchProfile& WithStatusCode(LaunchProfileStatusCode&& value) { SetStatusCode(std::move(value)); return *this;} /** *The status message for the launch profile.
*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *The status message for the launch profile.
*/ inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } /** *The status message for the launch profile.
*/ inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; } /** *The status message for the launch profile.
*/ inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); } /** *The status message for the launch profile.
*/ inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); } /** *The status message for the launch profile.
*/ inline LaunchProfile& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *The status message for the launch profile.
*/ inline LaunchProfile& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *The status message for the launch profile.
*/ inline LaunchProfile& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} /** *A configuration for a streaming session.
*/ inline const StreamConfiguration& GetStreamConfiguration() const{ return m_streamConfiguration; } /** *A configuration for a streaming session.
*/ inline bool StreamConfigurationHasBeenSet() const { return m_streamConfigurationHasBeenSet; } /** *A configuration for a streaming session.
*/ inline void SetStreamConfiguration(const StreamConfiguration& value) { m_streamConfigurationHasBeenSet = true; m_streamConfiguration = value; } /** *A configuration for a streaming session.
*/ inline void SetStreamConfiguration(StreamConfiguration&& value) { m_streamConfigurationHasBeenSet = true; m_streamConfiguration = std::move(value); } /** *A configuration for a streaming session.
*/ inline LaunchProfile& WithStreamConfiguration(const StreamConfiguration& value) { SetStreamConfiguration(value); return *this;} /** *A configuration for a streaming session.
*/ inline LaunchProfile& WithStreamConfiguration(StreamConfiguration&& value) { SetStreamConfiguration(std::move(value)); return *this;} /** *Unique identifiers for a collection of studio components that can be used * with this launch profile.
*/ inline const Aws::VectorUnique identifiers for a collection of studio components that can be used * with this launch profile.
*/ inline bool StudioComponentIdsHasBeenSet() const { return m_studioComponentIdsHasBeenSet; } /** *Unique identifiers for a collection of studio components that can be used * with this launch profile.
*/ inline void SetStudioComponentIds(const Aws::VectorUnique identifiers for a collection of studio components that can be used * with this launch profile.
*/ inline void SetStudioComponentIds(Aws::VectorUnique identifiers for a collection of studio components that can be used * with this launch profile.
*/ inline LaunchProfile& WithStudioComponentIds(const Aws::VectorUnique identifiers for a collection of studio components that can be used * with this launch profile.
*/ inline LaunchProfile& WithStudioComponentIds(Aws::VectorUnique identifiers for a collection of studio components that can be used * with this launch profile.
*/ inline LaunchProfile& AddStudioComponentIds(const Aws::String& value) { m_studioComponentIdsHasBeenSet = true; m_studioComponentIds.push_back(value); return *this; } /** *Unique identifiers for a collection of studio components that can be used * with this launch profile.
*/ inline LaunchProfile& AddStudioComponentIds(Aws::String&& value) { m_studioComponentIdsHasBeenSet = true; m_studioComponentIds.push_back(std::move(value)); return *this; } /** *Unique identifiers for a collection of studio components that can be used * with this launch profile.
*/ inline LaunchProfile& AddStudioComponentIds(const char* value) { m_studioComponentIdsHasBeenSet = true; m_studioComponentIds.push_back(value); return *this; } /** *A collection of labels, in the form of key-value pairs, that apply to this * resource.
*/ inline const Aws::MapA collection of labels, in the form of key-value pairs, that apply to this * resource.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *A collection of labels, in the form of key-value pairs, that apply to this * resource.
*/ inline void SetTags(const Aws::MapA collection of labels, in the form of key-value pairs, that apply to this * resource.
*/ inline void SetTags(Aws::MapA collection of labels, in the form of key-value pairs, that apply to this * resource.
*/ inline LaunchProfile& WithTags(const Aws::MapA collection of labels, in the form of key-value pairs, that apply to this * resource.
*/ inline LaunchProfile& WithTags(Aws::MapA collection of labels, in the form of key-value pairs, that apply to this * resource.
*/ inline LaunchProfile& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *A collection of labels, in the form of key-value pairs, that apply to this * resource.
*/ inline LaunchProfile& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *A collection of labels, in the form of key-value pairs, that apply to this * resource.
*/ inline LaunchProfile& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *A collection of labels, in the form of key-value pairs, that apply to this * resource.
*/ inline LaunchProfile& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *A collection of labels, in the form of key-value pairs, that apply to this * resource.
*/ inline LaunchProfile& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *A collection of labels, in the form of key-value pairs, that apply to this * resource.
*/ inline LaunchProfile& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *A collection of labels, in the form of key-value pairs, that apply to this * resource.
*/ inline LaunchProfile& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The ISO timestamp in seconds for when the resource was updated.
*/ inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } /** *The ISO timestamp in seconds for when the resource was updated.
*/ inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } /** *The ISO timestamp in seconds for when the resource was updated.
*/ inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } /** *The ISO timestamp in seconds for when the resource was updated.
*/ inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } /** *The ISO timestamp in seconds for when the resource was updated.
*/ inline LaunchProfile& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} /** *The ISO timestamp in seconds for when the resource was updated.
*/ inline LaunchProfile& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} /** *The user ID of the user that most recently updated the resource.
*/ inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; } /** *The user ID of the user that most recently updated the resource.
*/ inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; } /** *The user ID of the user that most recently updated the resource.
*/ inline void SetUpdatedBy(const Aws::String& value) { m_updatedByHasBeenSet = true; m_updatedBy = value; } /** *The user ID of the user that most recently updated the resource.
*/ inline void SetUpdatedBy(Aws::String&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::move(value); } /** *The user ID of the user that most recently updated the resource.
*/ inline void SetUpdatedBy(const char* value) { m_updatedByHasBeenSet = true; m_updatedBy.assign(value); } /** *The user ID of the user that most recently updated the resource.
*/ inline LaunchProfile& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;} /** *The user ID of the user that most recently updated the resource.
*/ inline LaunchProfile& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} /** *The user ID of the user that most recently updated the resource.
*/ inline LaunchProfile& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} /** *The list of the latest validation results.
*/ inline const Aws::VectorThe list of the latest validation results.
*/ inline bool ValidationResultsHasBeenSet() const { return m_validationResultsHasBeenSet; } /** *The list of the latest validation results.
*/ inline void SetValidationResults(const Aws::VectorThe list of the latest validation results.
*/ inline void SetValidationResults(Aws::VectorThe list of the latest validation results.
*/ inline LaunchProfile& WithValidationResults(const Aws::VectorThe list of the latest validation results.
*/ inline LaunchProfile& WithValidationResults(Aws::VectorThe list of the latest validation results.
*/ inline LaunchProfile& AddValidationResults(const ValidationResult& value) { m_validationResultsHasBeenSet = true; m_validationResults.push_back(value); return *this; } /** *The list of the latest validation results.
*/ inline LaunchProfile& AddValidationResults(ValidationResult&& value) { m_validationResultsHasBeenSet = true; m_validationResults.push_back(std::move(value)); return *this; } private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::String m_createdBy; bool m_createdByHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector