/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace NimbleStudio { namespace Model { /** */ class UpdateStudioRequest : public NimbleStudioRequest { public: AWS_NIMBLESTUDIO_API UpdateStudioRequest(); // 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 "UpdateStudio"; } 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 UpdateStudioRequest& 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 UpdateStudioRequest& 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 UpdateStudioRequest& 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 UpdateStudioRequest& 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 UpdateStudioRequest& 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 UpdateStudioRequest& 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 UpdateStudioRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} /** *

A friendly name for the studio.

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

A friendly name for the studio.

*/ inline UpdateStudioRequest& WithDisplayName(const char* value) { SetDisplayName(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 UpdateStudioRequest& WithStudioId(const Aws::String& value) { SetStudioId(value); return *this;} /** *

The studio ID.

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

The studio ID.

*/ inline UpdateStudioRequest& WithStudioId(const char* value) { SetStudioId(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 UpdateStudioRequest& 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 UpdateStudioRequest& 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 UpdateStudioRequest& 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; Aws::String m_studioId; bool m_studioIdHasBeenSet = false; Aws::String m_userRoleArn; bool m_userRoleArnHasBeenSet = false; }; } // namespace Model } // namespace NimbleStudio } // namespace Aws