AWS SDK for C++

AWS SDK for C++ Version 1.11.854

Loading...
Searching...
No Matches
GetCloudConnectorResult.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/ssm/SSM_EXPORTS.h>
11#include <aws/ssm/model/CloudConnectorConfiguration.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 SSM {
25namespace Model {
27 public:
28 AWS_SSM_API GetCloudConnectorResult() = default;
31
33
36 inline const Aws::String& GetCloudConnectorArn() const { return m_cloudConnectorArn; }
37 template <typename CloudConnectorArnT = Aws::String>
38 void SetCloudConnectorArn(CloudConnectorArnT&& value) {
39 m_cloudConnectorArnHasBeenSet = true;
40 m_cloudConnectorArn = std::forward<CloudConnectorArnT>(value);
41 }
42 template <typename CloudConnectorArnT = Aws::String>
43 GetCloudConnectorResult& WithCloudConnectorArn(CloudConnectorArnT&& value) {
44 SetCloudConnectorArn(std::forward<CloudConnectorArnT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetDisplayName() const { return m_displayName; }
54 template <typename DisplayNameT = Aws::String>
55 void SetDisplayName(DisplayNameT&& value) {
56 m_displayNameHasBeenSet = true;
57 m_displayName = std::forward<DisplayNameT>(value);
58 }
59 template <typename DisplayNameT = Aws::String>
61 SetDisplayName(std::forward<DisplayNameT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetDescription() const { return m_description; }
71 template <typename DescriptionT = Aws::String>
72 void SetDescription(DescriptionT&& value) {
73 m_descriptionHasBeenSet = true;
74 m_description = std::forward<DescriptionT>(value);
75 }
76 template <typename DescriptionT = Aws::String>
78 SetDescription(std::forward<DescriptionT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
88 template <typename RoleArnT = Aws::String>
89 void SetRoleArn(RoleArnT&& value) {
90 m_roleArnHasBeenSet = true;
91 m_roleArn = std::forward<RoleArnT>(value);
92 }
93 template <typename RoleArnT = Aws::String>
95 SetRoleArn(std::forward<RoleArnT>(value));
96 return *this;
97 }
99
101
105 inline const CloudConnectorConfiguration& GetConfiguration() const { return m_configuration; }
106 template <typename ConfigurationT = CloudConnectorConfiguration>
107 void SetConfiguration(ConfigurationT&& value) {
108 m_configurationHasBeenSet = true;
109 m_configuration = std::forward<ConfigurationT>(value);
110 }
111 template <typename ConfigurationT = CloudConnectorConfiguration>
113 SetConfiguration(std::forward<ConfigurationT>(value));
114 return *this;
115 }
117
119
123 inline const Aws::String& GetConfigConnectorArn() const { return m_configConnectorArn; }
124 template <typename ConfigConnectorArnT = Aws::String>
125 void SetConfigConnectorArn(ConfigConnectorArnT&& value) {
126 m_configConnectorArnHasBeenSet = true;
127 m_configConnectorArn = std::forward<ConfigConnectorArnT>(value);
128 }
129 template <typename ConfigConnectorArnT = Aws::String>
130 GetCloudConnectorResult& WithConfigConnectorArn(ConfigConnectorArnT&& value) {
131 SetConfigConnectorArn(std::forward<ConfigConnectorArnT>(value));
132 return *this;
133 }
135
137
140 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
141 template <typename CreatedAtT = Aws::Utils::DateTime>
142 void SetCreatedAt(CreatedAtT&& value) {
143 m_createdAtHasBeenSet = true;
144 m_createdAt = std::forward<CreatedAtT>(value);
145 }
146 template <typename CreatedAtT = Aws::Utils::DateTime>
148 SetCreatedAt(std::forward<CreatedAtT>(value));
149 return *this;
150 }
152
154
157 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
158 template <typename UpdatedAtT = Aws::Utils::DateTime>
159 void SetUpdatedAt(UpdatedAtT&& value) {
160 m_updatedAtHasBeenSet = true;
161 m_updatedAt = std::forward<UpdatedAtT>(value);
162 }
163 template <typename UpdatedAtT = Aws::Utils::DateTime>
165 SetUpdatedAt(std::forward<UpdatedAtT>(value));
166 return *this;
167 }
169
171
172 inline const Aws::String& GetRequestId() const { return m_requestId; }
173 template <typename RequestIdT = Aws::String>
174 void SetRequestId(RequestIdT&& value) {
175 m_requestIdHasBeenSet = true;
176 m_requestId = std::forward<RequestIdT>(value);
177 }
178 template <typename RequestIdT = Aws::String>
180 SetRequestId(std::forward<RequestIdT>(value));
181 return *this;
182 }
184 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
185
186 private:
187 Aws::String m_cloudConnectorArn;
188
189 Aws::String m_displayName;
190
191 Aws::String m_description;
192
193 Aws::String m_roleArn;
194
195 CloudConnectorConfiguration m_configuration;
196
197 Aws::String m_configConnectorArn;
198
199 Aws::Utils::DateTime m_createdAt{};
200
201 Aws::Utils::DateTime m_updatedAt{};
202
203 Aws::String m_requestId;
204 Aws::Http::HttpResponseCode m_HttpResponseCode;
205 bool m_cloudConnectorArnHasBeenSet = false;
206 bool m_displayNameHasBeenSet = false;
207 bool m_descriptionHasBeenSet = false;
208 bool m_roleArnHasBeenSet = false;
209 bool m_configurationHasBeenSet = false;
210 bool m_configConnectorArnHasBeenSet = false;
211 bool m_createdAtHasBeenSet = false;
212 bool m_updatedAtHasBeenSet = false;
213 bool m_requestIdHasBeenSet = false;
214};
215
216} // namespace Model
217} // namespace SSM
218} // namespace Aws
AWS_SSM_API GetCloudConnectorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCloudConnectorResult & WithRoleArn(RoleArnT &&value)
const CloudConnectorConfiguration & GetConfiguration() const
GetCloudConnectorResult & WithConfiguration(ConfigurationT &&value)
AWS_SSM_API GetCloudConnectorResult()=default
void SetCloudConnectorArn(CloudConnectorArnT &&value)
GetCloudConnectorResult & WithDescription(DescriptionT &&value)
AWS_SSM_API GetCloudConnectorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreatedAt() const
GetCloudConnectorResult & WithCloudConnectorArn(CloudConnectorArnT &&value)
GetCloudConnectorResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetCloudConnectorResult & WithConfigConnectorArn(ConfigConnectorArnT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetCloudConnectorResult & WithCreatedAt(CreatedAtT &&value)
GetCloudConnectorResult & WithDisplayName(DisplayNameT &&value)
GetCloudConnectorResult & WithUpdatedAt(UpdatedAtT &&value)
void SetConfigConnectorArn(ConfigConnectorArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue