AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
34 AWS_KAFKA_API DescribeConfigurationResult() = default;
37
38
40
46 inline const Aws::String& GetArn() const { return m_arn; }
47 template<typename ArnT = Aws::String>
48 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
49 template<typename ArnT = Aws::String>
50 DescribeConfigurationResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
52
54
59 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
60 template<typename CreationTimeT = Aws::Utils::DateTime>
61 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
62 template<typename CreationTimeT = Aws::Utils::DateTime>
63 DescribeConfigurationResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
65
67
72 inline const Aws::String& GetDescription() const { return m_description; }
73 template<typename DescriptionT = Aws::String>
74 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
75 template<typename DescriptionT = Aws::String>
76 DescribeConfigurationResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
78
80
86 inline const Aws::Vector<Aws::String>& GetKafkaVersions() const { return m_kafkaVersions; }
87 template<typename KafkaVersionsT = Aws::Vector<Aws::String>>
88 void SetKafkaVersions(KafkaVersionsT&& value) { m_kafkaVersionsHasBeenSet = true; m_kafkaVersions = std::forward<KafkaVersionsT>(value); }
89 template<typename KafkaVersionsT = Aws::Vector<Aws::String>>
90 DescribeConfigurationResult& WithKafkaVersions(KafkaVersionsT&& value) { SetKafkaVersions(std::forward<KafkaVersionsT>(value)); return *this;}
91 template<typename KafkaVersionsT = Aws::String>
92 DescribeConfigurationResult& AddKafkaVersions(KafkaVersionsT&& value) { m_kafkaVersionsHasBeenSet = true; m_kafkaVersions.emplace_back(std::forward<KafkaVersionsT>(value)); return *this; }
94
96
101 inline const ConfigurationRevision& GetLatestRevision() const { return m_latestRevision; }
102 template<typename LatestRevisionT = ConfigurationRevision>
103 void SetLatestRevision(LatestRevisionT&& value) { m_latestRevisionHasBeenSet = true; m_latestRevision = std::forward<LatestRevisionT>(value); }
104 template<typename LatestRevisionT = ConfigurationRevision>
105 DescribeConfigurationResult& WithLatestRevision(LatestRevisionT&& value) { SetLatestRevision(std::forward<LatestRevisionT>(value)); return *this;}
107
109
114 inline const Aws::String& GetName() const { return m_name; }
115 template<typename NameT = Aws::String>
116 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
117 template<typename NameT = Aws::String>
118 DescribeConfigurationResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
120
122
128 inline ConfigurationState GetState() const { return m_state; }
129 inline void SetState(ConfigurationState value) { m_stateHasBeenSet = true; m_state = value; }
130 inline DescribeConfigurationResult& WithState(ConfigurationState value) { SetState(value); return *this;}
132
134
135 inline const Aws::String& GetRequestId() const { return m_requestId; }
136 template<typename RequestIdT = Aws::String>
137 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
138 template<typename RequestIdT = Aws::String>
139 DescribeConfigurationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
141 private:
142
143 Aws::String m_arn;
144 bool m_arnHasBeenSet = false;
145
146 Aws::Utils::DateTime m_creationTime{};
147 bool m_creationTimeHasBeenSet = false;
148
149 Aws::String m_description;
150 bool m_descriptionHasBeenSet = false;
151
152 Aws::Vector<Aws::String> m_kafkaVersions;
153 bool m_kafkaVersionsHasBeenSet = false;
154
155 ConfigurationRevision m_latestRevision;
156 bool m_latestRevisionHasBeenSet = false;
157
158 Aws::String m_name;
159 bool m_nameHasBeenSet = false;
160
162 bool m_stateHasBeenSet = false;
163
164 Aws::String m_requestId;
165 bool m_requestIdHasBeenSet = false;
166 };
167
168} // namespace Model
169} // namespace Kafka
170} // namespace Aws
DescribeConfigurationResult & AddKafkaVersions(KafkaVersionsT &&value)
DescribeConfigurationResult & WithLatestRevision(LatestRevisionT &&value)
DescribeConfigurationResult & WithKafkaVersions(KafkaVersionsT &&value)
DescribeConfigurationResult & WithRequestId(RequestIdT &&value)
DescribeConfigurationResult & WithArn(ArnT &&value)
const Aws::Vector< Aws::String > & GetKafkaVersions() const
AWS_KAFKA_API DescribeConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_KAFKA_API DescribeConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const ConfigurationRevision & GetLatestRevision() const
DescribeConfigurationResult & WithDescription(DescriptionT &&value)
DescribeConfigurationResult & WithName(NameT &&value)
AWS_KAFKA_API DescribeConfigurationResult()=default
DescribeConfigurationResult & WithCreationTime(CreationTimeT &&value)
DescribeConfigurationResult & WithState(ConfigurationState 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