/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Connect { namespace Model { class UpdatePromptResult { public: AWS_CONNECT_API UpdatePromptResult(); AWS_CONNECT_API UpdatePromptResult(const Aws::AmazonWebServiceResult& result); AWS_CONNECT_API UpdatePromptResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) of the prompt.

*/ inline const Aws::String& GetPromptARN() const{ return m_promptARN; } /** *

The Amazon Resource Name (ARN) of the prompt.

*/ inline void SetPromptARN(const Aws::String& value) { m_promptARN = value; } /** *

The Amazon Resource Name (ARN) of the prompt.

*/ inline void SetPromptARN(Aws::String&& value) { m_promptARN = std::move(value); } /** *

The Amazon Resource Name (ARN) of the prompt.

*/ inline void SetPromptARN(const char* value) { m_promptARN.assign(value); } /** *

The Amazon Resource Name (ARN) of the prompt.

*/ inline UpdatePromptResult& WithPromptARN(const Aws::String& value) { SetPromptARN(value); return *this;} /** *

The Amazon Resource Name (ARN) of the prompt.

*/ inline UpdatePromptResult& WithPromptARN(Aws::String&& value) { SetPromptARN(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the prompt.

*/ inline UpdatePromptResult& WithPromptARN(const char* value) { SetPromptARN(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 void SetPromptId(const Aws::String& value) { m_promptId = value; } /** *

A unique identifier for the prompt.

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

A unique identifier for the prompt.

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

A unique identifier for the prompt.

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

A unique identifier for the prompt.

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

A unique identifier for the prompt.

*/ inline UpdatePromptResult& WithPromptId(const char* value) { SetPromptId(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline UpdatePromptResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdatePromptResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdatePromptResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_promptARN; Aws::String m_promptId; Aws::String m_requestId; }; } // namespace Model } // namespace Connect } // namespace Aws