AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
AwsCloudFrontDistributionDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9#include <aws/securityhub/model/AwsCloudFrontDistributionCacheBehaviors.h>
10#include <aws/securityhub/model/AwsCloudFrontDistributionDefaultCacheBehavior.h>
11#include <aws/securityhub/model/AwsCloudFrontDistributionLogging.h>
12#include <aws/securityhub/model/AwsCloudFrontDistributionOriginGroups.h>
13#include <aws/securityhub/model/AwsCloudFrontDistributionOrigins.h>
14#include <aws/securityhub/model/AwsCloudFrontDistributionViewerCertificate.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SecurityHub {
26namespace Model {
27
34 public:
35 AWS_SECURITYHUB_API AwsCloudFrontDistributionDetails() = default;
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const AwsCloudFrontDistributionCacheBehaviors& GetCacheBehaviors() const { return m_cacheBehaviors; }
45 inline bool CacheBehaviorsHasBeenSet() const { return m_cacheBehaviorsHasBeenSet; }
46 template <typename CacheBehaviorsT = AwsCloudFrontDistributionCacheBehaviors>
47 void SetCacheBehaviors(CacheBehaviorsT&& value) {
48 m_cacheBehaviorsHasBeenSet = true;
49 m_cacheBehaviors = std::forward<CacheBehaviorsT>(value);
50 }
51 template <typename CacheBehaviorsT = AwsCloudFrontDistributionCacheBehaviors>
53 SetCacheBehaviors(std::forward<CacheBehaviorsT>(value));
54 return *this;
55 }
57
59
62 inline const AwsCloudFrontDistributionDefaultCacheBehavior& GetDefaultCacheBehavior() const { return m_defaultCacheBehavior; }
63 inline bool DefaultCacheBehaviorHasBeenSet() const { return m_defaultCacheBehaviorHasBeenSet; }
64 template <typename DefaultCacheBehaviorT = AwsCloudFrontDistributionDefaultCacheBehavior>
65 void SetDefaultCacheBehavior(DefaultCacheBehaviorT&& value) {
66 m_defaultCacheBehaviorHasBeenSet = true;
67 m_defaultCacheBehavior = std::forward<DefaultCacheBehaviorT>(value);
68 }
69 template <typename DefaultCacheBehaviorT = AwsCloudFrontDistributionDefaultCacheBehavior>
71 SetDefaultCacheBehavior(std::forward<DefaultCacheBehaviorT>(value));
72 return *this;
73 }
75
77
83 inline const Aws::String& GetDefaultRootObject() const { return m_defaultRootObject; }
84 inline bool DefaultRootObjectHasBeenSet() const { return m_defaultRootObjectHasBeenSet; }
85 template <typename DefaultRootObjectT = Aws::String>
86 void SetDefaultRootObject(DefaultRootObjectT&& value) {
87 m_defaultRootObjectHasBeenSet = true;
88 m_defaultRootObject = std::forward<DefaultRootObjectT>(value);
89 }
90 template <typename DefaultRootObjectT = Aws::String>
92 SetDefaultRootObject(std::forward<DefaultRootObjectT>(value));
93 return *this;
94 }
96
98
101 inline const Aws::String& GetDomainName() const { return m_domainName; }
102 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
103 template <typename DomainNameT = Aws::String>
104 void SetDomainName(DomainNameT&& value) {
105 m_domainNameHasBeenSet = true;
106 m_domainName = std::forward<DomainNameT>(value);
107 }
108 template <typename DomainNameT = Aws::String>
110 SetDomainName(std::forward<DomainNameT>(value));
111 return *this;
112 }
114
116
119 inline const Aws::String& GetETag() const { return m_eTag; }
120 inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; }
121 template <typename ETagT = Aws::String>
122 void SetETag(ETagT&& value) {
123 m_eTagHasBeenSet = true;
124 m_eTag = std::forward<ETagT>(value);
125 }
126 template <typename ETagT = Aws::String>
128 SetETag(std::forward<ETagT>(value));
129 return *this;
130 }
132
134
140 inline const Aws::String& GetLastModifiedTime() const { return m_lastModifiedTime; }
141 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
142 template <typename LastModifiedTimeT = Aws::String>
143 void SetLastModifiedTime(LastModifiedTimeT&& value) {
144 m_lastModifiedTimeHasBeenSet = true;
145 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
146 }
147 template <typename LastModifiedTimeT = Aws::String>
149 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
150 return *this;
151 }
153
155
159 inline const AwsCloudFrontDistributionLogging& GetLogging() const { return m_logging; }
160 inline bool LoggingHasBeenSet() const { return m_loggingHasBeenSet; }
161 template <typename LoggingT = AwsCloudFrontDistributionLogging>
162 void SetLogging(LoggingT&& value) {
163 m_loggingHasBeenSet = true;
164 m_logging = std::forward<LoggingT>(value);
165 }
166 template <typename LoggingT = AwsCloudFrontDistributionLogging>
168 SetLogging(std::forward<LoggingT>(value));
169 return *this;
170 }
172
174
178 inline const AwsCloudFrontDistributionOrigins& GetOrigins() const { return m_origins; }
179 inline bool OriginsHasBeenSet() const { return m_originsHasBeenSet; }
180 template <typename OriginsT = AwsCloudFrontDistributionOrigins>
181 void SetOrigins(OriginsT&& value) {
182 m_originsHasBeenSet = true;
183 m_origins = std::forward<OriginsT>(value);
184 }
185 template <typename OriginsT = AwsCloudFrontDistributionOrigins>
187 SetOrigins(std::forward<OriginsT>(value));
188 return *this;
189 }
191
193
196 inline const AwsCloudFrontDistributionOriginGroups& GetOriginGroups() const { return m_originGroups; }
197 inline bool OriginGroupsHasBeenSet() const { return m_originGroupsHasBeenSet; }
198 template <typename OriginGroupsT = AwsCloudFrontDistributionOriginGroups>
199 void SetOriginGroups(OriginGroupsT&& value) {
200 m_originGroupsHasBeenSet = true;
201 m_originGroups = std::forward<OriginGroupsT>(value);
202 }
203 template <typename OriginGroupsT = AwsCloudFrontDistributionOriginGroups>
205 SetOriginGroups(std::forward<OriginGroupsT>(value));
206 return *this;
207 }
209
211
215 inline const AwsCloudFrontDistributionViewerCertificate& GetViewerCertificate() const { return m_viewerCertificate; }
216 inline bool ViewerCertificateHasBeenSet() const { return m_viewerCertificateHasBeenSet; }
217 template <typename ViewerCertificateT = AwsCloudFrontDistributionViewerCertificate>
218 void SetViewerCertificate(ViewerCertificateT&& value) {
219 m_viewerCertificateHasBeenSet = true;
220 m_viewerCertificate = std::forward<ViewerCertificateT>(value);
221 }
222 template <typename ViewerCertificateT = AwsCloudFrontDistributionViewerCertificate>
224 SetViewerCertificate(std::forward<ViewerCertificateT>(value));
225 return *this;
226 }
228
230
233 inline const Aws::String& GetStatus() const { return m_status; }
234 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
235 template <typename StatusT = Aws::String>
236 void SetStatus(StatusT&& value) {
237 m_statusHasBeenSet = true;
238 m_status = std::forward<StatusT>(value);
239 }
240 template <typename StatusT = Aws::String>
242 SetStatus(std::forward<StatusT>(value));
243 return *this;
244 }
246
248
252 inline const Aws::String& GetWebAclId() const { return m_webAclId; }
253 inline bool WebAclIdHasBeenSet() const { return m_webAclIdHasBeenSet; }
254 template <typename WebAclIdT = Aws::String>
255 void SetWebAclId(WebAclIdT&& value) {
256 m_webAclIdHasBeenSet = true;
257 m_webAclId = std::forward<WebAclIdT>(value);
258 }
259 template <typename WebAclIdT = Aws::String>
261 SetWebAclId(std::forward<WebAclIdT>(value));
262 return *this;
263 }
265 private:
267
269
270 Aws::String m_defaultRootObject;
271
272 Aws::String m_domainName;
273
274 Aws::String m_eTag;
275
276 Aws::String m_lastModifiedTime;
277
279
281
283
285
286 Aws::String m_status;
287
288 Aws::String m_webAclId;
289 bool m_cacheBehaviorsHasBeenSet = false;
290 bool m_defaultCacheBehaviorHasBeenSet = false;
291 bool m_defaultRootObjectHasBeenSet = false;
292 bool m_domainNameHasBeenSet = false;
293 bool m_eTagHasBeenSet = false;
294 bool m_lastModifiedTimeHasBeenSet = false;
295 bool m_loggingHasBeenSet = false;
296 bool m_originsHasBeenSet = false;
297 bool m_originGroupsHasBeenSet = false;
298 bool m_viewerCertificateHasBeenSet = false;
299 bool m_statusHasBeenSet = false;
300 bool m_webAclIdHasBeenSet = false;
301};
302
303} // namespace Model
304} // namespace SecurityHub
305} // namespace Aws
const AwsCloudFrontDistributionViewerCertificate & GetViewerCertificate() const
AwsCloudFrontDistributionDetails & WithOriginGroups(OriginGroupsT &&value)
AwsCloudFrontDistributionDetails & WithWebAclId(WebAclIdT &&value)
AwsCloudFrontDistributionDetails & WithCacheBehaviors(CacheBehaviorsT &&value)
AWS_SECURITYHUB_API AwsCloudFrontDistributionDetails(Aws::Utils::Json::JsonView jsonValue)
AwsCloudFrontDistributionDetails & WithLogging(LoggingT &&value)
AwsCloudFrontDistributionDetails & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsCloudFrontDistributionDetails & WithDefaultCacheBehavior(DefaultCacheBehaviorT &&value)
AwsCloudFrontDistributionDetails & WithDomainName(DomainNameT &&value)
AWS_SECURITYHUB_API AwsCloudFrontDistributionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsCloudFrontDistributionDetails & WithViewerCertificate(ViewerCertificateT &&value)
const AwsCloudFrontDistributionCacheBehaviors & GetCacheBehaviors() const
const AwsCloudFrontDistributionOriginGroups & GetOriginGroups() const
AwsCloudFrontDistributionDetails & WithOrigins(OriginsT &&value)
const AwsCloudFrontDistributionDefaultCacheBehavior & GetDefaultCacheBehavior() const
AWS_SECURITYHUB_API AwsCloudFrontDistributionDetails()=default
AwsCloudFrontDistributionDetails & WithDefaultRootObject(DefaultRootObjectT &&value)
AwsCloudFrontDistributionDetails & WithStatus(StatusT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue