AWS SDK for C++  1.9.106
AWS SDK for C++
ListConfigurationsResult.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::Vector<Configuration>& GetConfigurations() const{ return m_configurations; }
43 
49  inline void SetConfigurations(const Aws::Vector<Configuration>& value) { m_configurations = value; }
50 
56  inline void SetConfigurations(Aws::Vector<Configuration>&& value) { m_configurations = std::move(value); }
57 
63  inline ListConfigurationsResult& WithConfigurations(const Aws::Vector<Configuration>& value) { SetConfigurations(value); return *this;}
64 
70  inline ListConfigurationsResult& WithConfigurations(Aws::Vector<Configuration>&& value) { SetConfigurations(std::move(value)); return *this;}
71 
77  inline ListConfigurationsResult& AddConfigurations(const Configuration& value) { m_configurations.push_back(value); return *this; }
78 
84  inline ListConfigurationsResult& AddConfigurations(Configuration&& value) { m_configurations.push_back(std::move(value)); return *this; }
85 
86 
96  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
97 
107  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
108 
118  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
119 
129  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
130 
140  inline ListConfigurationsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
141 
151  inline ListConfigurationsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
152 
162  inline ListConfigurationsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
163 
164  private:
165 
166  Aws::Vector<Configuration> m_configurations;
167 
168  Aws::String m_nextToken;
169  };
170 
171 } // namespace Model
172 } // namespace Kafka
173 } // namespace Aws
Aws::Kafka::Model::ListConfigurationsResult::SetConfigurations
void SetConfigurations(Aws::Vector< Configuration > &&value)
Definition: ListConfigurationsResult.h:56
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Kafka::Model::ListConfigurationsResult::AddConfigurations
ListConfigurationsResult & AddConfigurations(const Configuration &value)
Definition: ListConfigurationsResult.h:77
Aws::Kafka::Model::ListConfigurationsResult::AddConfigurations
ListConfigurationsResult & AddConfigurations(Configuration &&value)
Definition: ListConfigurationsResult.h:84
Aws::Kafka::Model::ListConfigurationsResult
Definition: ListConfigurationsResult.h:30
Aws::Kafka::Model::ListConfigurationsResult::ListConfigurationsResult
ListConfigurationsResult()
Aws::Kafka::Model::ListConfigurationsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListConfigurationsResult.h:129
Aws::Kafka::Model::ListConfigurationsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListConfigurationsResult.h:118
Aws::Kafka::Model::ListConfigurationsResult::WithConfigurations
ListConfigurationsResult & WithConfigurations(Aws::Vector< Configuration > &&value)
Definition: ListConfigurationsResult.h:70
Aws::Kafka::Model::ListConfigurationsResult::WithConfigurations
ListConfigurationsResult & WithConfigurations(const Aws::Vector< Configuration > &value)
Definition: ListConfigurationsResult.h:63
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Kafka::Model::ListConfigurationsResult::ListConfigurationsResult
ListConfigurationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Kafka::Model::ListConfigurationsResult::SetConfigurations
void SetConfigurations(const Aws::Vector< Configuration > &value)
Definition: ListConfigurationsResult.h:49
Aws::Kafka::Model::ListConfigurationsResult::GetConfigurations
const Aws::Vector< Configuration > & GetConfigurations() const
Definition: ListConfigurationsResult.h:42
Aws::Kafka::Model::ListConfigurationsResult::WithNextToken
ListConfigurationsResult & WithNextToken(const Aws::String &value)
Definition: ListConfigurationsResult.h:140
Aws::Kafka::Model::ListConfigurationsResult::WithNextToken
ListConfigurationsResult & WithNextToken(const char *value)
Definition: ListConfigurationsResult.h:162
Aws::Kafka::Model::ListConfigurationsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListConfigurationsResult.h:96
AWSString.h
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::ListConfigurationsResult::operator=
ListConfigurationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::Configuration
Definition: Configuration.h:39
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Kafka_EXPORTS.h
Aws::Kafka::Model::ListConfigurationsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListConfigurationsResult.h:107
Aws::Kafka::Model::ListConfigurationsResult::WithNextToken
ListConfigurationsResult & WithNextToken(Aws::String &&value)
Definition: ListConfigurationsResult.h:151
Configuration.h