AWS SDK for C++  1.9.110
AWS SDK for C++
ListHostedConfigurationVersionsResult.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 AppConfig
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<HostedConfigurationVersionSummary>& GetItems() const{ return m_items; }
41 
45  inline void SetItems(const Aws::Vector<HostedConfigurationVersionSummary>& value) { m_items = value; }
46 
50  inline void SetItems(Aws::Vector<HostedConfigurationVersionSummary>&& value) { m_items = std::move(value); }
51 
56 
60  inline ListHostedConfigurationVersionsResult& WithItems(Aws::Vector<HostedConfigurationVersionSummary>&& value) { SetItems(std::move(value)); return *this;}
61 
65  inline ListHostedConfigurationVersionsResult& AddItems(const HostedConfigurationVersionSummary& value) { m_items.push_back(value); return *this; }
66 
70  inline ListHostedConfigurationVersionsResult& AddItems(HostedConfigurationVersionSummary&& value) { m_items.push_back(std::move(value)); return *this; }
71 
72 
77  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
78 
83  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
84 
89  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
90 
95  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
96 
101  inline ListHostedConfigurationVersionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102 
107  inline ListHostedConfigurationVersionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
108 
113  inline ListHostedConfigurationVersionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
114 
115  private:
116 
118 
119  Aws::String m_nextToken;
120  };
121 
122 } // namespace Model
123 } // namespace AppConfig
124 } // namespace Aws
Aws::AppConfig::Model::ListHostedConfigurationVersionsResult::WithNextToken
ListHostedConfigurationVersionsResult & WithNextToken(const char *value)
Definition: ListHostedConfigurationVersionsResult.h:113
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AppConfig::Model::ListHostedConfigurationVersionsResult::ListHostedConfigurationVersionsResult
ListHostedConfigurationVersionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppConfig::Model::ListHostedConfigurationVersionsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListHostedConfigurationVersionsResult.h:89
Aws::AppConfig::Model::ListHostedConfigurationVersionsResult::SetItems
void SetItems(Aws::Vector< HostedConfigurationVersionSummary > &&value)
Definition: ListHostedConfigurationVersionsResult.h:50
Aws::AppConfig::Model::ListHostedConfigurationVersionsResult::WithNextToken
ListHostedConfigurationVersionsResult & WithNextToken(const Aws::String &value)
Definition: ListHostedConfigurationVersionsResult.h:101
HostedConfigurationVersionSummary.h
Aws::AppConfig::Model::ListHostedConfigurationVersionsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListHostedConfigurationVersionsResult.h:95
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AppConfig::Model::ListHostedConfigurationVersionsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListHostedConfigurationVersionsResult.h:83
AWSVector.h
AppConfig_EXPORTS.h
Aws::AppConfig::Model::ListHostedConfigurationVersionsResult::operator=
ListHostedConfigurationVersionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppConfig::Model::ListHostedConfigurationVersionsResult::WithItems
ListHostedConfigurationVersionsResult & WithItems(Aws::Vector< HostedConfigurationVersionSummary > &&value)
Definition: ListHostedConfigurationVersionsResult.h:60
Aws::AppConfig::Model::ListHostedConfigurationVersionsResult
Definition: ListHostedConfigurationVersionsResult.h:30
Aws::AppConfig::Model::ListHostedConfigurationVersionsResult::ListHostedConfigurationVersionsResult
ListHostedConfigurationVersionsResult()
Aws::AppConfig::Model::ListHostedConfigurationVersionsResult::WithNextToken
ListHostedConfigurationVersionsResult & WithNextToken(Aws::String &&value)
Definition: ListHostedConfigurationVersionsResult.h:107
Aws::AppConfig::Model::ListHostedConfigurationVersionsResult::WithItems
ListHostedConfigurationVersionsResult & WithItems(const Aws::Vector< HostedConfigurationVersionSummary > &value)
Definition: ListHostedConfigurationVersionsResult.h:55
Aws::AppConfig::Model::ListHostedConfigurationVersionsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListHostedConfigurationVersionsResult.h:77
AWSString.h
Aws::AppConfig::Model::ListHostedConfigurationVersionsResult::AddItems
ListHostedConfigurationVersionsResult & AddItems(HostedConfigurationVersionSummary &&value)
Definition: ListHostedConfigurationVersionsResult.h:70
Aws::AppConfig::Model::HostedConfigurationVersionSummary
Definition: HostedConfigurationVersionSummary.h:32
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_APPCONFIG_API
#define AWS_APPCONFIG_API
Definition: AppConfig_EXPORTS.h:28
Aws::AppConfig::Model::ListHostedConfigurationVersionsResult::GetItems
const Aws::Vector< HostedConfigurationVersionSummary > & GetItems() const
Definition: ListHostedConfigurationVersionsResult.h:40
Aws::AppConfig::Model::ListHostedConfigurationVersionsResult::AddItems
ListHostedConfigurationVersionsResult & AddItems(const HostedConfigurationVersionSummary &value)
Definition: ListHostedConfigurationVersionsResult.h:65
Aws::AppConfig::Model::ListHostedConfigurationVersionsResult::SetItems
void SetItems(const Aws::Vector< HostedConfigurationVersionSummary > &value)
Definition: ListHostedConfigurationVersionsResult.h:45