AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetPackageVersionHistoryResult.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/es/model/PackageVersionHistory.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace ElasticsearchService
26{
27namespace Model
28{
36 {
37 public:
38 AWS_ELASTICSEARCHSERVICE_API GetPackageVersionHistoryResult();
41
42
44
45 inline const Aws::String& GetPackageID() const{ return m_packageID; }
46 inline void SetPackageID(const Aws::String& value) { m_packageID = value; }
47 inline void SetPackageID(Aws::String&& value) { m_packageID = std::move(value); }
48 inline void SetPackageID(const char* value) { m_packageID.assign(value); }
49 inline GetPackageVersionHistoryResult& WithPackageID(const Aws::String& value) { SetPackageID(value); return *this;}
50 inline GetPackageVersionHistoryResult& WithPackageID(Aws::String&& value) { SetPackageID(std::move(value)); return *this;}
51 inline GetPackageVersionHistoryResult& WithPackageID(const char* value) { SetPackageID(value); return *this;}
53
55
58 inline const Aws::Vector<PackageVersionHistory>& GetPackageVersionHistoryList() const{ return m_packageVersionHistoryList; }
59 inline void SetPackageVersionHistoryList(const Aws::Vector<PackageVersionHistory>& value) { m_packageVersionHistoryList = value; }
60 inline void SetPackageVersionHistoryList(Aws::Vector<PackageVersionHistory>&& value) { m_packageVersionHistoryList = std::move(value); }
63 inline GetPackageVersionHistoryResult& AddPackageVersionHistoryList(const PackageVersionHistory& value) { m_packageVersionHistoryList.push_back(value); return *this; }
64 inline GetPackageVersionHistoryResult& AddPackageVersionHistoryList(PackageVersionHistory&& value) { m_packageVersionHistoryList.push_back(std::move(value)); return *this; }
66
68
69 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
70 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
71 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
72 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
73 inline GetPackageVersionHistoryResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
74 inline GetPackageVersionHistoryResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
75 inline GetPackageVersionHistoryResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
77
79
80 inline const Aws::String& GetRequestId() const{ return m_requestId; }
81 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
82 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
83 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
84 inline GetPackageVersionHistoryResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
85 inline GetPackageVersionHistoryResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
86 inline GetPackageVersionHistoryResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
88 private:
89
90 Aws::String m_packageID;
91
92 Aws::Vector<PackageVersionHistory> m_packageVersionHistoryList;
93
94 Aws::String m_nextToken;
95
96 Aws::String m_requestId;
97 };
98
99} // namespace Model
100} // namespace ElasticsearchService
101} // namespace Aws
GetPackageVersionHistoryResult & WithRequestId(Aws::String &&value)
GetPackageVersionHistoryResult & WithNextToken(Aws::String &&value)
const Aws::Vector< PackageVersionHistory > & GetPackageVersionHistoryList() const
GetPackageVersionHistoryResult & WithNextToken(const Aws::String &value)
GetPackageVersionHistoryResult & WithRequestId(const Aws::String &value)
GetPackageVersionHistoryResult & WithRequestId(const char *value)
void SetPackageVersionHistoryList(Aws::Vector< PackageVersionHistory > &&value)
AWS_ELASTICSEARCHSERVICE_API GetPackageVersionHistoryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPackageVersionHistoryResult & WithPackageID(const Aws::String &value)
AWS_ELASTICSEARCHSERVICE_API GetPackageVersionHistoryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPackageVersionHistoryResult & AddPackageVersionHistoryList(const PackageVersionHistory &value)
GetPackageVersionHistoryResult & WithNextToken(const char *value)
GetPackageVersionHistoryResult & AddPackageVersionHistoryList(PackageVersionHistory &&value)
GetPackageVersionHistoryResult & WithPackageVersionHistoryList(const Aws::Vector< PackageVersionHistory > &value)
GetPackageVersionHistoryResult & WithPackageID(const char *value)
void SetPackageVersionHistoryList(const Aws::Vector< PackageVersionHistory > &value)
GetPackageVersionHistoryResult & WithPackageID(Aws::String &&value)
GetPackageVersionHistoryResult & WithPackageVersionHistoryList(Aws::Vector< PackageVersionHistory > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue