AWS SDK for C++  1.9.97
AWS SDK for C++
GetPackageVersionHistoryResult.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 
43 
44  inline const Aws::String& GetPackageID() const{ return m_packageID; }
45 
46 
47  inline void SetPackageID(const Aws::String& value) { m_packageID = value; }
48 
49 
50  inline void SetPackageID(Aws::String&& value) { m_packageID = std::move(value); }
51 
52 
53  inline void SetPackageID(const char* value) { m_packageID.assign(value); }
54 
55 
56  inline GetPackageVersionHistoryResult& WithPackageID(const Aws::String& value) { SetPackageID(value); return *this;}
57 
58 
59  inline GetPackageVersionHistoryResult& WithPackageID(Aws::String&& value) { SetPackageID(std::move(value)); return *this;}
60 
61 
62  inline GetPackageVersionHistoryResult& WithPackageID(const char* value) { SetPackageID(value); return *this;}
63 
64 
68  inline const Aws::Vector<PackageVersionHistory>& GetPackageVersionHistoryList() const{ return m_packageVersionHistoryList; }
69 
73  inline void SetPackageVersionHistoryList(const Aws::Vector<PackageVersionHistory>& value) { m_packageVersionHistoryList = value; }
74 
78  inline void SetPackageVersionHistoryList(Aws::Vector<PackageVersionHistory>&& value) { m_packageVersionHistoryList = std::move(value); }
79 
83  inline GetPackageVersionHistoryResult& WithPackageVersionHistoryList(const Aws::Vector<PackageVersionHistory>& value) { SetPackageVersionHistoryList(value); return *this;}
84 
88  inline GetPackageVersionHistoryResult& WithPackageVersionHistoryList(Aws::Vector<PackageVersionHistory>&& value) { SetPackageVersionHistoryList(std::move(value)); return *this;}
89 
93  inline GetPackageVersionHistoryResult& AddPackageVersionHistoryList(const PackageVersionHistory& value) { m_packageVersionHistoryList.push_back(value); return *this; }
94 
98  inline GetPackageVersionHistoryResult& AddPackageVersionHistoryList(PackageVersionHistory&& value) { m_packageVersionHistoryList.push_back(std::move(value)); return *this; }
99 
100 
101 
102  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
103 
104 
105  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
106 
107 
108  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
109 
110 
111  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
112 
113 
114  inline GetPackageVersionHistoryResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
115 
116 
117  inline GetPackageVersionHistoryResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
118 
119 
120  inline GetPackageVersionHistoryResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
121 
122  private:
123 
124  Aws::String m_packageID;
125 
126  Aws::Vector<PackageVersionHistory> m_packageVersionHistoryList;
127 
128  Aws::String m_nextToken;
129  };
130 
131 } // namespace Model
132 } // namespace ElasticsearchService
133 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ElasticsearchService::Model::GetPackageVersionHistoryResult::SetPackageVersionHistoryList
void SetPackageVersionHistoryList(const Aws::Vector< PackageVersionHistory > &value)
Definition: GetPackageVersionHistoryResult.h:73
Aws::ElasticsearchService::Model::GetPackageVersionHistoryResult::SetPackageID
void SetPackageID(const Aws::String &value)
Definition: GetPackageVersionHistoryResult.h:47
Aws::ElasticsearchService::Model::GetPackageVersionHistoryResult::SetPackageVersionHistoryList
void SetPackageVersionHistoryList(Aws::Vector< PackageVersionHistory > &&value)
Definition: GetPackageVersionHistoryResult.h:78
Aws::ElasticsearchService::Model::GetPackageVersionHistoryResult::AddPackageVersionHistoryList
GetPackageVersionHistoryResult & AddPackageVersionHistoryList(const PackageVersionHistory &value)
Definition: GetPackageVersionHistoryResult.h:93
Aws::ElasticsearchService::Model::GetPackageVersionHistoryResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetPackageVersionHistoryResult.h:102
Aws::ElasticsearchService::Model::GetPackageVersionHistoryResult::WithNextToken
GetPackageVersionHistoryResult & WithNextToken(Aws::String &&value)
Definition: GetPackageVersionHistoryResult.h:117
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ElasticsearchService::Model::GetPackageVersionHistoryResult::WithPackageVersionHistoryList
GetPackageVersionHistoryResult & WithPackageVersionHistoryList(Aws::Vector< PackageVersionHistory > &&value)
Definition: GetPackageVersionHistoryResult.h:88
AWSVector.h
Aws::ElasticsearchService::Model::GetPackageVersionHistoryResult::GetPackageVersionHistoryResult
GetPackageVersionHistoryResult()
Aws::ElasticsearchService::Model::GetPackageVersionHistoryResult::GetPackageID
const Aws::String & GetPackageID() const
Definition: GetPackageVersionHistoryResult.h:44
Aws::ElasticsearchService::Model::GetPackageVersionHistoryResult::SetPackageID
void SetPackageID(Aws::String &&value)
Definition: GetPackageVersionHistoryResult.h:50
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::GetPackageVersionHistoryResult::WithPackageID
GetPackageVersionHistoryResult & WithPackageID(const Aws::String &value)
Definition: GetPackageVersionHistoryResult.h:56
Aws::ElasticsearchService::Model::GetPackageVersionHistoryResult::WithPackageID
GetPackageVersionHistoryResult & WithPackageID(const char *value)
Definition: GetPackageVersionHistoryResult.h:62
Aws::ElasticsearchService::Model::GetPackageVersionHistoryResult::operator=
GetPackageVersionHistoryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ElasticsearchService::Model::GetPackageVersionHistoryResult::GetPackageVersionHistoryList
const Aws::Vector< PackageVersionHistory > & GetPackageVersionHistoryList() const
Definition: GetPackageVersionHistoryResult.h:68
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::GetPackageVersionHistoryResult::GetPackageVersionHistoryResult
GetPackageVersionHistoryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ElasticsearchService::Model::GetPackageVersionHistoryResult::WithPackageVersionHistoryList
GetPackageVersionHistoryResult & WithPackageVersionHistoryList(const Aws::Vector< PackageVersionHistory > &value)
Definition: GetPackageVersionHistoryResult.h:83
Aws::ElasticsearchService::Model::PackageVersionHistory
Definition: PackageVersionHistory.h:33
PackageVersionHistory.h
Aws::ElasticsearchService::Model::GetPackageVersionHistoryResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetPackageVersionHistoryResult.h:108
AWSString.h
Aws::ElasticsearchService::Model::GetPackageVersionHistoryResult::SetPackageID
void SetPackageID(const char *value)
Definition: GetPackageVersionHistoryResult.h:53
Aws::ElasticsearchService::Model::GetPackageVersionHistoryResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetPackageVersionHistoryResult.h:105
Aws::ElasticsearchService::Model::GetPackageVersionHistoryResult::AddPackageVersionHistoryList
GetPackageVersionHistoryResult & AddPackageVersionHistoryList(PackageVersionHistory &&value)
Definition: GetPackageVersionHistoryResult.h:98
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::GetPackageVersionHistoryResult::WithNextToken
GetPackageVersionHistoryResult & WithNextToken(const Aws::String &value)
Definition: GetPackageVersionHistoryResult.h:114
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::GetPackageVersionHistoryResult::SetNextToken
void SetNextToken(const char *value)
Definition: GetPackageVersionHistoryResult.h:111
Aws::ElasticsearchService::Model::GetPackageVersionHistoryResult::WithPackageID
GetPackageVersionHistoryResult & WithPackageID(Aws::String &&value)
Definition: GetPackageVersionHistoryResult.h:59
Aws::ElasticsearchService::Model::GetPackageVersionHistoryResult::WithNextToken
GetPackageVersionHistoryResult & WithNextToken(const char *value)
Definition: GetPackageVersionHistoryResult.h:120
Aws::ElasticsearchService::Model::GetPackageVersionHistoryResult
Definition: GetPackageVersionHistoryResult.h:36