AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CreateConfigurationResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kafka/Kafka_EXPORTS.h>
10#include <aws/kafka/model/ConfigurationRevision.h>
11#include <aws/kafka/model/ConfigurationState.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 CreateConfigurationResult() = 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 ConfigurationRevision& GetLatestRevision() const { return m_latestRevision; }
78 template <typename LatestRevisionT = ConfigurationRevision>
79 void SetLatestRevision(LatestRevisionT&& value) {
80 m_latestRevisionHasBeenSet = true;
81 m_latestRevision = std::forward<LatestRevisionT>(value);
82 }
83 template <typename LatestRevisionT = ConfigurationRevision>
85 SetLatestRevision(std::forward<LatestRevisionT>(value));
86 return *this;
87 }
89
91
96 inline const Aws::String& GetName() const { return m_name; }
97 template <typename NameT = Aws::String>
98 void SetName(NameT&& value) {
99 m_nameHasBeenSet = true;
100 m_name = std::forward<NameT>(value);
101 }
102 template <typename NameT = Aws::String>
104 SetName(std::forward<NameT>(value));
105 return *this;
106 }
108
110
116 inline ConfigurationState GetState() const { return m_state; }
117 inline void SetState(ConfigurationState value) {
118 m_stateHasBeenSet = true;
119 m_state = value;
120 }
122 SetState(value);
123 return *this;
124 }
126
128
129 inline const Aws::String& GetRequestId() const { return m_requestId; }
130 template <typename RequestIdT = Aws::String>
131 void SetRequestId(RequestIdT&& value) {
132 m_requestIdHasBeenSet = true;
133 m_requestId = std::forward<RequestIdT>(value);
134 }
135 template <typename RequestIdT = Aws::String>
137 SetRequestId(std::forward<RequestIdT>(value));
138 return *this;
139 }
141 private:
142 Aws::String m_arn;
143
144 Aws::Utils::DateTime m_creationTime{};
145
146 ConfigurationRevision m_latestRevision;
147
148 Aws::String m_name;
149
151
152 Aws::String m_requestId;
153 bool m_arnHasBeenSet = false;
154 bool m_creationTimeHasBeenSet = false;
155 bool m_latestRevisionHasBeenSet = false;
156 bool m_nameHasBeenSet = false;
157 bool m_stateHasBeenSet = false;
158 bool m_requestIdHasBeenSet = false;
159};
160
161} // namespace Model
162} // namespace Kafka
163} // 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)
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