/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace NimbleStudio { namespace Model { /** */ class UpdateLaunchProfileRequest : public NimbleStudioRequest { public: AWS_NIMBLESTUDIO_API UpdateLaunchProfileRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateLaunchProfile"; } AWS_NIMBLESTUDIO_API Aws::String SerializePayload() const override; AWS_NIMBLESTUDIO_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request. If you don’t specify a client token, the Amazon Web Services SDK * automatically generates a client token and uses it for the request to ensure * idempotency.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request. If you don’t specify a client token, the Amazon Web Services SDK * automatically generates a client token and uses it for the request to ensure * idempotency.

*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request. If you don’t specify a client token, the Amazon Web Services SDK * automatically generates a client token and uses it for the request to ensure * idempotency.

*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request. If you don’t specify a client token, the Amazon Web Services SDK * automatically generates a client token and uses it for the request to ensure * idempotency.

*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request. If you don’t specify a client token, the Amazon Web Services SDK * automatically generates a client token and uses it for the request to ensure * idempotency.

*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request. If you don’t specify a client token, the Amazon Web Services SDK * automatically generates a client token and uses it for the request to ensure * idempotency.

*/ inline UpdateLaunchProfileRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request. If you don’t specify a client token, the Amazon Web Services SDK * automatically generates a client token and uses it for the request to ensure * idempotency.

*/ inline UpdateLaunchProfileRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request. If you don’t specify a client token, the Amazon Web Services SDK * automatically generates a client token and uses it for the request to ensure * idempotency.

*/ inline UpdateLaunchProfileRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *

The description.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description.

*/ inline UpdateLaunchProfileRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description.

*/ inline UpdateLaunchProfileRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description.

*/ inline UpdateLaunchProfileRequest& WithDescription(const char* value) { SetDescription(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 UpdateLaunchProfileRequest& WithLaunchProfileId(const Aws::String& value) { SetLaunchProfileId(value); return *this;} /** *

The ID of the launch profile used to control access from the streaming * session.

*/ inline UpdateLaunchProfileRequest& 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 UpdateLaunchProfileRequest& 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::Vector& GetLaunchProfileProtocolVersions() const{ return m_launchProfileProtocolVersions; } /** *

The 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::Vector& value) { m_launchProfileProtocolVersionsHasBeenSet = true; m_launchProfileProtocolVersions = value; } /** *

The version number of the protocol that is used by the launch profile. The * only valid version is "2021-03-31".

*/ inline void SetLaunchProfileProtocolVersions(Aws::Vector&& value) { m_launchProfileProtocolVersionsHasBeenSet = true; m_launchProfileProtocolVersions = std::move(value); } /** *

The version number of the protocol that is used by the launch profile. The * only valid version is "2021-03-31".

*/ inline UpdateLaunchProfileRequest& WithLaunchProfileProtocolVersions(const Aws::Vector& value) { SetLaunchProfileProtocolVersions(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 UpdateLaunchProfileRequest& WithLaunchProfileProtocolVersions(Aws::Vector&& value) { SetLaunchProfileProtocolVersions(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 UpdateLaunchProfileRequest& 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 UpdateLaunchProfileRequest& 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 UpdateLaunchProfileRequest& AddLaunchProfileProtocolVersions(const char* value) { m_launchProfileProtocolVersionsHasBeenSet = true; m_launchProfileProtocolVersions.push_back(value); return *this; } /** *

The name for the launch profile.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name for the launch profile.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name for the launch profile.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name for the launch profile.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name for the launch profile.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name for the launch profile.

*/ inline UpdateLaunchProfileRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name for the launch profile.

*/ inline UpdateLaunchProfileRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name for the launch profile.

*/ inline UpdateLaunchProfileRequest& WithName(const char* value) { SetName(value); return *this;} /** *

A configuration for a streaming session.

*/ inline const StreamConfigurationCreate& 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 StreamConfigurationCreate& value) { m_streamConfigurationHasBeenSet = true; m_streamConfiguration = value; } /** *

A configuration for a streaming session.

*/ inline void SetStreamConfiguration(StreamConfigurationCreate&& value) { m_streamConfigurationHasBeenSet = true; m_streamConfiguration = std::move(value); } /** *

A configuration for a streaming session.

*/ inline UpdateLaunchProfileRequest& WithStreamConfiguration(const StreamConfigurationCreate& value) { SetStreamConfiguration(value); return *this;} /** *

A configuration for a streaming session.

*/ inline UpdateLaunchProfileRequest& WithStreamConfiguration(StreamConfigurationCreate&& 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::Vector& GetStudioComponentIds() const{ return m_studioComponentIds; } /** *

Unique 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::Vector& value) { m_studioComponentIdsHasBeenSet = true; m_studioComponentIds = value; } /** *

Unique identifiers for a collection of studio components that can be used * with this launch profile.

*/ inline void SetStudioComponentIds(Aws::Vector&& value) { m_studioComponentIdsHasBeenSet = true; m_studioComponentIds = std::move(value); } /** *

Unique identifiers for a collection of studio components that can be used * with this launch profile.

*/ inline UpdateLaunchProfileRequest& WithStudioComponentIds(const Aws::Vector& value) { SetStudioComponentIds(value); return *this;} /** *

Unique identifiers for a collection of studio components that can be used * with this launch profile.

*/ inline UpdateLaunchProfileRequest& WithStudioComponentIds(Aws::Vector&& value) { SetStudioComponentIds(std::move(value)); return *this;} /** *

Unique identifiers for a collection of studio components that can be used * with this launch profile.

*/ inline UpdateLaunchProfileRequest& 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 UpdateLaunchProfileRequest& 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 UpdateLaunchProfileRequest& AddStudioComponentIds(const char* value) { m_studioComponentIdsHasBeenSet = true; m_studioComponentIds.push_back(value); return *this; } /** *

The studio ID.

*/ inline const Aws::String& GetStudioId() const{ return m_studioId; } /** *

The studio ID.

*/ inline bool StudioIdHasBeenSet() const { return m_studioIdHasBeenSet; } /** *

The studio ID.

*/ inline void SetStudioId(const Aws::String& value) { m_studioIdHasBeenSet = true; m_studioId = value; } /** *

The studio ID.

*/ inline void SetStudioId(Aws::String&& value) { m_studioIdHasBeenSet = true; m_studioId = std::move(value); } /** *

The studio ID.

*/ inline void SetStudioId(const char* value) { m_studioIdHasBeenSet = true; m_studioId.assign(value); } /** *

The studio ID.

*/ inline UpdateLaunchProfileRequest& WithStudioId(const Aws::String& value) { SetStudioId(value); return *this;} /** *

The studio ID.

*/ inline UpdateLaunchProfileRequest& WithStudioId(Aws::String&& value) { SetStudioId(std::move(value)); return *this;} /** *

The studio ID.

*/ inline UpdateLaunchProfileRequest& WithStudioId(const char* value) { SetStudioId(value); return *this;} private: Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_launchProfileId; bool m_launchProfileIdHasBeenSet = false; Aws::Vector m_launchProfileProtocolVersions; bool m_launchProfileProtocolVersionsHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; StreamConfigurationCreate m_streamConfiguration; bool m_streamConfigurationHasBeenSet = false; Aws::Vector m_studioComponentIds; bool m_studioComponentIdsHasBeenSet = false; Aws::String m_studioId; bool m_studioIdHasBeenSet = false; }; } // namespace Model } // namespace NimbleStudio } // namespace Aws