/** * 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 CreateStudioRequest : public NimbleStudioRequest { public: AWS_NIMBLESTUDIO_API CreateStudioRequest(); // 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 "CreateStudio"; } AWS_NIMBLESTUDIO_API Aws::String SerializePayload() const override; AWS_NIMBLESTUDIO_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The IAM role that studio admins will assume when logging in to the Nimble * Studio portal.

*/ inline const Aws::String& GetAdminRoleArn() const{ return m_adminRoleArn; } /** *

The IAM role that studio admins will assume when logging in to the Nimble * Studio portal.

*/ inline bool AdminRoleArnHasBeenSet() const { return m_adminRoleArnHasBeenSet; } /** *

The IAM role that studio admins will assume when logging in to the Nimble * Studio portal.

*/ inline void SetAdminRoleArn(const Aws::String& value) { m_adminRoleArnHasBeenSet = true; m_adminRoleArn = value; } /** *

The IAM role that studio admins will assume when logging in to the Nimble * Studio portal.

*/ inline void SetAdminRoleArn(Aws::String&& value) { m_adminRoleArnHasBeenSet = true; m_adminRoleArn = std::move(value); } /** *

The IAM role that studio admins will assume when logging in to the Nimble * Studio portal.

*/ inline void SetAdminRoleArn(const char* value) { m_adminRoleArnHasBeenSet = true; m_adminRoleArn.assign(value); } /** *

The IAM role that studio admins will assume when logging in to the Nimble * Studio portal.

*/ inline CreateStudioRequest& WithAdminRoleArn(const Aws::String& value) { SetAdminRoleArn(value); return *this;} /** *

The IAM role that studio admins will assume when logging in to the Nimble * Studio portal.

*/ inline CreateStudioRequest& WithAdminRoleArn(Aws::String&& value) { SetAdminRoleArn(std::move(value)); return *this;} /** *

The IAM role that studio admins will assume when logging in to the Nimble * Studio portal.

*/ inline CreateStudioRequest& WithAdminRoleArn(const char* value) { SetAdminRoleArn(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 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 CreateStudioRequest& 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 CreateStudioRequest& 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 CreateStudioRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *

A friendly name for the studio.

*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } /** *

A friendly name for the studio.

*/ inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } /** *

A friendly name for the studio.

*/ inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } /** *

A friendly name for the studio.

*/ inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } /** *

A friendly name for the studio.

*/ inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } /** *

A friendly name for the studio.

*/ inline CreateStudioRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} /** *

A friendly name for the studio.

*/ inline CreateStudioRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} /** *

A friendly name for the studio.

*/ inline CreateStudioRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} /** *

The studio encryption configuration.

*/ inline const StudioEncryptionConfiguration& GetStudioEncryptionConfiguration() const{ return m_studioEncryptionConfiguration; } /** *

The studio encryption configuration.

*/ inline bool StudioEncryptionConfigurationHasBeenSet() const { return m_studioEncryptionConfigurationHasBeenSet; } /** *

The studio encryption configuration.

*/ inline void SetStudioEncryptionConfiguration(const StudioEncryptionConfiguration& value) { m_studioEncryptionConfigurationHasBeenSet = true; m_studioEncryptionConfiguration = value; } /** *

The studio encryption configuration.

*/ inline void SetStudioEncryptionConfiguration(StudioEncryptionConfiguration&& value) { m_studioEncryptionConfigurationHasBeenSet = true; m_studioEncryptionConfiguration = std::move(value); } /** *

The studio encryption configuration.

*/ inline CreateStudioRequest& WithStudioEncryptionConfiguration(const StudioEncryptionConfiguration& value) { SetStudioEncryptionConfiguration(value); return *this;} /** *

The studio encryption configuration.

*/ inline CreateStudioRequest& WithStudioEncryptionConfiguration(StudioEncryptionConfiguration&& value) { SetStudioEncryptionConfiguration(std::move(value)); return *this;} /** *

The studio name that is used in the URL of the Nimble Studio portal when * accessed by Nimble Studio users.

*/ inline const Aws::String& GetStudioName() const{ return m_studioName; } /** *

The studio name that is used in the URL of the Nimble Studio portal when * accessed by Nimble Studio users.

*/ inline bool StudioNameHasBeenSet() const { return m_studioNameHasBeenSet; } /** *

The studio name that is used in the URL of the Nimble Studio portal when * accessed by Nimble Studio users.

*/ inline void SetStudioName(const Aws::String& value) { m_studioNameHasBeenSet = true; m_studioName = value; } /** *

The studio name that is used in the URL of the Nimble Studio portal when * accessed by Nimble Studio users.

*/ inline void SetStudioName(Aws::String&& value) { m_studioNameHasBeenSet = true; m_studioName = std::move(value); } /** *

The studio name that is used in the URL of the Nimble Studio portal when * accessed by Nimble Studio users.

*/ inline void SetStudioName(const char* value) { m_studioNameHasBeenSet = true; m_studioName.assign(value); } /** *

The studio name that is used in the URL of the Nimble Studio portal when * accessed by Nimble Studio users.

*/ inline CreateStudioRequest& WithStudioName(const Aws::String& value) { SetStudioName(value); return *this;} /** *

The studio name that is used in the URL of the Nimble Studio portal when * accessed by Nimble Studio users.

*/ inline CreateStudioRequest& WithStudioName(Aws::String&& value) { SetStudioName(std::move(value)); return *this;} /** *

The studio name that is used in the URL of the Nimble Studio portal when * accessed by Nimble Studio users.

*/ inline CreateStudioRequest& WithStudioName(const char* value) { SetStudioName(value); return *this;} /** *

A collection of labels, in the form of key-value pairs, that apply to this * resource.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

A 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::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

A collection of labels, in the form of key-value pairs, that apply to this * resource.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

A collection of labels, in the form of key-value pairs, that apply to this * resource.

*/ inline CreateStudioRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

A collection of labels, in the form of key-value pairs, that apply to this * resource.

*/ inline CreateStudioRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

A collection of labels, in the form of key-value pairs, that apply to this * resource.

*/ inline CreateStudioRequest& 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 CreateStudioRequest& 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 CreateStudioRequest& 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 CreateStudioRequest& 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 CreateStudioRequest& 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 CreateStudioRequest& 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 CreateStudioRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

The IAM role that studio users will assume when logging in to the Nimble * Studio portal.

*/ inline const Aws::String& GetUserRoleArn() const{ return m_userRoleArn; } /** *

The IAM role that studio users will assume when logging in to the Nimble * Studio portal.

*/ inline bool UserRoleArnHasBeenSet() const { return m_userRoleArnHasBeenSet; } /** *

The IAM role that studio users will assume when logging in to the Nimble * Studio portal.

*/ inline void SetUserRoleArn(const Aws::String& value) { m_userRoleArnHasBeenSet = true; m_userRoleArn = value; } /** *

The IAM role that studio users will assume when logging in to the Nimble * Studio portal.

*/ inline void SetUserRoleArn(Aws::String&& value) { m_userRoleArnHasBeenSet = true; m_userRoleArn = std::move(value); } /** *

The IAM role that studio users will assume when logging in to the Nimble * Studio portal.

*/ inline void SetUserRoleArn(const char* value) { m_userRoleArnHasBeenSet = true; m_userRoleArn.assign(value); } /** *

The IAM role that studio users will assume when logging in to the Nimble * Studio portal.

*/ inline CreateStudioRequest& WithUserRoleArn(const Aws::String& value) { SetUserRoleArn(value); return *this;} /** *

The IAM role that studio users will assume when logging in to the Nimble * Studio portal.

*/ inline CreateStudioRequest& WithUserRoleArn(Aws::String&& value) { SetUserRoleArn(std::move(value)); return *this;} /** *

The IAM role that studio users will assume when logging in to the Nimble * Studio portal.

*/ inline CreateStudioRequest& WithUserRoleArn(const char* value) { SetUserRoleArn(value); return *this;} private: Aws::String m_adminRoleArn; bool m_adminRoleArnHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; Aws::String m_displayName; bool m_displayNameHasBeenSet = false; StudioEncryptionConfiguration m_studioEncryptionConfiguration; bool m_studioEncryptionConfigurationHasBeenSet = false; Aws::String m_studioName; bool m_studioNameHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; Aws::String m_userRoleArn; bool m_userRoleArnHasBeenSet = false; }; } // namespace Model } // namespace NimbleStudio } // namespace Aws