1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/quicksight/QuickSight_EXPORTS.h> 8 #include <aws/quicksight/model/TemplateAlias.h> 9 #include <aws/core/utils/memory/stl/AWSString.h> 10 #include <utility> 11 12 namespace Aws 13 { 14 template<typename RESULT_TYPE> 15 class AmazonWebServiceResult; 16 17 namespace Utils 18 { 19 namespace Json 20 { 21 class JsonValue; 22 } // namespace Json 23 } // namespace Utils 24 namespace QuickSight 25 { 26 namespace Model 27 { 28 class AWS_QUICKSIGHT_API DescribeTemplateAliasResult 29 { 30 public: 31 DescribeTemplateAliasResult(); 32 DescribeTemplateAliasResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 33 DescribeTemplateAliasResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 34 35 36 /** 37 * <p>Information about the template alias.</p> 38 */ GetTemplateAlias()39 inline const TemplateAlias& GetTemplateAlias() const{ return m_templateAlias; } 40 41 /** 42 * <p>Information about the template alias.</p> 43 */ SetTemplateAlias(const TemplateAlias & value)44 inline void SetTemplateAlias(const TemplateAlias& value) { m_templateAlias = value; } 45 46 /** 47 * <p>Information about the template alias.</p> 48 */ SetTemplateAlias(TemplateAlias && value)49 inline void SetTemplateAlias(TemplateAlias&& value) { m_templateAlias = std::move(value); } 50 51 /** 52 * <p>Information about the template alias.</p> 53 */ WithTemplateAlias(const TemplateAlias & value)54 inline DescribeTemplateAliasResult& WithTemplateAlias(const TemplateAlias& value) { SetTemplateAlias(value); return *this;} 55 56 /** 57 * <p>Information about the template alias.</p> 58 */ WithTemplateAlias(TemplateAlias && value)59 inline DescribeTemplateAliasResult& WithTemplateAlias(TemplateAlias&& value) { SetTemplateAlias(std::move(value)); return *this;} 60 61 62 /** 63 * <p>The HTTP status of the request.</p> 64 */ GetStatus()65 inline int GetStatus() const{ return m_status; } 66 67 /** 68 * <p>The HTTP status of the request.</p> 69 */ SetStatus(int value)70 inline void SetStatus(int value) { m_status = value; } 71 72 /** 73 * <p>The HTTP status of the request.</p> 74 */ WithStatus(int value)75 inline DescribeTemplateAliasResult& WithStatus(int value) { SetStatus(value); return *this;} 76 77 78 /** 79 * <p>The Amazon Web Services request ID for this operation.</p> 80 */ GetRequestId()81 inline const Aws::String& GetRequestId() const{ return m_requestId; } 82 83 /** 84 * <p>The Amazon Web Services request ID for this operation.</p> 85 */ SetRequestId(const Aws::String & value)86 inline void SetRequestId(const Aws::String& value) { m_requestId = value; } 87 88 /** 89 * <p>The Amazon Web Services request ID for this operation.</p> 90 */ SetRequestId(Aws::String && value)91 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } 92 93 /** 94 * <p>The Amazon Web Services request ID for this operation.</p> 95 */ SetRequestId(const char * value)96 inline void SetRequestId(const char* value) { m_requestId.assign(value); } 97 98 /** 99 * <p>The Amazon Web Services request ID for this operation.</p> 100 */ WithRequestId(const Aws::String & value)101 inline DescribeTemplateAliasResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} 102 103 /** 104 * <p>The Amazon Web Services request ID for this operation.</p> 105 */ WithRequestId(Aws::String && value)106 inline DescribeTemplateAliasResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} 107 108 /** 109 * <p>The Amazon Web Services request ID for this operation.</p> 110 */ WithRequestId(const char * value)111 inline DescribeTemplateAliasResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} 112 113 private: 114 115 TemplateAlias m_templateAlias; 116 117 int m_status; 118 119 Aws::String m_requestId; 120 }; 121 122 } // namespace Model 123 } // namespace QuickSight 124 } // namespace Aws 125