/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Connect { namespace Model { /** */ class UpdatePromptRequest : public ConnectRequest { public: AWS_CONNECT_API UpdatePromptRequest(); // 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 "UpdatePrompt"; } AWS_CONNECT_API Aws::String SerializePayload() const override; /** *

The identifier of the Amazon Connect instance. You can find * the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } /** *

The identifier of the Amazon Connect instance. You can find * the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } /** *

The identifier of the Amazon Connect instance. You can find * the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } /** *

The identifier of the Amazon Connect instance. You can find * the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } /** *

The identifier of the Amazon Connect instance. You can find * the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } /** *

The identifier of the Amazon Connect instance. You can find * the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ inline UpdatePromptRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} /** *

The identifier of the Amazon Connect instance. You can find * the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ inline UpdatePromptRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} /** *

The identifier of the Amazon Connect instance. You can find * the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ inline UpdatePromptRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} /** *

A unique identifier for the prompt.

*/ inline const Aws::String& GetPromptId() const{ return m_promptId; } /** *

A unique identifier for the prompt.

*/ inline bool PromptIdHasBeenSet() const { return m_promptIdHasBeenSet; } /** *

A unique identifier for the prompt.

*/ inline void SetPromptId(const Aws::String& value) { m_promptIdHasBeenSet = true; m_promptId = value; } /** *

A unique identifier for the prompt.

*/ inline void SetPromptId(Aws::String&& value) { m_promptIdHasBeenSet = true; m_promptId = std::move(value); } /** *

A unique identifier for the prompt.

*/ inline void SetPromptId(const char* value) { m_promptIdHasBeenSet = true; m_promptId.assign(value); } /** *

A unique identifier for the prompt.

*/ inline UpdatePromptRequest& WithPromptId(const Aws::String& value) { SetPromptId(value); return *this;} /** *

A unique identifier for the prompt.

*/ inline UpdatePromptRequest& WithPromptId(Aws::String&& value) { SetPromptId(std::move(value)); return *this;} /** *

A unique identifier for the prompt.

*/ inline UpdatePromptRequest& WithPromptId(const char* value) { SetPromptId(value); return *this;} /** *

The name of the prompt.

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

The name of the prompt.

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

The name of the prompt.

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

The name of the prompt.

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

The name of the prompt.

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

The name of the prompt.

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

The name of the prompt.

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

The name of the prompt.

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

A description of the prompt.

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

A description of the prompt.

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

A description of the prompt.

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

A description of the prompt.

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

A description of the prompt.

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

A description of the prompt.

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

A description of the prompt.

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

A description of the prompt.

*/ inline UpdatePromptRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The URI for the S3 bucket where the prompt is stored.

*/ inline const Aws::String& GetS3Uri() const{ return m_s3Uri; } /** *

The URI for the S3 bucket where the prompt is stored.

*/ inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; } /** *

The URI for the S3 bucket where the prompt is stored.

*/ inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; } /** *

The URI for the S3 bucket where the prompt is stored.

*/ inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); } /** *

The URI for the S3 bucket where the prompt is stored.

*/ inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); } /** *

The URI for the S3 bucket where the prompt is stored.

*/ inline UpdatePromptRequest& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;} /** *

The URI for the S3 bucket where the prompt is stored.

*/ inline UpdatePromptRequest& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;} /** *

The URI for the S3 bucket where the prompt is stored.

*/ inline UpdatePromptRequest& WithS3Uri(const char* value) { SetS3Uri(value); return *this;} private: Aws::String m_instanceId; bool m_instanceIdHasBeenSet = false; Aws::String m_promptId; bool m_promptIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_s3Uri; bool m_s3UriHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws