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

The ID for the template.

*/ inline const Aws::String& GetTemplateId() const{ return m_templateId; } /** *

The ID for the template.

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

The ID for the template.

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

The ID for the template.

*/ inline void SetTemplateId(const char* value) { m_templateId.assign(value); } /** *

The ID for the template.

*/ inline UpdateTemplateResult& WithTemplateId(const Aws::String& value) { SetTemplateId(value); return *this;} /** *

The ID for the template.

*/ inline UpdateTemplateResult& WithTemplateId(Aws::String&& value) { SetTemplateId(std::move(value)); return *this;} /** *

The ID for the template.

*/ inline UpdateTemplateResult& WithTemplateId(const char* value) { SetTemplateId(value); return *this;} /** *

The Amazon Resource Name (ARN) for the template.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) for the template.

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

The Amazon Resource Name (ARN) for the template.

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

The Amazon Resource Name (ARN) for the template.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) for the template.

*/ inline UpdateTemplateResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for the template.

*/ inline UpdateTemplateResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the template.

*/ inline UpdateTemplateResult& WithArn(const char* value) { SetArn(value); return *this;} /** *

The ARN for the template, including the version information of the first * version.

*/ inline const Aws::String& GetVersionArn() const{ return m_versionArn; } /** *

The ARN for the template, including the version information of the first * version.

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

The ARN for the template, including the version information of the first * version.

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

The ARN for the template, including the version information of the first * version.

*/ inline void SetVersionArn(const char* value) { m_versionArn.assign(value); } /** *

The ARN for the template, including the version information of the first * version.

*/ inline UpdateTemplateResult& WithVersionArn(const Aws::String& value) { SetVersionArn(value); return *this;} /** *

The ARN for the template, including the version information of the first * version.

*/ inline UpdateTemplateResult& WithVersionArn(Aws::String&& value) { SetVersionArn(std::move(value)); return *this;} /** *

The ARN for the template, including the version information of the first * version.

*/ inline UpdateTemplateResult& WithVersionArn(const char* value) { SetVersionArn(value); return *this;} /** *

The creation status of the template.

*/ inline const ResourceStatus& GetCreationStatus() const{ return m_creationStatus; } /** *

The creation status of the template.

*/ inline void SetCreationStatus(const ResourceStatus& value) { m_creationStatus = value; } /** *

The creation status of the template.

*/ inline void SetCreationStatus(ResourceStatus&& value) { m_creationStatus = std::move(value); } /** *

The creation status of the template.

*/ inline UpdateTemplateResult& WithCreationStatus(const ResourceStatus& value) { SetCreationStatus(value); return *this;} /** *

The creation status of the template.

*/ inline UpdateTemplateResult& WithCreationStatus(ResourceStatus&& value) { SetCreationStatus(std::move(value)); return *this;} /** *

The HTTP status of the request.

*/ inline int GetStatus() const{ return m_status; } /** *

The HTTP status of the request.

*/ inline void SetStatus(int value) { m_status = value; } /** *

The HTTP status of the request.

*/ inline UpdateTemplateResult& WithStatus(int value) { SetStatus(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 UpdateTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_templateId; Aws::String m_arn; Aws::String m_versionArn; ResourceStatus m_creationStatus; int m_status; Aws::String m_requestId; }; } // namespace Model } // namespace QuickSight } // namespace Aws