AWS SDK for C++

AWS SDK for C++ Version 1.11.769

Loading...
Searching...
No Matches
DescribeConfigurationRevisionResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/Array.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/kafka/Kafka_EXPORTS.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Kafka {
25namespace Model {
27 public:
28 AWS_KAFKA_API DescribeConfigurationRevisionResult() = default;
31
33
39 inline const Aws::String& GetArn() const { return m_arn; }
40 template <typename ArnT = Aws::String>
41 void SetArn(ArnT&& value) {
42 m_arnHasBeenSet = true;
43 m_arn = std::forward<ArnT>(value);
44 }
45 template <typename ArnT = Aws::String>
47 SetArn(std::forward<ArnT>(value));
48 return *this;
49 }
51
53
58 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
59 template <typename CreationTimeT = Aws::Utils::DateTime>
60 void SetCreationTime(CreationTimeT&& value) {
61 m_creationTimeHasBeenSet = true;
62 m_creationTime = std::forward<CreationTimeT>(value);
63 }
64 template <typename CreationTimeT = Aws::Utils::DateTime>
66 SetCreationTime(std::forward<CreationTimeT>(value));
67 return *this;
68 }
70
72
77 inline const Aws::String& GetDescription() const { return m_description; }
78 template <typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) {
80 m_descriptionHasBeenSet = true;
81 m_description = std::forward<DescriptionT>(value);
82 }
83 template <typename DescriptionT = Aws::String>
85 SetDescription(std::forward<DescriptionT>(value));
86 return *this;
87 }
89
91
96 inline long long GetRevision() const { return m_revision; }
97 inline void SetRevision(long long value) {
98 m_revisionHasBeenSet = true;
99 m_revision = value;
100 }
102 SetRevision(value);
103 return *this;
104 }
106
108
118 inline const Aws::Utils::ByteBuffer& GetServerProperties() const { return m_serverProperties; }
119 template <typename ServerPropertiesT = Aws::Utils::ByteBuffer>
120 void SetServerProperties(ServerPropertiesT&& value) {
121 m_serverPropertiesHasBeenSet = true;
122 m_serverProperties = std::forward<ServerPropertiesT>(value);
123 }
124 template <typename ServerPropertiesT = Aws::Utils::ByteBuffer>
126 SetServerProperties(std::forward<ServerPropertiesT>(value));
127 return *this;
128 }
130
132
133 inline const Aws::String& GetRequestId() const { return m_requestId; }
134 template <typename RequestIdT = Aws::String>
135 void SetRequestId(RequestIdT&& value) {
136 m_requestIdHasBeenSet = true;
137 m_requestId = std::forward<RequestIdT>(value);
138 }
139 template <typename RequestIdT = Aws::String>
141 SetRequestId(std::forward<RequestIdT>(value));
142 return *this;
143 }
145 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
146
147 private:
148 Aws::String m_arn;
149
150 Aws::Utils::DateTime m_creationTime{};
151
152 Aws::String m_description;
153
154 long long m_revision{0};
155
156 Aws::Utils::ByteBuffer m_serverProperties{};
157
158 Aws::String m_requestId;
159 Aws::Http::HttpResponseCode m_HttpResponseCode;
160 bool m_arnHasBeenSet = false;
161 bool m_creationTimeHasBeenSet = false;
162 bool m_descriptionHasBeenSet = false;
163 bool m_revisionHasBeenSet = false;
164 bool m_serverPropertiesHasBeenSet = false;
165 bool m_requestIdHasBeenSet = false;
166};
167
168} // namespace Model
169} // namespace Kafka
170} // namespace Aws
DescribeConfigurationRevisionResult & WithArn(ArnT &&value)
AWS_KAFKA_API DescribeConfigurationRevisionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeConfigurationRevisionResult & WithServerProperties(ServerPropertiesT &&value)
AWS_KAFKA_API DescribeConfigurationRevisionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeConfigurationRevisionResult & WithDescription(DescriptionT &&value)
DescribeConfigurationRevisionResult & WithRevision(long long value)
DescribeConfigurationRevisionResult & WithCreationTime(CreationTimeT &&value)
DescribeConfigurationRevisionResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue