AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsCloudFrontDistributionDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/AwsCloudFrontDistributionCacheBehaviors.h>
9#include <aws/securityhub/model/AwsCloudFrontDistributionDefaultCacheBehavior.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/securityhub/model/AwsCloudFrontDistributionLogging.h>
12#include <aws/securityhub/model/AwsCloudFrontDistributionOrigins.h>
13#include <aws/securityhub/model/AwsCloudFrontDistributionOriginGroups.h>
14#include <aws/securityhub/model/AwsCloudFrontDistributionViewerCertificate.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace SecurityHub
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_SECURITYHUB_API AwsCloudFrontDistributionDetails();
43 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const AwsCloudFrontDistributionCacheBehaviors& GetCacheBehaviors() const{ return m_cacheBehaviors; }
51 inline bool CacheBehaviorsHasBeenSet() const { return m_cacheBehaviorsHasBeenSet; }
52 inline void SetCacheBehaviors(const AwsCloudFrontDistributionCacheBehaviors& value) { m_cacheBehaviorsHasBeenSet = true; m_cacheBehaviors = value; }
53 inline void SetCacheBehaviors(AwsCloudFrontDistributionCacheBehaviors&& value) { m_cacheBehaviorsHasBeenSet = true; m_cacheBehaviors = std::move(value); }
57
59
62 inline const AwsCloudFrontDistributionDefaultCacheBehavior& GetDefaultCacheBehavior() const{ return m_defaultCacheBehavior; }
63 inline bool DefaultCacheBehaviorHasBeenSet() const { return m_defaultCacheBehaviorHasBeenSet; }
64 inline void SetDefaultCacheBehavior(const AwsCloudFrontDistributionDefaultCacheBehavior& value) { m_defaultCacheBehaviorHasBeenSet = true; m_defaultCacheBehavior = value; }
65 inline void SetDefaultCacheBehavior(AwsCloudFrontDistributionDefaultCacheBehavior&& value) { m_defaultCacheBehaviorHasBeenSet = true; m_defaultCacheBehavior = std::move(value); }
69
71
77 inline const Aws::String& GetDefaultRootObject() const{ return m_defaultRootObject; }
78 inline bool DefaultRootObjectHasBeenSet() const { return m_defaultRootObjectHasBeenSet; }
79 inline void SetDefaultRootObject(const Aws::String& value) { m_defaultRootObjectHasBeenSet = true; m_defaultRootObject = value; }
80 inline void SetDefaultRootObject(Aws::String&& value) { m_defaultRootObjectHasBeenSet = true; m_defaultRootObject = std::move(value); }
81 inline void SetDefaultRootObject(const char* value) { m_defaultRootObjectHasBeenSet = true; m_defaultRootObject.assign(value); }
84 inline AwsCloudFrontDistributionDetails& WithDefaultRootObject(const char* value) { SetDefaultRootObject(value); return *this;}
86
88
91 inline const Aws::String& GetDomainName() const{ return m_domainName; }
92 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
93 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
94 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
95 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
96 inline AwsCloudFrontDistributionDetails& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
97 inline AwsCloudFrontDistributionDetails& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
98 inline AwsCloudFrontDistributionDetails& WithDomainName(const char* value) { SetDomainName(value); return *this;}
100
102
105 inline const Aws::String& GetETag() const{ return m_eTag; }
106 inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; }
107 inline void SetETag(const Aws::String& value) { m_eTagHasBeenSet = true; m_eTag = value; }
108 inline void SetETag(Aws::String&& value) { m_eTagHasBeenSet = true; m_eTag = std::move(value); }
109 inline void SetETag(const char* value) { m_eTagHasBeenSet = true; m_eTag.assign(value); }
110 inline AwsCloudFrontDistributionDetails& WithETag(const Aws::String& value) { SetETag(value); return *this;}
111 inline AwsCloudFrontDistributionDetails& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
112 inline AwsCloudFrontDistributionDetails& WithETag(const char* value) { SetETag(value); return *this;}
114
116
133 inline const Aws::String& GetLastModifiedTime() const{ return m_lastModifiedTime; }
134 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
135 inline void SetLastModifiedTime(const Aws::String& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
136 inline void SetLastModifiedTime(Aws::String&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
137 inline void SetLastModifiedTime(const char* value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime.assign(value); }
140 inline AwsCloudFrontDistributionDetails& WithLastModifiedTime(const char* value) { SetLastModifiedTime(value); return *this;}
142
144
148 inline const AwsCloudFrontDistributionLogging& GetLogging() const{ return m_logging; }
149 inline bool LoggingHasBeenSet() const { return m_loggingHasBeenSet; }
150 inline void SetLogging(const AwsCloudFrontDistributionLogging& value) { m_loggingHasBeenSet = true; m_logging = value; }
151 inline void SetLogging(AwsCloudFrontDistributionLogging&& value) { m_loggingHasBeenSet = true; m_logging = std::move(value); }
155
157
161 inline const AwsCloudFrontDistributionOrigins& GetOrigins() const{ return m_origins; }
162 inline bool OriginsHasBeenSet() const { return m_originsHasBeenSet; }
163 inline void SetOrigins(const AwsCloudFrontDistributionOrigins& value) { m_originsHasBeenSet = true; m_origins = value; }
164 inline void SetOrigins(AwsCloudFrontDistributionOrigins&& value) { m_originsHasBeenSet = true; m_origins = std::move(value); }
168
170
173 inline const AwsCloudFrontDistributionOriginGroups& GetOriginGroups() const{ return m_originGroups; }
174 inline bool OriginGroupsHasBeenSet() const { return m_originGroupsHasBeenSet; }
175 inline void SetOriginGroups(const AwsCloudFrontDistributionOriginGroups& value) { m_originGroupsHasBeenSet = true; m_originGroups = value; }
176 inline void SetOriginGroups(AwsCloudFrontDistributionOriginGroups&& value) { m_originGroupsHasBeenSet = true; m_originGroups = std::move(value); }
180
182
186 inline const AwsCloudFrontDistributionViewerCertificate& GetViewerCertificate() const{ return m_viewerCertificate; }
187 inline bool ViewerCertificateHasBeenSet() const { return m_viewerCertificateHasBeenSet; }
188 inline void SetViewerCertificate(const AwsCloudFrontDistributionViewerCertificate& value) { m_viewerCertificateHasBeenSet = true; m_viewerCertificate = value; }
189 inline void SetViewerCertificate(AwsCloudFrontDistributionViewerCertificate&& value) { m_viewerCertificateHasBeenSet = true; m_viewerCertificate = std::move(value); }
193
195
198 inline const Aws::String& GetStatus() const{ return m_status; }
199 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
200 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
201 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
202 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
203 inline AwsCloudFrontDistributionDetails& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
204 inline AwsCloudFrontDistributionDetails& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
205 inline AwsCloudFrontDistributionDetails& WithStatus(const char* value) { SetStatus(value); return *this;}
207
209
213 inline const Aws::String& GetWebAclId() const{ return m_webAclId; }
214 inline bool WebAclIdHasBeenSet() const { return m_webAclIdHasBeenSet; }
215 inline void SetWebAclId(const Aws::String& value) { m_webAclIdHasBeenSet = true; m_webAclId = value; }
216 inline void SetWebAclId(Aws::String&& value) { m_webAclIdHasBeenSet = true; m_webAclId = std::move(value); }
217 inline void SetWebAclId(const char* value) { m_webAclIdHasBeenSet = true; m_webAclId.assign(value); }
218 inline AwsCloudFrontDistributionDetails& WithWebAclId(const Aws::String& value) { SetWebAclId(value); return *this;}
219 inline AwsCloudFrontDistributionDetails& WithWebAclId(Aws::String&& value) { SetWebAclId(std::move(value)); return *this;}
220 inline AwsCloudFrontDistributionDetails& WithWebAclId(const char* value) { SetWebAclId(value); return *this;}
222 private:
223
225 bool m_cacheBehaviorsHasBeenSet = false;
226
228 bool m_defaultCacheBehaviorHasBeenSet = false;
229
230 Aws::String m_defaultRootObject;
231 bool m_defaultRootObjectHasBeenSet = false;
232
233 Aws::String m_domainName;
234 bool m_domainNameHasBeenSet = false;
235
236 Aws::String m_eTag;
237 bool m_eTagHasBeenSet = false;
238
239 Aws::String m_lastModifiedTime;
240 bool m_lastModifiedTimeHasBeenSet = false;
241
243 bool m_loggingHasBeenSet = false;
244
246 bool m_originsHasBeenSet = false;
247
249 bool m_originGroupsHasBeenSet = false;
250
252 bool m_viewerCertificateHasBeenSet = false;
253
254 Aws::String m_status;
255 bool m_statusHasBeenSet = false;
256
257 Aws::String m_webAclId;
258 bool m_webAclIdHasBeenSet = false;
259 };
260
261} // namespace Model
262} // namespace SecurityHub
263} // namespace Aws
AwsCloudFrontDistributionDetails & WithETag(const char *value)
void SetOriginGroups(AwsCloudFrontDistributionOriginGroups &&value)
void SetViewerCertificate(const AwsCloudFrontDistributionViewerCertificate &value)
void SetViewerCertificate(AwsCloudFrontDistributionViewerCertificate &&value)
const AwsCloudFrontDistributionViewerCertificate & GetViewerCertificate() const
void SetOrigins(const AwsCloudFrontDistributionOrigins &value)
AwsCloudFrontDistributionDetails & WithWebAclId(const Aws::String &value)
AwsCloudFrontDistributionDetails & WithViewerCertificate(AwsCloudFrontDistributionViewerCertificate &&value)
AwsCloudFrontDistributionDetails & WithDomainName(const char *value)
AwsCloudFrontDistributionDetails & WithOriginGroups(const AwsCloudFrontDistributionOriginGroups &value)
void SetDefaultCacheBehavior(AwsCloudFrontDistributionDefaultCacheBehavior &&value)
void SetDefaultCacheBehavior(const AwsCloudFrontDistributionDefaultCacheBehavior &value)
AWS_SECURITYHUB_API AwsCloudFrontDistributionDetails(Aws::Utils::Json::JsonView jsonValue)
AwsCloudFrontDistributionDetails & WithDomainName(const Aws::String &value)
AwsCloudFrontDistributionDetails & WithWebAclId(Aws::String &&value)
AwsCloudFrontDistributionDetails & WithCacheBehaviors(const AwsCloudFrontDistributionCacheBehaviors &value)
AwsCloudFrontDistributionDetails & WithETag(Aws::String &&value)
AwsCloudFrontDistributionDetails & WithViewerCertificate(const AwsCloudFrontDistributionViewerCertificate &value)
AwsCloudFrontDistributionDetails & WithOriginGroups(AwsCloudFrontDistributionOriginGroups &&value)
void SetCacheBehaviors(AwsCloudFrontDistributionCacheBehaviors &&value)
AwsCloudFrontDistributionDetails & WithDefaultCacheBehavior(AwsCloudFrontDistributionDefaultCacheBehavior &&value)
void SetCacheBehaviors(const AwsCloudFrontDistributionCacheBehaviors &value)
AwsCloudFrontDistributionDetails & WithOrigins(const AwsCloudFrontDistributionOrigins &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsCloudFrontDistributionDetails & WithStatus(const Aws::String &value)
void SetOriginGroups(const AwsCloudFrontDistributionOriginGroups &value)
AwsCloudFrontDistributionDetails & WithCacheBehaviors(AwsCloudFrontDistributionCacheBehaviors &&value)
AwsCloudFrontDistributionDetails & WithLastModifiedTime(const char *value)
AWS_SECURITYHUB_API AwsCloudFrontDistributionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsCloudFrontDistributionDetails & WithDefaultCacheBehavior(const AwsCloudFrontDistributionDefaultCacheBehavior &value)
AwsCloudFrontDistributionDetails & WithLogging(const AwsCloudFrontDistributionLogging &value)
AwsCloudFrontDistributionDetails & WithLastModifiedTime(const Aws::String &value)
AwsCloudFrontDistributionDetails & WithStatus(Aws::String &&value)
AwsCloudFrontDistributionDetails & WithLastModifiedTime(Aws::String &&value)
AwsCloudFrontDistributionDetails & WithLogging(AwsCloudFrontDistributionLogging &&value)
AwsCloudFrontDistributionDetails & WithDefaultRootObject(const char *value)
const AwsCloudFrontDistributionCacheBehaviors & GetCacheBehaviors() const
const AwsCloudFrontDistributionOriginGroups & GetOriginGroups() const
AwsCloudFrontDistributionDetails & WithDomainName(Aws::String &&value)
AwsCloudFrontDistributionDetails & WithStatus(const char *value)
AwsCloudFrontDistributionDetails & WithOrigins(AwsCloudFrontDistributionOrigins &&value)
AwsCloudFrontDistributionDetails & WithDefaultRootObject(Aws::String &&value)
AwsCloudFrontDistributionDetails & WithWebAclId(const char *value)
const AwsCloudFrontDistributionDefaultCacheBehavior & GetDefaultCacheBehavior() const
void SetLogging(const AwsCloudFrontDistributionLogging &value)
AwsCloudFrontDistributionDetails & WithETag(const Aws::String &value)
AwsCloudFrontDistributionDetails & WithDefaultRootObject(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue