AWS SDK for C++

AWS SDK for C++ Version 1.11.788

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/mq/MQ_EXPORTS.h>
11#include <aws/mq/model/AuthenticationStrategy.h>
12#include <aws/mq/model/ConfigurationRevision.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 MQ {
26namespace Model {
28 public:
29 AWS_MQ_API CreateConfigurationResult() = default;
32
34
37 inline const Aws::String& GetArn() const { return m_arn; }
38 template <typename ArnT = Aws::String>
39 void SetArn(ArnT&& value) {
40 m_arnHasBeenSet = true;
41 m_arn = std::forward<ArnT>(value);
42 }
43 template <typename ArnT = Aws::String>
45 SetArn(std::forward<ArnT>(value));
46 return *this;
47 }
49
51
55 inline AuthenticationStrategy GetAuthenticationStrategy() const { return m_authenticationStrategy; }
57 m_authenticationStrategyHasBeenSet = true;
58 m_authenticationStrategy = value;
59 }
62 return *this;
63 }
65
67
70 inline const Aws::Utils::DateTime& GetCreated() const { return m_created; }
71 template <typename CreatedT = Aws::Utils::DateTime>
72 void SetCreated(CreatedT&& value) {
73 m_createdHasBeenSet = true;
74 m_created = std::forward<CreatedT>(value);
75 }
76 template <typename CreatedT = Aws::Utils::DateTime>
78 SetCreated(std::forward<CreatedT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetId() const { return m_id; }
88 template <typename IdT = Aws::String>
89 void SetId(IdT&& value) {
90 m_idHasBeenSet = true;
91 m_id = std::forward<IdT>(value);
92 }
93 template <typename IdT = Aws::String>
95 SetId(std::forward<IdT>(value));
96 return *this;
97 }
99
101
104 inline const ConfigurationRevision& GetLatestRevision() const { return m_latestRevision; }
105 template <typename LatestRevisionT = ConfigurationRevision>
106 void SetLatestRevision(LatestRevisionT&& value) {
107 m_latestRevisionHasBeenSet = true;
108 m_latestRevision = std::forward<LatestRevisionT>(value);
109 }
110 template <typename LatestRevisionT = ConfigurationRevision>
112 SetLatestRevision(std::forward<LatestRevisionT>(value));
113 return *this;
114 }
116
118
123 inline const Aws::String& GetName() const { return m_name; }
124 template <typename NameT = Aws::String>
125 void SetName(NameT&& value) {
126 m_nameHasBeenSet = true;
127 m_name = std::forward<NameT>(value);
128 }
129 template <typename NameT = Aws::String>
131 SetName(std::forward<NameT>(value));
132 return *this;
133 }
135
137
138 inline const Aws::String& GetRequestId() const { return m_requestId; }
139 template <typename RequestIdT = Aws::String>
140 void SetRequestId(RequestIdT&& value) {
141 m_requestIdHasBeenSet = true;
142 m_requestId = std::forward<RequestIdT>(value);
143 }
144 template <typename RequestIdT = Aws::String>
146 SetRequestId(std::forward<RequestIdT>(value));
147 return *this;
148 }
150 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
151
152 private:
153 Aws::String m_arn;
154
156
157 Aws::Utils::DateTime m_created{};
158
159 Aws::String m_id;
160
161 ConfigurationRevision m_latestRevision;
162
163 Aws::String m_name;
164
165 Aws::String m_requestId;
166 Aws::Http::HttpResponseCode m_HttpResponseCode;
167 bool m_arnHasBeenSet = false;
168 bool m_authenticationStrategyHasBeenSet = false;
169 bool m_createdHasBeenSet = false;
170 bool m_idHasBeenSet = false;
171 bool m_latestRevisionHasBeenSet = false;
172 bool m_nameHasBeenSet = false;
173 bool m_requestIdHasBeenSet = false;
174};
175
176} // namespace Model
177} // namespace MQ
178} // namespace Aws
CreateConfigurationResult & WithCreated(CreatedT &&value)
CreateConfigurationResult & WithRequestId(RequestIdT &&value)
CreateConfigurationResult & WithArn(ArnT &&value)
void SetAuthenticationStrategy(AuthenticationStrategy value)
CreateConfigurationResult & WithAuthenticationStrategy(AuthenticationStrategy value)
const Aws::Utils::DateTime & GetCreated() const
CreateConfigurationResult & WithLatestRevision(LatestRevisionT &&value)
AuthenticationStrategy GetAuthenticationStrategy() const
CreateConfigurationResult & WithName(NameT &&value)
AWS_MQ_API CreateConfigurationResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateConfigurationResult & WithId(IdT &&value)
const ConfigurationRevision & GetLatestRevision() const
AWS_MQ_API CreateConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MQ_API CreateConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue