AWS SDK for C++  1.9.108
AWS SDK for C++
SearchProvisionedProductsResult.h
Go to the documentation of this file.
1 
6 #pragma once
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 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<ProvisionedProductAttribute>& GetProvisionedProducts() const{ return m_provisionedProducts; }
41 
45  inline void SetProvisionedProducts(const Aws::Vector<ProvisionedProductAttribute>& value) { m_provisionedProducts = value; }
46 
50  inline void SetProvisionedProducts(Aws::Vector<ProvisionedProductAttribute>&& value) { m_provisionedProducts = std::move(value); }
51 
55  inline SearchProvisionedProductsResult& WithProvisionedProducts(const Aws::Vector<ProvisionedProductAttribute>& value) { SetProvisionedProducts(value); return *this;}
56 
60  inline SearchProvisionedProductsResult& WithProvisionedProducts(Aws::Vector<ProvisionedProductAttribute>&& value) { SetProvisionedProducts(std::move(value)); return *this;}
61 
65  inline SearchProvisionedProductsResult& AddProvisionedProducts(const ProvisionedProductAttribute& value) { m_provisionedProducts.push_back(value); return *this; }
66 
70  inline SearchProvisionedProductsResult& AddProvisionedProducts(ProvisionedProductAttribute&& value) { m_provisionedProducts.push_back(std::move(value)); return *this; }
71 
72 
76  inline int GetTotalResultsCount() const{ return m_totalResultsCount; }
77 
81  inline void SetTotalResultsCount(int value) { m_totalResultsCount = value; }
82 
86  inline SearchProvisionedProductsResult& WithTotalResultsCount(int value) { SetTotalResultsCount(value); return *this;}
87 
88 
93  inline const Aws::String& GetNextPageToken() const{ return m_nextPageToken; }
94 
99  inline void SetNextPageToken(const Aws::String& value) { m_nextPageToken = value; }
100 
105  inline void SetNextPageToken(Aws::String&& value) { m_nextPageToken = std::move(value); }
106 
111  inline void SetNextPageToken(const char* value) { m_nextPageToken.assign(value); }
112 
117  inline SearchProvisionedProductsResult& WithNextPageToken(const Aws::String& value) { SetNextPageToken(value); return *this;}
118 
123  inline SearchProvisionedProductsResult& WithNextPageToken(Aws::String&& value) { SetNextPageToken(std::move(value)); return *this;}
124 
129  inline SearchProvisionedProductsResult& WithNextPageToken(const char* value) { SetNextPageToken(value); return *this;}
130 
131  private:
132 
133  Aws::Vector<ProvisionedProductAttribute> m_provisionedProducts;
134 
135  int m_totalResultsCount;
136 
137  Aws::String m_nextPageToken;
138  };
139 
140 } // namespace Model
141 } // namespace ServiceCatalog
142 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ServiceCatalog::Model::SearchProvisionedProductsResult::GetNextPageToken
const Aws::String & GetNextPageToken() const
Definition: SearchProvisionedProductsResult.h:93
Aws::ServiceCatalog::Model::SearchProvisionedProductsResult::GetProvisionedProducts
const Aws::Vector< ProvisionedProductAttribute > & GetProvisionedProducts() const
Definition: SearchProvisionedProductsResult.h:40
Aws::ServiceCatalog::Model::SearchProvisionedProductsResult::WithProvisionedProducts
SearchProvisionedProductsResult & WithProvisionedProducts(Aws::Vector< ProvisionedProductAttribute > &&value)
Definition: SearchProvisionedProductsResult.h:60
Aws::ServiceCatalog::Model::SearchProvisionedProductsResult::SetNextPageToken
void SetNextPageToken(const char *value)
Definition: SearchProvisionedProductsResult.h:111
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::SearchProvisionedProductsResult::SetProvisionedProducts
void SetProvisionedProducts(const Aws::Vector< ProvisionedProductAttribute > &value)
Definition: SearchProvisionedProductsResult.h:45
AWSVector.h
Aws::ServiceCatalog::Model::SearchProvisionedProductsResult::SetTotalResultsCount
void SetTotalResultsCount(int value)
Definition: SearchProvisionedProductsResult.h:81
Aws::ServiceCatalog::Model::SearchProvisionedProductsResult::SetNextPageToken
void SetNextPageToken(const Aws::String &value)
Definition: SearchProvisionedProductsResult.h:99
Aws::ServiceCatalog::Model::SearchProvisionedProductsResult::WithProvisionedProducts
SearchProvisionedProductsResult & WithProvisionedProducts(const Aws::Vector< ProvisionedProductAttribute > &value)
Definition: SearchProvisionedProductsResult.h:55
Aws::ServiceCatalog::Model::SearchProvisionedProductsResult::SetNextPageToken
void SetNextPageToken(Aws::String &&value)
Definition: SearchProvisionedProductsResult.h:105
Aws::ServiceCatalog::Model::SearchProvisionedProductsResult::WithNextPageToken
SearchProvisionedProductsResult & WithNextPageToken(const Aws::String &value)
Definition: SearchProvisionedProductsResult.h:117
Aws::ServiceCatalog::Model::SearchProvisionedProductsResult::SearchProvisionedProductsResult
SearchProvisionedProductsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ServiceCatalog::Model::ProvisionedProductAttribute
Definition: ProvisionedProductAttribute.h:36
Aws::ServiceCatalog::Model::SearchProvisionedProductsResult::WithNextPageToken
SearchProvisionedProductsResult & WithNextPageToken(const char *value)
Definition: SearchProvisionedProductsResult.h:129
Aws::ServiceCatalog::Model::SearchProvisionedProductsResult::WithTotalResultsCount
SearchProvisionedProductsResult & WithTotalResultsCount(int value)
Definition: SearchProvisionedProductsResult.h:86
AWSString.h
Aws::ServiceCatalog::Model::SearchProvisionedProductsResult
Definition: SearchProvisionedProductsResult.h:30
Aws::ServiceCatalog::Model::SearchProvisionedProductsResult::operator=
SearchProvisionedProductsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceCatalog::Model::SearchProvisionedProductsResult::GetTotalResultsCount
int GetTotalResultsCount() const
Definition: SearchProvisionedProductsResult.h:76
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceCatalog::Model::SearchProvisionedProductsResult::SetProvisionedProducts
void SetProvisionedProducts(Aws::Vector< ProvisionedProductAttribute > &&value)
Definition: SearchProvisionedProductsResult.h:50
Aws::ServiceCatalog::Model::SearchProvisionedProductsResult::AddProvisionedProducts
SearchProvisionedProductsResult & AddProvisionedProducts(ProvisionedProductAttribute &&value)
Definition: SearchProvisionedProductsResult.h:70
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::SearchProvisionedProductsResult::WithNextPageToken
SearchProvisionedProductsResult & WithNextPageToken(Aws::String &&value)
Definition: SearchProvisionedProductsResult.h:123
Aws::ServiceCatalog::Model::SearchProvisionedProductsResult::SearchProvisionedProductsResult
SearchProvisionedProductsResult()
ProvisionedProductAttribute.h
Aws::ServiceCatalog::Model::SearchProvisionedProductsResult::AddProvisionedProducts
SearchProvisionedProductsResult & AddProvisionedProducts(const ProvisionedProductAttribute &value)
Definition: SearchProvisionedProductsResult.h:65