AWS SDK for C++

AWS SDK for C++ Version 1.11.782

Loading...
Searching...
No Matches
CreateConfigurationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kafka/Kafka_EXPORTS.h>
11#include <aws/kafka/model/ConfigurationRevision.h>
12#include <aws/kafka/model/ConfigurationState.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Kafka {
26namespace Model {
28 public:
29 AWS_KAFKA_API CreateConfigurationResult() = default;
32
34
40 inline const Aws::String& GetArn() const { return m_arn; }
41 template <typename ArnT = Aws::String>
42 void SetArn(ArnT&& value) {
43 m_arnHasBeenSet = true;
44 m_arn = std::forward<ArnT>(value);
45 }
46 template <typename ArnT = Aws::String>
48 SetArn(std::forward<ArnT>(value));
49 return *this;
50 }
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) {
62 m_creationTimeHasBeenSet = true;
63 m_creationTime = std::forward<CreationTimeT>(value);
64 }
65 template <typename CreationTimeT = Aws::Utils::DateTime>
67 SetCreationTime(std::forward<CreationTimeT>(value));
68 return *this;
69 }
71
73
78 inline const ConfigurationRevision& GetLatestRevision() const { return m_latestRevision; }
79 template <typename LatestRevisionT = ConfigurationRevision>
80 void SetLatestRevision(LatestRevisionT&& value) {
81 m_latestRevisionHasBeenSet = true;
82 m_latestRevision = std::forward<LatestRevisionT>(value);
83 }
84 template <typename LatestRevisionT = ConfigurationRevision>
86 SetLatestRevision(std::forward<LatestRevisionT>(value));
87 return *this;
88 }
90
92
97 inline const Aws::String& GetName() const { return m_name; }
98 template <typename NameT = Aws::String>
99 void SetName(NameT&& value) {
100 m_nameHasBeenSet = true;
101 m_name = std::forward<NameT>(value);
102 }
103 template <typename NameT = Aws::String>
105 SetName(std::forward<NameT>(value));
106 return *this;
107 }
109
111
117 inline ConfigurationState GetState() const { return m_state; }
118 inline void SetState(ConfigurationState value) {
119 m_stateHasBeenSet = true;
120 m_state = value;
121 }
123 SetState(value);
124 return *this;
125 }
127
129
130 inline const Aws::String& GetRequestId() const { return m_requestId; }
131 template <typename RequestIdT = Aws::String>
132 void SetRequestId(RequestIdT&& value) {
133 m_requestIdHasBeenSet = true;
134 m_requestId = std::forward<RequestIdT>(value);
135 }
136 template <typename RequestIdT = Aws::String>
138 SetRequestId(std::forward<RequestIdT>(value));
139 return *this;
140 }
142 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
143
144 private:
145 Aws::String m_arn;
146
147 Aws::Utils::DateTime m_creationTime{};
148
149 ConfigurationRevision m_latestRevision;
150
151 Aws::String m_name;
152
154
155 Aws::String m_requestId;
156 Aws::Http::HttpResponseCode m_HttpResponseCode;
157 bool m_arnHasBeenSet = false;
158 bool m_creationTimeHasBeenSet = false;
159 bool m_latestRevisionHasBeenSet = false;
160 bool m_nameHasBeenSet = false;
161 bool m_stateHasBeenSet = false;
162 bool m_requestIdHasBeenSet = false;
163};
164
165} // namespace Model
166} // namespace Kafka
167} // namespace Aws
const ConfigurationRevision & GetLatestRevision() const
CreateConfigurationResult & WithLatestRevision(LatestRevisionT &&value)
CreateConfigurationResult & WithState(ConfigurationState value)
CreateConfigurationResult & WithRequestId(RequestIdT &&value)
AWS_KAFKA_API CreateConfigurationResult()=default
CreateConfigurationResult & WithName(NameT &&value)
AWS_KAFKA_API CreateConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateConfigurationResult & WithCreationTime(CreationTimeT &&value)
AWS_KAFKA_API CreateConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Utils::DateTime & GetCreationTime() const
CreateConfigurationResult & WithArn(ArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue