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/resourcegroupstaggingapi/ResourceGroupsTaggingAPI_EXPORTS.h> 8 #include <aws/core/utils/memory/stl/AWSString.h> 9 #include <aws/core/utils/memory/stl/AWSVector.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 ResourceGroupsTaggingAPI 25 { 26 namespace Model 27 { 28 class AWS_RESOURCEGROUPSTAGGINGAPI_API GetTagValuesResult 29 { 30 public: 31 GetTagValuesResult(); 32 GetTagValuesResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 33 GetTagValuesResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 34 35 36 /** 37 * <p>A string that indicates that there is more data available than this response 38 * contains. To receive the next part of the response, specify this response value 39 * as the <code>PaginationToken</code> value in the request for the next page.</p> 40 */ GetPaginationToken()41 inline const Aws::String& GetPaginationToken() const{ return m_paginationToken; } 42 43 /** 44 * <p>A string that indicates that there is more data available than this response 45 * contains. To receive the next part of the response, specify this response value 46 * as the <code>PaginationToken</code> value in the request for the next page.</p> 47 */ SetPaginationToken(const Aws::String & value)48 inline void SetPaginationToken(const Aws::String& value) { m_paginationToken = value; } 49 50 /** 51 * <p>A string that indicates that there is more data available than this response 52 * contains. To receive the next part of the response, specify this response value 53 * as the <code>PaginationToken</code> value in the request for the next page.</p> 54 */ SetPaginationToken(Aws::String && value)55 inline void SetPaginationToken(Aws::String&& value) { m_paginationToken = std::move(value); } 56 57 /** 58 * <p>A string that indicates that there is more data available than this response 59 * contains. To receive the next part of the response, specify this response value 60 * as the <code>PaginationToken</code> value in the request for the next page.</p> 61 */ SetPaginationToken(const char * value)62 inline void SetPaginationToken(const char* value) { m_paginationToken.assign(value); } 63 64 /** 65 * <p>A string that indicates that there is more data available than this response 66 * contains. To receive the next part of the response, specify this response value 67 * as the <code>PaginationToken</code> value in the request for the next page.</p> 68 */ WithPaginationToken(const Aws::String & value)69 inline GetTagValuesResult& WithPaginationToken(const Aws::String& value) { SetPaginationToken(value); return *this;} 70 71 /** 72 * <p>A string that indicates that there is more data available than this response 73 * contains. To receive the next part of the response, specify this response value 74 * as the <code>PaginationToken</code> value in the request for the next page.</p> 75 */ WithPaginationToken(Aws::String && value)76 inline GetTagValuesResult& WithPaginationToken(Aws::String&& value) { SetPaginationToken(std::move(value)); return *this;} 77 78 /** 79 * <p>A string that indicates that there is more data available than this response 80 * contains. To receive the next part of the response, specify this response value 81 * as the <code>PaginationToken</code> value in the request for the next page.</p> 82 */ WithPaginationToken(const char * value)83 inline GetTagValuesResult& WithPaginationToken(const char* value) { SetPaginationToken(value); return *this;} 84 85 86 /** 87 * <p>A list of all tag values for the specified key currently used in the 88 * specified AWS Region for the calling AWS account.</p> 89 */ GetTagValues()90 inline const Aws::Vector<Aws::String>& GetTagValues() const{ return m_tagValues; } 91 92 /** 93 * <p>A list of all tag values for the specified key currently used in the 94 * specified AWS Region for the calling AWS account.</p> 95 */ SetTagValues(const Aws::Vector<Aws::String> & value)96 inline void SetTagValues(const Aws::Vector<Aws::String>& value) { m_tagValues = value; } 97 98 /** 99 * <p>A list of all tag values for the specified key currently used in the 100 * specified AWS Region for the calling AWS account.</p> 101 */ SetTagValues(Aws::Vector<Aws::String> && value)102 inline void SetTagValues(Aws::Vector<Aws::String>&& value) { m_tagValues = std::move(value); } 103 104 /** 105 * <p>A list of all tag values for the specified key currently used in the 106 * specified AWS Region for the calling AWS account.</p> 107 */ WithTagValues(const Aws::Vector<Aws::String> & value)108 inline GetTagValuesResult& WithTagValues(const Aws::Vector<Aws::String>& value) { SetTagValues(value); return *this;} 109 110 /** 111 * <p>A list of all tag values for the specified key currently used in the 112 * specified AWS Region for the calling AWS account.</p> 113 */ WithTagValues(Aws::Vector<Aws::String> && value)114 inline GetTagValuesResult& WithTagValues(Aws::Vector<Aws::String>&& value) { SetTagValues(std::move(value)); return *this;} 115 116 /** 117 * <p>A list of all tag values for the specified key currently used in the 118 * specified AWS Region for the calling AWS account.</p> 119 */ AddTagValues(const Aws::String & value)120 inline GetTagValuesResult& AddTagValues(const Aws::String& value) { m_tagValues.push_back(value); return *this; } 121 122 /** 123 * <p>A list of all tag values for the specified key currently used in the 124 * specified AWS Region for the calling AWS account.</p> 125 */ AddTagValues(Aws::String && value)126 inline GetTagValuesResult& AddTagValues(Aws::String&& value) { m_tagValues.push_back(std::move(value)); return *this; } 127 128 /** 129 * <p>A list of all tag values for the specified key currently used in the 130 * specified AWS Region for the calling AWS account.</p> 131 */ AddTagValues(const char * value)132 inline GetTagValuesResult& AddTagValues(const char* value) { m_tagValues.push_back(value); return *this; } 133 134 private: 135 136 Aws::String m_paginationToken; 137 138 Aws::Vector<Aws::String> m_tagValues; 139 }; 140 141 } // namespace Model 142 } // namespace ResourceGroupsTaggingAPI 143 } // namespace Aws 144