AWS SDK for C++  1.9.175
AWS SDK for C++
ScanProvisionedProductsResult.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<ProvisionedProductDetail>& GetProvisionedProducts() const{ return m_provisionedProducts; }
41 
45  inline void SetProvisionedProducts(const Aws::Vector<ProvisionedProductDetail>& value) { m_provisionedProducts = value; }
46 
50  inline void SetProvisionedProducts(Aws::Vector<ProvisionedProductDetail>&& value) { m_provisionedProducts = std::move(value); }
51 
55  inline ScanProvisionedProductsResult& WithProvisionedProducts(const Aws::Vector<ProvisionedProductDetail>& value) { SetProvisionedProducts(value); return *this;}
56 
60  inline ScanProvisionedProductsResult& WithProvisionedProducts(Aws::Vector<ProvisionedProductDetail>&& value) { SetProvisionedProducts(std::move(value)); return *this;}
61 
65  inline ScanProvisionedProductsResult& AddProvisionedProducts(const ProvisionedProductDetail& value) { m_provisionedProducts.push_back(value); return *this; }
66 
70  inline ScanProvisionedProductsResult& AddProvisionedProducts(ProvisionedProductDetail&& value) { m_provisionedProducts.push_back(std::move(value)); return *this; }
71 
72 
77  inline const Aws::String& GetNextPageToken() const{ return m_nextPageToken; }
78 
83  inline void SetNextPageToken(const Aws::String& value) { m_nextPageToken = value; }
84 
89  inline void SetNextPageToken(Aws::String&& value) { m_nextPageToken = std::move(value); }
90 
95  inline void SetNextPageToken(const char* value) { m_nextPageToken.assign(value); }
96 
101  inline ScanProvisionedProductsResult& WithNextPageToken(const Aws::String& value) { SetNextPageToken(value); return *this;}
102 
107  inline ScanProvisionedProductsResult& WithNextPageToken(Aws::String&& value) { SetNextPageToken(std::move(value)); return *this;}
108 
113  inline ScanProvisionedProductsResult& WithNextPageToken(const char* value) { SetNextPageToken(value); return *this;}
114 
115  private:
116 
117  Aws::Vector<ProvisionedProductDetail> m_provisionedProducts;
118 
119  Aws::String m_nextPageToken;
120  };
121 
122 } // namespace Model
123 } // namespace ServiceCatalog
124 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ServiceCatalog::Model::ScanProvisionedProductsResult::AddProvisionedProducts
ScanProvisionedProductsResult & AddProvisionedProducts(ProvisionedProductDetail &&value)
Definition: ScanProvisionedProductsResult.h:70
Aws::ServiceCatalog::Model::ScanProvisionedProductsResult::GetProvisionedProducts
const Aws::Vector< ProvisionedProductDetail > & GetProvisionedProducts() const
Definition: ScanProvisionedProductsResult.h:40
Aws::ServiceCatalog::Model::ScanProvisionedProductsResult::WithProvisionedProducts
ScanProvisionedProductsResult & WithProvisionedProducts(const Aws::Vector< ProvisionedProductDetail > &value)
Definition: ScanProvisionedProductsResult.h:55
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ServiceCatalog::Model::ScanProvisionedProductsResult::WithNextPageToken
ScanProvisionedProductsResult & WithNextPageToken(const char *value)
Definition: ScanProvisionedProductsResult.h:113
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::ScanProvisionedProductsResult::WithNextPageToken
ScanProvisionedProductsResult & WithNextPageToken(const Aws::String &value)
Definition: ScanProvisionedProductsResult.h:101
AWSVector.h
Aws::ServiceCatalog::Model::ScanProvisionedProductsResult::operator=
ScanProvisionedProductsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ServiceCatalog::Model::ScanProvisionedProductsResult
Definition: ScanProvisionedProductsResult.h:30
Aws::ServiceCatalog::Model::ScanProvisionedProductsResult::WithNextPageToken
ScanProvisionedProductsResult & WithNextPageToken(Aws::String &&value)
Definition: ScanProvisionedProductsResult.h:107
AWSString.h
Aws::ServiceCatalog::Model::ScanProvisionedProductsResult::SetProvisionedProducts
void SetProvisionedProducts(Aws::Vector< ProvisionedProductDetail > &&value)
Definition: ScanProvisionedProductsResult.h:50
Aws::ServiceCatalog::Model::ScanProvisionedProductsResult::ScanProvisionedProductsResult
ScanProvisionedProductsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ServiceCatalog::Model::ScanProvisionedProductsResult::WithProvisionedProducts
ScanProvisionedProductsResult & WithProvisionedProducts(Aws::Vector< ProvisionedProductDetail > &&value)
Definition: ScanProvisionedProductsResult.h:60
ProvisionedProductDetail.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceCatalog::Model::ScanProvisionedProductsResult::GetNextPageToken
const Aws::String & GetNextPageToken() const
Definition: ScanProvisionedProductsResult.h:77
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceCatalog::Model::ProvisionedProductDetail
Definition: ProvisionedProductDetail.h:34
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::ScanProvisionedProductsResult::SetProvisionedProducts
void SetProvisionedProducts(const Aws::Vector< ProvisionedProductDetail > &value)
Definition: ScanProvisionedProductsResult.h:45
Aws::ServiceCatalog::Model::ScanProvisionedProductsResult::SetNextPageToken
void SetNextPageToken(const Aws::String &value)
Definition: ScanProvisionedProductsResult.h:83
Aws::ServiceCatalog::Model::ScanProvisionedProductsResult::AddProvisionedProducts
ScanProvisionedProductsResult & AddProvisionedProducts(const ProvisionedProductDetail &value)
Definition: ScanProvisionedProductsResult.h:65
Aws::ServiceCatalog::Model::ScanProvisionedProductsResult::ScanProvisionedProductsResult
ScanProvisionedProductsResult()
Aws::ServiceCatalog::Model::ScanProvisionedProductsResult::SetNextPageToken
void SetNextPageToken(const char *value)
Definition: ScanProvisionedProductsResult.h:95
Aws::ServiceCatalog::Model::ScanProvisionedProductsResult::SetNextPageToken
void SetNextPageToken(Aws::String &&value)
Definition: ScanProvisionedProductsResult.h:89