AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeConfigurationResult.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/kafka/model/ConfigurationRevision.h>
12#include <aws/kafka/model/ConfigurationState.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Kafka
28{
29namespace Model
30{
32 {
33 public:
37
38
40
46 inline const Aws::String& GetArn() const{ return m_arn; }
47 inline void SetArn(const Aws::String& value) { m_arn = value; }
48 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
49 inline void SetArn(const char* value) { m_arn.assign(value); }
50 inline DescribeConfigurationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
51 inline DescribeConfigurationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
52 inline DescribeConfigurationResult& WithArn(const char* value) { SetArn(value); return *this;}
54
56
61 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
62 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
63 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
65 inline DescribeConfigurationResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
67
69
74 inline const Aws::String& GetDescription() const{ return m_description; }
75 inline void SetDescription(const Aws::String& value) { m_description = value; }
76 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
77 inline void SetDescription(const char* value) { m_description.assign(value); }
78 inline DescribeConfigurationResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
79 inline DescribeConfigurationResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
80 inline DescribeConfigurationResult& WithDescription(const char* value) { SetDescription(value); return *this;}
82
84
90 inline const Aws::Vector<Aws::String>& GetKafkaVersions() const{ return m_kafkaVersions; }
91 inline void SetKafkaVersions(const Aws::Vector<Aws::String>& value) { m_kafkaVersions = value; }
92 inline void SetKafkaVersions(Aws::Vector<Aws::String>&& value) { m_kafkaVersions = std::move(value); }
95 inline DescribeConfigurationResult& AddKafkaVersions(const Aws::String& value) { m_kafkaVersions.push_back(value); return *this; }
96 inline DescribeConfigurationResult& AddKafkaVersions(Aws::String&& value) { m_kafkaVersions.push_back(std::move(value)); return *this; }
97 inline DescribeConfigurationResult& AddKafkaVersions(const char* value) { m_kafkaVersions.push_back(value); return *this; }
99
101
106 inline const ConfigurationRevision& GetLatestRevision() const{ return m_latestRevision; }
107 inline void SetLatestRevision(const ConfigurationRevision& value) { m_latestRevision = value; }
108 inline void SetLatestRevision(ConfigurationRevision&& value) { m_latestRevision = std::move(value); }
112
114
119 inline const Aws::String& GetName() const{ return m_name; }
120 inline void SetName(const Aws::String& value) { m_name = value; }
121 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
122 inline void SetName(const char* value) { m_name.assign(value); }
123 inline DescribeConfigurationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
124 inline DescribeConfigurationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
125 inline DescribeConfigurationResult& WithName(const char* value) { SetName(value); return *this;}
127
129
135 inline const ConfigurationState& GetState() const{ return m_state; }
136 inline void SetState(const ConfigurationState& value) { m_state = value; }
137 inline void SetState(ConfigurationState&& value) { m_state = std::move(value); }
138 inline DescribeConfigurationResult& WithState(const ConfigurationState& value) { SetState(value); return *this;}
139 inline DescribeConfigurationResult& WithState(ConfigurationState&& value) { SetState(std::move(value)); return *this;}
141
143
144 inline const Aws::String& GetRequestId() const{ return m_requestId; }
145 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
146 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
147 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
148 inline DescribeConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
149 inline DescribeConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
150 inline DescribeConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
152 private:
153
154 Aws::String m_arn;
155
156 Aws::Utils::DateTime m_creationTime;
157
158 Aws::String m_description;
159
160 Aws::Vector<Aws::String> m_kafkaVersions;
161
162 ConfigurationRevision m_latestRevision;
163
164 Aws::String m_name;
165
166 ConfigurationState m_state;
167
168 Aws::String m_requestId;
169 };
170
171} // namespace Model
172} // namespace Kafka
173} // namespace Aws
DescribeConfigurationResult & WithArn(const Aws::String &value)
DescribeConfigurationResult & WithState(ConfigurationState &&value)
DescribeConfigurationResult & WithRequestId(const char *value)
DescribeConfigurationResult & WithName(const Aws::String &value)
DescribeConfigurationResult & WithArn(const char *value)
DescribeConfigurationResult & AddKafkaVersions(const char *value)
DescribeConfigurationResult & WithRequestId(const Aws::String &value)
DescribeConfigurationResult & WithState(const ConfigurationState &value)
DescribeConfigurationResult & WithDescription(Aws::String &&value)
DescribeConfigurationResult & WithName(Aws::String &&value)
const Aws::Vector< Aws::String > & GetKafkaVersions() const
DescribeConfigurationResult & WithKafkaVersions(const Aws::Vector< Aws::String > &value)
AWS_KAFKA_API DescribeConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeConfigurationResult & WithName(const char *value)
AWS_KAFKA_API DescribeConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLatestRevision(const ConfigurationRevision &value)
DescribeConfigurationResult & WithLatestRevision(ConfigurationRevision &&value)
const ConfigurationRevision & GetLatestRevision() const
DescribeConfigurationResult & WithCreationTime(Aws::Utils::DateTime &&value)
void SetKafkaVersions(Aws::Vector< Aws::String > &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
DescribeConfigurationResult & AddKafkaVersions(const Aws::String &value)
DescribeConfigurationResult & AddKafkaVersions(Aws::String &&value)
DescribeConfigurationResult & WithArn(Aws::String &&value)
DescribeConfigurationResult & WithKafkaVersions(Aws::Vector< Aws::String > &&value)
DescribeConfigurationResult & WithRequestId(Aws::String &&value)
DescribeConfigurationResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeConfigurationResult & WithDescription(const Aws::String &value)
void SetKafkaVersions(const Aws::Vector< Aws::String > &value)
DescribeConfigurationResult & WithLatestRevision(const ConfigurationRevision &value)
DescribeConfigurationResult & WithDescription(const char *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