AWS SDK for C++

AWS SDK for C++ Version 1.11.747

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/mq/MQ_EXPORTS.h>
10#include <aws/mq/model/AuthenticationStrategy.h>
11#include <aws/mq/model/ConfigurationRevision.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 MQ {
25namespace Model {
27 public:
28 AWS_MQ_API CreateConfigurationResult() = default;
31
33
36 inline const Aws::String& GetArn() const { return m_arn; }
37 template <typename ArnT = Aws::String>
38 void SetArn(ArnT&& value) {
39 m_arnHasBeenSet = true;
40 m_arn = std::forward<ArnT>(value);
41 }
42 template <typename ArnT = Aws::String>
44 SetArn(std::forward<ArnT>(value));
45 return *this;
46 }
48
50
54 inline AuthenticationStrategy GetAuthenticationStrategy() const { return m_authenticationStrategy; }
56 m_authenticationStrategyHasBeenSet = true;
57 m_authenticationStrategy = value;
58 }
61 return *this;
62 }
64
66
69 inline const Aws::Utils::DateTime& GetCreated() const { return m_created; }
70 template <typename CreatedT = Aws::Utils::DateTime>
71 void SetCreated(CreatedT&& value) {
72 m_createdHasBeenSet = true;
73 m_created = std::forward<CreatedT>(value);
74 }
75 template <typename CreatedT = Aws::Utils::DateTime>
77 SetCreated(std::forward<CreatedT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::String& GetId() const { return m_id; }
87 template <typename IdT = Aws::String>
88 void SetId(IdT&& value) {
89 m_idHasBeenSet = true;
90 m_id = std::forward<IdT>(value);
91 }
92 template <typename IdT = Aws::String>
94 SetId(std::forward<IdT>(value));
95 return *this;
96 }
98
100
103 inline const ConfigurationRevision& GetLatestRevision() const { return m_latestRevision; }
104 template <typename LatestRevisionT = ConfigurationRevision>
105 void SetLatestRevision(LatestRevisionT&& value) {
106 m_latestRevisionHasBeenSet = true;
107 m_latestRevision = std::forward<LatestRevisionT>(value);
108 }
109 template <typename LatestRevisionT = ConfigurationRevision>
111 SetLatestRevision(std::forward<LatestRevisionT>(value));
112 return *this;
113 }
115
117
122 inline const Aws::String& GetName() const { return m_name; }
123 template <typename NameT = Aws::String>
124 void SetName(NameT&& value) {
125 m_nameHasBeenSet = true;
126 m_name = std::forward<NameT>(value);
127 }
128 template <typename NameT = Aws::String>
130 SetName(std::forward<NameT>(value));
131 return *this;
132 }
134
136
137 inline const Aws::String& GetRequestId() const { return m_requestId; }
138 template <typename RequestIdT = Aws::String>
139 void SetRequestId(RequestIdT&& value) {
140 m_requestIdHasBeenSet = true;
141 m_requestId = std::forward<RequestIdT>(value);
142 }
143 template <typename RequestIdT = Aws::String>
145 SetRequestId(std::forward<RequestIdT>(value));
146 return *this;
147 }
149 private:
150 Aws::String m_arn;
151
153
154 Aws::Utils::DateTime m_created{};
155
156 Aws::String m_id;
157
158 ConfigurationRevision m_latestRevision;
159
160 Aws::String m_name;
161
162 Aws::String m_requestId;
163 bool m_arnHasBeenSet = false;
164 bool m_authenticationStrategyHasBeenSet = false;
165 bool m_createdHasBeenSet = false;
166 bool m_idHasBeenSet = false;
167 bool m_latestRevisionHasBeenSet = false;
168 bool m_nameHasBeenSet = false;
169 bool m_requestIdHasBeenSet = false;
170};
171
172} // namespace Model
173} // namespace MQ
174} // 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
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