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/servicecatalog/ServiceCatalog_EXPORTS.h> 8 #include <aws/core/utils/memory/stl/AWSVector.h> 9 #include <aws/core/utils/memory/stl/AWSString.h> 10 #include <aws/servicecatalog/model/ResourceDetail.h> 11 #include <utility> 12 13 namespace Aws 14 { 15 template<typename RESULT_TYPE> 16 class AmazonWebServiceResult; 17 18 namespace Utils 19 { 20 namespace Json 21 { 22 class JsonValue; 23 } // namespace Json 24 } // namespace Utils 25 namespace ServiceCatalog 26 { 27 namespace Model 28 { 29 class AWS_SERVICECATALOG_API ListResourcesForTagOptionResult 30 { 31 public: 32 ListResourcesForTagOptionResult(); 33 ListResourcesForTagOptionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 34 ListResourcesForTagOptionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 35 36 37 /** 38 * <p>Information about the resources.</p> 39 */ GetResourceDetails()40 inline const Aws::Vector<ResourceDetail>& GetResourceDetails() const{ return m_resourceDetails; } 41 42 /** 43 * <p>Information about the resources.</p> 44 */ SetResourceDetails(const Aws::Vector<ResourceDetail> & value)45 inline void SetResourceDetails(const Aws::Vector<ResourceDetail>& value) { m_resourceDetails = value; } 46 47 /** 48 * <p>Information about the resources.</p> 49 */ SetResourceDetails(Aws::Vector<ResourceDetail> && value)50 inline void SetResourceDetails(Aws::Vector<ResourceDetail>&& value) { m_resourceDetails = std::move(value); } 51 52 /** 53 * <p>Information about the resources.</p> 54 */ WithResourceDetails(const Aws::Vector<ResourceDetail> & value)55 inline ListResourcesForTagOptionResult& WithResourceDetails(const Aws::Vector<ResourceDetail>& value) { SetResourceDetails(value); return *this;} 56 57 /** 58 * <p>Information about the resources.</p> 59 */ WithResourceDetails(Aws::Vector<ResourceDetail> && value)60 inline ListResourcesForTagOptionResult& WithResourceDetails(Aws::Vector<ResourceDetail>&& value) { SetResourceDetails(std::move(value)); return *this;} 61 62 /** 63 * <p>Information about the resources.</p> 64 */ AddResourceDetails(const ResourceDetail & value)65 inline ListResourcesForTagOptionResult& AddResourceDetails(const ResourceDetail& value) { m_resourceDetails.push_back(value); return *this; } 66 67 /** 68 * <p>Information about the resources.</p> 69 */ AddResourceDetails(ResourceDetail && value)70 inline ListResourcesForTagOptionResult& AddResourceDetails(ResourceDetail&& value) { m_resourceDetails.push_back(std::move(value)); return *this; } 71 72 73 /** 74 * <p>The page token for the next set of results. To retrieve the first set of 75 * results, use null.</p> 76 */ GetPageToken()77 inline const Aws::String& GetPageToken() const{ return m_pageToken; } 78 79 /** 80 * <p>The page token for the next set of results. To retrieve the first set of 81 * results, use null.</p> 82 */ SetPageToken(const Aws::String & value)83 inline void SetPageToken(const Aws::String& value) { m_pageToken = value; } 84 85 /** 86 * <p>The page token for the next set of results. To retrieve the first set of 87 * results, use null.</p> 88 */ SetPageToken(Aws::String && value)89 inline void SetPageToken(Aws::String&& value) { m_pageToken = std::move(value); } 90 91 /** 92 * <p>The page token for the next set of results. To retrieve the first set of 93 * results, use null.</p> 94 */ SetPageToken(const char * value)95 inline void SetPageToken(const char* value) { m_pageToken.assign(value); } 96 97 /** 98 * <p>The page token for the next set of results. To retrieve the first set of 99 * results, use null.</p> 100 */ WithPageToken(const Aws::String & value)101 inline ListResourcesForTagOptionResult& WithPageToken(const Aws::String& value) { SetPageToken(value); return *this;} 102 103 /** 104 * <p>The page token for the next set of results. To retrieve the first set of 105 * results, use null.</p> 106 */ WithPageToken(Aws::String && value)107 inline ListResourcesForTagOptionResult& WithPageToken(Aws::String&& value) { SetPageToken(std::move(value)); return *this;} 108 109 /** 110 * <p>The page token for the next set of results. To retrieve the first set of 111 * results, use null.</p> 112 */ WithPageToken(const char * value)113 inline ListResourcesForTagOptionResult& WithPageToken(const char* value) { SetPageToken(value); return *this;} 114 115 private: 116 117 Aws::Vector<ResourceDetail> m_resourceDetails; 118 119 Aws::String m_pageToken; 120 }; 121 122 } // namespace Model 123 } // namespace ServiceCatalog 124 } // namespace Aws 125