AWS SDK for C++

AWS SDK for C++ Version 1.11.764

Loading...
Searching...
No Matches
DescribedWebApp.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/awstransfer/model/DescribedWebAppEndpointDetails.h>
9#include <aws/awstransfer/model/DescribedWebAppIdentityProviderDetails.h>
10#include <aws/awstransfer/model/Tag.h>
11#include <aws/awstransfer/model/WebAppEndpointPolicy.h>
12#include <aws/awstransfer/model/WebAppEndpointType.h>
13#include <aws/awstransfer/model/WebAppUnits.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Json {
22class JsonValue;
23class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Transfer {
27namespace Model {
28
36 public:
37 AWS_TRANSFER_API DescribedWebApp() = default;
38 AWS_TRANSFER_API DescribedWebApp(Aws::Utils::Json::JsonView jsonValue);
40 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
46 inline const Aws::String& GetArn() const { return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 template <typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) {
50 m_arnHasBeenSet = true;
51 m_arn = std::forward<ArnT>(value);
52 }
53 template <typename ArnT = Aws::String>
54 DescribedWebApp& WithArn(ArnT&& value) {
55 SetArn(std::forward<ArnT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::String& GetWebAppId() const { return m_webAppId; }
65 inline bool WebAppIdHasBeenSet() const { return m_webAppIdHasBeenSet; }
66 template <typename WebAppIdT = Aws::String>
67 void SetWebAppId(WebAppIdT&& value) {
68 m_webAppIdHasBeenSet = true;
69 m_webAppId = std::forward<WebAppIdT>(value);
70 }
71 template <typename WebAppIdT = Aws::String>
72 DescribedWebApp& WithWebAppId(WebAppIdT&& value) {
73 SetWebAppId(std::forward<WebAppIdT>(value));
74 return *this;
75 }
77
79
84 return m_describedIdentityProviderDetails;
85 }
86 inline bool DescribedIdentityProviderDetailsHasBeenSet() const { return m_describedIdentityProviderDetailsHasBeenSet; }
87 template <typename DescribedIdentityProviderDetailsT = DescribedWebAppIdentityProviderDetails>
88 void SetDescribedIdentityProviderDetails(DescribedIdentityProviderDetailsT&& value) {
89 m_describedIdentityProviderDetailsHasBeenSet = true;
90 m_describedIdentityProviderDetails = std::forward<DescribedIdentityProviderDetailsT>(value);
91 }
92 template <typename DescribedIdentityProviderDetailsT = DescribedWebAppIdentityProviderDetails>
93 DescribedWebApp& WithDescribedIdentityProviderDetails(DescribedIdentityProviderDetailsT&& value) {
94 SetDescribedIdentityProviderDetails(std::forward<DescribedIdentityProviderDetailsT>(value));
95 return *this;
96 }
98
100
105 inline const Aws::String& GetAccessEndpoint() const { return m_accessEndpoint; }
106 inline bool AccessEndpointHasBeenSet() const { return m_accessEndpointHasBeenSet; }
107 template <typename AccessEndpointT = Aws::String>
108 void SetAccessEndpoint(AccessEndpointT&& value) {
109 m_accessEndpointHasBeenSet = true;
110 m_accessEndpoint = std::forward<AccessEndpointT>(value);
111 }
112 template <typename AccessEndpointT = Aws::String>
113 DescribedWebApp& WithAccessEndpoint(AccessEndpointT&& value) {
114 SetAccessEndpoint(std::forward<AccessEndpointT>(value));
115 return *this;
116 }
118
120
125 inline const Aws::String& GetWebAppEndpoint() const { return m_webAppEndpoint; }
126 inline bool WebAppEndpointHasBeenSet() const { return m_webAppEndpointHasBeenSet; }
127 template <typename WebAppEndpointT = Aws::String>
128 void SetWebAppEndpoint(WebAppEndpointT&& value) {
129 m_webAppEndpointHasBeenSet = true;
130 m_webAppEndpoint = std::forward<WebAppEndpointT>(value);
131 }
132 template <typename WebAppEndpointT = Aws::String>
133 DescribedWebApp& WithWebAppEndpoint(WebAppEndpointT&& value) {
134 SetWebAppEndpoint(std::forward<WebAppEndpointT>(value));
135 return *this;
136 }
138
140
144 inline const WebAppUnits& GetWebAppUnits() const { return m_webAppUnits; }
145 inline bool WebAppUnitsHasBeenSet() const { return m_webAppUnitsHasBeenSet; }
146 template <typename WebAppUnitsT = WebAppUnits>
147 void SetWebAppUnits(WebAppUnitsT&& value) {
148 m_webAppUnitsHasBeenSet = true;
149 m_webAppUnits = std::forward<WebAppUnitsT>(value);
150 }
151 template <typename WebAppUnitsT = WebAppUnits>
152 DescribedWebApp& WithWebAppUnits(WebAppUnitsT&& value) {
153 SetWebAppUnits(std::forward<WebAppUnitsT>(value));
154 return *this;
155 }
157
159
163 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
164 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
165 template <typename TagsT = Aws::Vector<Tag>>
166 void SetTags(TagsT&& value) {
167 m_tagsHasBeenSet = true;
168 m_tags = std::forward<TagsT>(value);
169 }
170 template <typename TagsT = Aws::Vector<Tag>>
171 DescribedWebApp& WithTags(TagsT&& value) {
172 SetTags(std::forward<TagsT>(value));
173 return *this;
174 }
175 template <typename TagsT = Tag>
176 DescribedWebApp& AddTags(TagsT&& value) {
177 m_tagsHasBeenSet = true;
178 m_tags.emplace_back(std::forward<TagsT>(value));
179 return *this;
180 }
182
184
190 inline WebAppEndpointPolicy GetWebAppEndpointPolicy() const { return m_webAppEndpointPolicy; }
191 inline bool WebAppEndpointPolicyHasBeenSet() const { return m_webAppEndpointPolicyHasBeenSet; }
193 m_webAppEndpointPolicyHasBeenSet = true;
194 m_webAppEndpointPolicy = value;
195 }
198 return *this;
199 }
201
203
208 inline WebAppEndpointType GetEndpointType() const { return m_endpointType; }
209 inline bool EndpointTypeHasBeenSet() const { return m_endpointTypeHasBeenSet; }
211 m_endpointTypeHasBeenSet = true;
212 m_endpointType = value;
213 }
215 SetEndpointType(value);
216 return *this;
217 }
219
221
225 inline const DescribedWebAppEndpointDetails& GetDescribedEndpointDetails() const { return m_describedEndpointDetails; }
226 inline bool DescribedEndpointDetailsHasBeenSet() const { return m_describedEndpointDetailsHasBeenSet; }
227 template <typename DescribedEndpointDetailsT = DescribedWebAppEndpointDetails>
228 void SetDescribedEndpointDetails(DescribedEndpointDetailsT&& value) {
229 m_describedEndpointDetailsHasBeenSet = true;
230 m_describedEndpointDetails = std::forward<DescribedEndpointDetailsT>(value);
231 }
232 template <typename DescribedEndpointDetailsT = DescribedWebAppEndpointDetails>
233 DescribedWebApp& WithDescribedEndpointDetails(DescribedEndpointDetailsT&& value) {
234 SetDescribedEndpointDetails(std::forward<DescribedEndpointDetailsT>(value));
235 return *this;
236 }
238 private:
239 Aws::String m_arn;
240
241 Aws::String m_webAppId;
242
243 DescribedWebAppIdentityProviderDetails m_describedIdentityProviderDetails;
244
245 Aws::String m_accessEndpoint;
246
247 Aws::String m_webAppEndpoint;
248
249 WebAppUnits m_webAppUnits;
250
251 Aws::Vector<Tag> m_tags;
252
254
256
257 DescribedWebAppEndpointDetails m_describedEndpointDetails;
258 bool m_arnHasBeenSet = false;
259 bool m_webAppIdHasBeenSet = false;
260 bool m_describedIdentityProviderDetailsHasBeenSet = false;
261 bool m_accessEndpointHasBeenSet = false;
262 bool m_webAppEndpointHasBeenSet = false;
263 bool m_webAppUnitsHasBeenSet = false;
264 bool m_tagsHasBeenSet = false;
265 bool m_webAppEndpointPolicyHasBeenSet = false;
266 bool m_endpointTypeHasBeenSet = false;
267 bool m_describedEndpointDetailsHasBeenSet = false;
268};
269
270} // namespace Model
271} // namespace Transfer
272} // namespace Aws
const Aws::String & GetArn() const
DescribedWebApp & WithWebAppId(WebAppIdT &&value)
const DescribedWebAppIdentityProviderDetails & GetDescribedIdentityProviderDetails() const
const Aws::String & GetWebAppEndpoint() const
const DescribedWebAppEndpointDetails & GetDescribedEndpointDetails() const
DescribedWebApp & AddTags(TagsT &&value)
AWS_TRANSFER_API DescribedWebApp(Aws::Utils::Json::JsonView jsonValue)
DescribedWebApp & WithDescribedIdentityProviderDetails(DescribedIdentityProviderDetailsT &&value)
DescribedWebApp & WithTags(TagsT &&value)
const WebAppUnits & GetWebAppUnits() const
void SetWebAppEndpointPolicy(WebAppEndpointPolicy value)
void SetWebAppEndpoint(WebAppEndpointT &&value)
void SetDescribedEndpointDetails(DescribedEndpointDetailsT &&value)
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
DescribedWebApp & WithArn(ArnT &&value)
DescribedWebApp & WithDescribedEndpointDetails(DescribedEndpointDetailsT &&value)
void SetWebAppUnits(WebAppUnitsT &&value)
void SetDescribedIdentityProviderDetails(DescribedIdentityProviderDetailsT &&value)
DescribedWebApp & WithWebAppEndpoint(WebAppEndpointT &&value)
const Aws::Vector< Tag > & GetTags() const
WebAppEndpointPolicy GetWebAppEndpointPolicy() const
DescribedWebApp & WithAccessEndpoint(AccessEndpointT &&value)
WebAppEndpointType GetEndpointType() const
const Aws::String & GetWebAppId() const
AWS_TRANSFER_API DescribedWebApp & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEndpointType(WebAppEndpointType value)
AWS_TRANSFER_API DescribedWebApp()=default
DescribedWebApp & WithEndpointType(WebAppEndpointType value)
void SetAccessEndpoint(AccessEndpointT &&value)
DescribedWebApp & WithWebAppEndpointPolicy(WebAppEndpointPolicy value)
DescribedWebApp & WithWebAppUnits(WebAppUnitsT &&value)
const Aws::String & GetAccessEndpoint() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue