AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename CacheBehaviorsT = AwsCloudFrontDistributionCacheBehaviors>
53 void SetCacheBehaviors(CacheBehaviorsT&& value) { m_cacheBehaviorsHasBeenSet = true; m_cacheBehaviors = std::forward<CacheBehaviorsT>(value); }
54 template<typename CacheBehaviorsT = AwsCloudFrontDistributionCacheBehaviors>
55 AwsCloudFrontDistributionDetails& WithCacheBehaviors(CacheBehaviorsT&& value) { SetCacheBehaviors(std::forward<CacheBehaviorsT>(value)); return *this;}
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) { m_defaultCacheBehaviorHasBeenSet = true; m_defaultCacheBehavior = std::forward<DefaultCacheBehaviorT>(value); }
66 template<typename DefaultCacheBehaviorT = AwsCloudFrontDistributionDefaultCacheBehavior>
67 AwsCloudFrontDistributionDetails& WithDefaultCacheBehavior(DefaultCacheBehaviorT&& value) { SetDefaultCacheBehavior(std::forward<DefaultCacheBehaviorT>(value)); return *this;}
69
71
77 inline const Aws::String& GetDefaultRootObject() const { return m_defaultRootObject; }
78 inline bool DefaultRootObjectHasBeenSet() const { return m_defaultRootObjectHasBeenSet; }
79 template<typename DefaultRootObjectT = Aws::String>
80 void SetDefaultRootObject(DefaultRootObjectT&& value) { m_defaultRootObjectHasBeenSet = true; m_defaultRootObject = std::forward<DefaultRootObjectT>(value); }
81 template<typename DefaultRootObjectT = Aws::String>
82 AwsCloudFrontDistributionDetails& WithDefaultRootObject(DefaultRootObjectT&& value) { SetDefaultRootObject(std::forward<DefaultRootObjectT>(value)); return *this;}
84
86
89 inline const Aws::String& GetDomainName() const { return m_domainName; }
90 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
91 template<typename DomainNameT = Aws::String>
92 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
93 template<typename DomainNameT = Aws::String>
94 AwsCloudFrontDistributionDetails& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
96
98
101 inline const Aws::String& GetETag() const { return m_eTag; }
102 inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; }
103 template<typename ETagT = Aws::String>
104 void SetETag(ETagT&& value) { m_eTagHasBeenSet = true; m_eTag = std::forward<ETagT>(value); }
105 template<typename ETagT = Aws::String>
106 AwsCloudFrontDistributionDetails& WithETag(ETagT&& value) { SetETag(std::forward<ETagT>(value)); return *this;}
108
110
116 inline const Aws::String& GetLastModifiedTime() const { return m_lastModifiedTime; }
117 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
118 template<typename LastModifiedTimeT = Aws::String>
119 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
120 template<typename LastModifiedTimeT = Aws::String>
121 AwsCloudFrontDistributionDetails& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
123
125
129 inline const AwsCloudFrontDistributionLogging& GetLogging() const { return m_logging; }
130 inline bool LoggingHasBeenSet() const { return m_loggingHasBeenSet; }
131 template<typename LoggingT = AwsCloudFrontDistributionLogging>
132 void SetLogging(LoggingT&& value) { m_loggingHasBeenSet = true; m_logging = std::forward<LoggingT>(value); }
133 template<typename LoggingT = AwsCloudFrontDistributionLogging>
134 AwsCloudFrontDistributionDetails& WithLogging(LoggingT&& value) { SetLogging(std::forward<LoggingT>(value)); return *this;}
136
138
142 inline const AwsCloudFrontDistributionOrigins& GetOrigins() const { return m_origins; }
143 inline bool OriginsHasBeenSet() const { return m_originsHasBeenSet; }
144 template<typename OriginsT = AwsCloudFrontDistributionOrigins>
145 void SetOrigins(OriginsT&& value) { m_originsHasBeenSet = true; m_origins = std::forward<OriginsT>(value); }
146 template<typename OriginsT = AwsCloudFrontDistributionOrigins>
147 AwsCloudFrontDistributionDetails& WithOrigins(OriginsT&& value) { SetOrigins(std::forward<OriginsT>(value)); return *this;}
149
151
154 inline const AwsCloudFrontDistributionOriginGroups& GetOriginGroups() const { return m_originGroups; }
155 inline bool OriginGroupsHasBeenSet() const { return m_originGroupsHasBeenSet; }
156 template<typename OriginGroupsT = AwsCloudFrontDistributionOriginGroups>
157 void SetOriginGroups(OriginGroupsT&& value) { m_originGroupsHasBeenSet = true; m_originGroups = std::forward<OriginGroupsT>(value); }
158 template<typename OriginGroupsT = AwsCloudFrontDistributionOriginGroups>
159 AwsCloudFrontDistributionDetails& WithOriginGroups(OriginGroupsT&& value) { SetOriginGroups(std::forward<OriginGroupsT>(value)); return *this;}
161
163
167 inline const AwsCloudFrontDistributionViewerCertificate& GetViewerCertificate() const { return m_viewerCertificate; }
168 inline bool ViewerCertificateHasBeenSet() const { return m_viewerCertificateHasBeenSet; }
169 template<typename ViewerCertificateT = AwsCloudFrontDistributionViewerCertificate>
170 void SetViewerCertificate(ViewerCertificateT&& value) { m_viewerCertificateHasBeenSet = true; m_viewerCertificate = std::forward<ViewerCertificateT>(value); }
171 template<typename ViewerCertificateT = AwsCloudFrontDistributionViewerCertificate>
172 AwsCloudFrontDistributionDetails& WithViewerCertificate(ViewerCertificateT&& value) { SetViewerCertificate(std::forward<ViewerCertificateT>(value)); return *this;}
174
176
179 inline const Aws::String& GetStatus() const { return m_status; }
180 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
181 template<typename StatusT = Aws::String>
182 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
183 template<typename StatusT = Aws::String>
184 AwsCloudFrontDistributionDetails& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
186
188
192 inline const Aws::String& GetWebAclId() const { return m_webAclId; }
193 inline bool WebAclIdHasBeenSet() const { return m_webAclIdHasBeenSet; }
194 template<typename WebAclIdT = Aws::String>
195 void SetWebAclId(WebAclIdT&& value) { m_webAclIdHasBeenSet = true; m_webAclId = std::forward<WebAclIdT>(value); }
196 template<typename WebAclIdT = Aws::String>
197 AwsCloudFrontDistributionDetails& WithWebAclId(WebAclIdT&& value) { SetWebAclId(std::forward<WebAclIdT>(value)); return *this;}
199 private:
200
202 bool m_cacheBehaviorsHasBeenSet = false;
203
205 bool m_defaultCacheBehaviorHasBeenSet = false;
206
207 Aws::String m_defaultRootObject;
208 bool m_defaultRootObjectHasBeenSet = false;
209
210 Aws::String m_domainName;
211 bool m_domainNameHasBeenSet = false;
212
213 Aws::String m_eTag;
214 bool m_eTagHasBeenSet = false;
215
216 Aws::String m_lastModifiedTime;
217 bool m_lastModifiedTimeHasBeenSet = false;
218
220 bool m_loggingHasBeenSet = false;
221
223 bool m_originsHasBeenSet = false;
224
226 bool m_originGroupsHasBeenSet = false;
227
229 bool m_viewerCertificateHasBeenSet = false;
230
231 Aws::String m_status;
232 bool m_statusHasBeenSet = false;
233
234 Aws::String m_webAclId;
235 bool m_webAclIdHasBeenSet = false;
236 };
237
238} // namespace Model
239} // namespace SecurityHub
240} // 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