AWS SDK for C++  1.9.97
AWS SDK for C++
DescribePackagesResult.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 ElasticsearchService
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
46  inline const Aws::Vector<PackageDetails>& GetPackageDetailsList() const{ return m_packageDetailsList; }
47 
51  inline void SetPackageDetailsList(const Aws::Vector<PackageDetails>& value) { m_packageDetailsList = value; }
52 
56  inline void SetPackageDetailsList(Aws::Vector<PackageDetails>&& value) { m_packageDetailsList = std::move(value); }
57 
61  inline DescribePackagesResult& WithPackageDetailsList(const Aws::Vector<PackageDetails>& value) { SetPackageDetailsList(value); return *this;}
62 
66  inline DescribePackagesResult& WithPackageDetailsList(Aws::Vector<PackageDetails>&& value) { SetPackageDetailsList(std::move(value)); return *this;}
67 
71  inline DescribePackagesResult& AddPackageDetailsList(const PackageDetails& value) { m_packageDetailsList.push_back(value); return *this; }
72 
76  inline DescribePackagesResult& AddPackageDetailsList(PackageDetails&& value) { m_packageDetailsList.push_back(std::move(value)); return *this; }
77 
78 
79 
80  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
81 
82 
83  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
84 
85 
86  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
87 
88 
89  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
90 
91 
92  inline DescribePackagesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
93 
94 
95  inline DescribePackagesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
96 
97 
98  inline DescribePackagesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
99 
100  private:
101 
102  Aws::Vector<PackageDetails> m_packageDetailsList;
103 
104  Aws::String m_nextToken;
105  };
106 
107 } // namespace Model
108 } // namespace ElasticsearchService
109 } // namespace Aws
Aws::ElasticsearchService::Model::DescribePackagesResult::AddPackageDetailsList
DescribePackagesResult & AddPackageDetailsList(PackageDetails &&value)
Definition: DescribePackagesResult.h:76
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ElasticsearchService::Model::DescribePackagesResult::AddPackageDetailsList
DescribePackagesResult & AddPackageDetailsList(const PackageDetails &value)
Definition: DescribePackagesResult.h:71
Aws::ElasticsearchService::Model::PackageDetails
Definition: PackageDetails.h:36
Aws::ElasticsearchService::Model::DescribePackagesResult::WithNextToken
DescribePackagesResult & WithNextToken(Aws::String &&value)
Definition: DescribePackagesResult.h:95
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ElasticsearchService::Model::DescribePackagesResult::WithNextToken
DescribePackagesResult & WithNextToken(const char *value)
Definition: DescribePackagesResult.h:98
AWSVector.h
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::DescribePackagesResult::GetPackageDetailsList
const Aws::Vector< PackageDetails > & GetPackageDetailsList() const
Definition: DescribePackagesResult.h:46
Aws::ElasticsearchService::Model::DescribePackagesResult::DescribePackagesResult
DescribePackagesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::DescribePackagesResult::WithNextToken
DescribePackagesResult & WithNextToken(const Aws::String &value)
Definition: DescribePackagesResult.h:92
Aws::ElasticsearchService::Model::DescribePackagesResult::DescribePackagesResult
DescribePackagesResult()
Aws::ElasticsearchService::Model::DescribePackagesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribePackagesResult.h:86
Aws::ElasticsearchService::Model::DescribePackagesResult::SetNextToken
void SetNextToken(const char *value)
Definition: DescribePackagesResult.h:89
Aws::ElasticsearchService::Model::DescribePackagesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribePackagesResult.h:83
AWSString.h
Aws::ElasticsearchService::Model::DescribePackagesResult::WithPackageDetailsList
DescribePackagesResult & WithPackageDetailsList(const Aws::Vector< PackageDetails > &value)
Definition: DescribePackagesResult.h:61
Aws::ElasticsearchService::Model::DescribePackagesResult::operator=
DescribePackagesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::DescribePackagesResult::WithPackageDetailsList
DescribePackagesResult & WithPackageDetailsList(Aws::Vector< PackageDetails > &&value)
Definition: DescribePackagesResult.h:66
Aws::ElasticsearchService::Model::DescribePackagesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribePackagesResult.h:80
PackageDetails.h
Aws::ElasticsearchService::Model::DescribePackagesResult::SetPackageDetailsList
void SetPackageDetailsList(const Aws::Vector< PackageDetails > &value)
Definition: DescribePackagesResult.h:51
Aws::ElasticsearchService::Model::DescribePackagesResult
Definition: DescribePackagesResult.h:36
Aws::ElasticsearchService::Model::DescribePackagesResult::SetPackageDetailsList
void SetPackageDetailsList(Aws::Vector< PackageDetails > &&value)
Definition: DescribePackagesResult.h:56