AWS SDK for C++  1.9.105
AWS SDK for C++
GetCompatibleKafkaVersionsResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace Kafka
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
41  inline const Aws::Vector<CompatibleKafkaVersion>& GetCompatibleKafkaVersions() const{ return m_compatibleKafkaVersions; }
42 
48  inline void SetCompatibleKafkaVersions(const Aws::Vector<CompatibleKafkaVersion>& value) { m_compatibleKafkaVersions = value; }
49 
55  inline void SetCompatibleKafkaVersions(Aws::Vector<CompatibleKafkaVersion>&& value) { m_compatibleKafkaVersions = std::move(value); }
56 
62  inline GetCompatibleKafkaVersionsResult& WithCompatibleKafkaVersions(const Aws::Vector<CompatibleKafkaVersion>& value) { SetCompatibleKafkaVersions(value); return *this;}
63 
69  inline GetCompatibleKafkaVersionsResult& WithCompatibleKafkaVersions(Aws::Vector<CompatibleKafkaVersion>&& value) { SetCompatibleKafkaVersions(std::move(value)); return *this;}
70 
76  inline GetCompatibleKafkaVersionsResult& AddCompatibleKafkaVersions(const CompatibleKafkaVersion& value) { m_compatibleKafkaVersions.push_back(value); return *this; }
77 
83  inline GetCompatibleKafkaVersionsResult& AddCompatibleKafkaVersions(CompatibleKafkaVersion&& value) { m_compatibleKafkaVersions.push_back(std::move(value)); return *this; }
84 
85  private:
86 
87  Aws::Vector<CompatibleKafkaVersion> m_compatibleKafkaVersions;
88  };
89 
90 } // namespace Model
91 } // namespace Kafka
92 } // namespace Aws
Aws::Kafka::Model::CompatibleKafkaVersion
Definition: CompatibleKafkaVersion.h:36
Aws::Kafka::Model::GetCompatibleKafkaVersionsResult
Definition: GetCompatibleKafkaVersionsResult.h:29
Aws::Kafka::Model::GetCompatibleKafkaVersionsResult::AddCompatibleKafkaVersions
GetCompatibleKafkaVersionsResult & AddCompatibleKafkaVersions(const CompatibleKafkaVersion &value)
Definition: GetCompatibleKafkaVersionsResult.h:76
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Kafka::Model::GetCompatibleKafkaVersionsResult::GetCompatibleKafkaVersionsResult
GetCompatibleKafkaVersionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Kafka::Model::GetCompatibleKafkaVersionsResult::operator=
GetCompatibleKafkaVersionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Kafka::Model::GetCompatibleKafkaVersionsResult::GetCompatibleKafkaVersions
const Aws::Vector< CompatibleKafkaVersion > & GetCompatibleKafkaVersions() const
Definition: GetCompatibleKafkaVersionsResult.h:41
CompatibleKafkaVersion.h
Aws::Kafka::Model::GetCompatibleKafkaVersionsResult::SetCompatibleKafkaVersions
void SetCompatibleKafkaVersions(Aws::Vector< CompatibleKafkaVersion > &&value)
Definition: GetCompatibleKafkaVersionsResult.h:55
Aws::Kafka::Model::GetCompatibleKafkaVersionsResult::AddCompatibleKafkaVersions
GetCompatibleKafkaVersionsResult & AddCompatibleKafkaVersions(CompatibleKafkaVersion &&value)
Definition: GetCompatibleKafkaVersionsResult.h:83
Aws::Kafka::Model::GetCompatibleKafkaVersionsResult::GetCompatibleKafkaVersionsResult
GetCompatibleKafkaVersionsResult()
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::GetCompatibleKafkaVersionsResult::SetCompatibleKafkaVersions
void SetCompatibleKafkaVersions(const Aws::Vector< CompatibleKafkaVersion > &value)
Definition: GetCompatibleKafkaVersionsResult.h:48
Aws::Kafka::Model::GetCompatibleKafkaVersionsResult::WithCompatibleKafkaVersions
GetCompatibleKafkaVersionsResult & WithCompatibleKafkaVersions(Aws::Vector< CompatibleKafkaVersion > &&value)
Definition: GetCompatibleKafkaVersionsResult.h:69
Aws
Definition: AccessManagementClient.h:15
Kafka_EXPORTS.h
Aws::Kafka::Model::GetCompatibleKafkaVersionsResult::WithCompatibleKafkaVersions
GetCompatibleKafkaVersionsResult & WithCompatibleKafkaVersions(const Aws::Vector< CompatibleKafkaVersion > &value)
Definition: GetCompatibleKafkaVersionsResult.h:62