AWS SDK for C++  1.9.104
AWS SDK for C++
ListConfigurationRevisionsResult.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 Kafka
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
42  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
43 
49  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
50 
56  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
57 
63  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
64 
70  inline ListConfigurationRevisionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
71 
77  inline ListConfigurationRevisionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
78 
84  inline ListConfigurationRevisionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
85 
86 
92  inline const Aws::Vector<ConfigurationRevision>& GetRevisions() const{ return m_revisions; }
93 
99  inline void SetRevisions(const Aws::Vector<ConfigurationRevision>& value) { m_revisions = value; }
100 
106  inline void SetRevisions(Aws::Vector<ConfigurationRevision>&& value) { m_revisions = std::move(value); }
107 
113  inline ListConfigurationRevisionsResult& WithRevisions(const Aws::Vector<ConfigurationRevision>& value) { SetRevisions(value); return *this;}
114 
120  inline ListConfigurationRevisionsResult& WithRevisions(Aws::Vector<ConfigurationRevision>&& value) { SetRevisions(std::move(value)); return *this;}
121 
127  inline ListConfigurationRevisionsResult& AddRevisions(const ConfigurationRevision& value) { m_revisions.push_back(value); return *this; }
128 
134  inline ListConfigurationRevisionsResult& AddRevisions(ConfigurationRevision&& value) { m_revisions.push_back(std::move(value)); return *this; }
135 
136  private:
137 
138  Aws::String m_nextToken;
139 
141  };
142 
143 } // namespace Model
144 } // namespace Kafka
145 } // namespace Aws
Aws::Kafka::Model::ListConfigurationRevisionsResult::AddRevisions
ListConfigurationRevisionsResult & AddRevisions(const ConfigurationRevision &value)
Definition: ListConfigurationRevisionsResult.h:127
Aws::Kafka::Model::ListConfigurationRevisionsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListConfigurationRevisionsResult.h:49
Aws::Kafka::Model::ListConfigurationRevisionsResult::operator=
ListConfigurationRevisionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Kafka::Model::ListConfigurationRevisionsResult
Definition: ListConfigurationRevisionsResult.h:30
Aws::Kafka::Model::ListConfigurationRevisionsResult::AddRevisions
ListConfigurationRevisionsResult & AddRevisions(ConfigurationRevision &&value)
Definition: ListConfigurationRevisionsResult.h:134
Aws::Kafka::Model::ListConfigurationRevisionsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListConfigurationRevisionsResult.h:42
Aws::Kafka::Model::ListConfigurationRevisionsResult::ListConfigurationRevisionsResult
ListConfigurationRevisionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Kafka::Model::ListConfigurationRevisionsResult::WithNextToken
ListConfigurationRevisionsResult & WithNextToken(const Aws::String &value)
Definition: ListConfigurationRevisionsResult.h:70
Aws::Kafka::Model::ListConfigurationRevisionsResult::GetRevisions
const Aws::Vector< ConfigurationRevision > & GetRevisions() const
Definition: ListConfigurationRevisionsResult.h:92
AWSVector.h
Aws::Kafka::Model::ListConfigurationRevisionsResult::SetRevisions
void SetRevisions(Aws::Vector< ConfigurationRevision > &&value)
Definition: ListConfigurationRevisionsResult.h:106
Aws::Kafka::Model::ListConfigurationRevisionsResult::ListConfigurationRevisionsResult
ListConfigurationRevisionsResult()
AWSString.h
Aws::Kafka::Model::ListConfigurationRevisionsResult::WithRevisions
ListConfigurationRevisionsResult & WithRevisions(const Aws::Vector< ConfigurationRevision > &value)
Definition: ListConfigurationRevisionsResult.h:113
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::ListConfigurationRevisionsResult::WithNextToken
ListConfigurationRevisionsResult & WithNextToken(const char *value)
Definition: ListConfigurationRevisionsResult.h:84
Aws::Kafka::Model::ListConfigurationRevisionsResult::WithNextToken
ListConfigurationRevisionsResult & WithNextToken(Aws::String &&value)
Definition: ListConfigurationRevisionsResult.h:77
Aws::Kafka::Model::ListConfigurationRevisionsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListConfigurationRevisionsResult.h:63
Aws::Kafka::Model::ConfigurationRevision
Definition: ConfigurationRevision.h:36
ConfigurationRevision.h
Aws::Kafka::Model::ListConfigurationRevisionsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListConfigurationRevisionsResult.h:56
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::ListConfigurationRevisionsResult::WithRevisions
ListConfigurationRevisionsResult & WithRevisions(Aws::Vector< ConfigurationRevision > &&value)
Definition: ListConfigurationRevisionsResult.h:120
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Kafka_EXPORTS.h
Aws::Kafka::Model::ListConfigurationRevisionsResult::SetRevisions
void SetRevisions(const Aws::Vector< ConfigurationRevision > &value)
Definition: ListConfigurationRevisionsResult.h:99