AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListKafkaVersionsResult.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kafka/model/KafkaVersion.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 Kafka
26{
27namespace Model
28{
30 {
31 public:
32 AWS_KAFKA_API ListKafkaVersionsResult();
35
36
38
39 inline const Aws::Vector<KafkaVersion>& GetKafkaVersions() const{ return m_kafkaVersions; }
40 inline void SetKafkaVersions(const Aws::Vector<KafkaVersion>& value) { m_kafkaVersions = value; }
41 inline void SetKafkaVersions(Aws::Vector<KafkaVersion>&& value) { m_kafkaVersions = std::move(value); }
43 inline ListKafkaVersionsResult& WithKafkaVersions(Aws::Vector<KafkaVersion>&& value) { SetKafkaVersions(std::move(value)); return *this;}
44 inline ListKafkaVersionsResult& AddKafkaVersions(const KafkaVersion& value) { m_kafkaVersions.push_back(value); return *this; }
45 inline ListKafkaVersionsResult& AddKafkaVersions(KafkaVersion&& value) { m_kafkaVersions.push_back(std::move(value)); return *this; }
47
49
50 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
51 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
52 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
53 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
54 inline ListKafkaVersionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
55 inline ListKafkaVersionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
56 inline ListKafkaVersionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
58
60
61 inline const Aws::String& GetRequestId() const{ return m_requestId; }
62 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
63 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
64 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
65 inline ListKafkaVersionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
66 inline ListKafkaVersionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
67 inline ListKafkaVersionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
69 private:
70
71 Aws::Vector<KafkaVersion> m_kafkaVersions;
72
73 Aws::String m_nextToken;
74
75 Aws::String m_requestId;
76 };
77
78} // namespace Model
79} // namespace Kafka
80} // namespace Aws
AWS_KAFKA_API ListKafkaVersionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListKafkaVersionsResult & WithRequestId(const char *value)
void SetKafkaVersions(const Aws::Vector< KafkaVersion > &value)
ListKafkaVersionsResult & WithNextToken(const char *value)
ListKafkaVersionsResult & AddKafkaVersions(const KafkaVersion &value)
ListKafkaVersionsResult & WithNextToken(Aws::String &&value)
const Aws::Vector< KafkaVersion > & GetKafkaVersions() const
ListKafkaVersionsResult & AddKafkaVersions(KafkaVersion &&value)
AWS_KAFKA_API ListKafkaVersionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListKafkaVersionsResult & WithRequestId(Aws::String &&value)
ListKafkaVersionsResult & WithKafkaVersions(const Aws::Vector< KafkaVersion > &value)
void SetKafkaVersions(Aws::Vector< KafkaVersion > &&value)
ListKafkaVersionsResult & WithKafkaVersions(Aws::Vector< KafkaVersion > &&value)
ListKafkaVersionsResult & WithNextToken(const Aws::String &value)
ListKafkaVersionsResult & WithRequestId(const Aws::String &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