AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
PrivateCaCrlConfiguration.h
1
6#pragma once
7#include <aws/acm/ACM_EXPORTS.h>
8#include <aws/acm/model/PrivateCaCrlDistributionPointExtensionConfiguration.h>
9#include <aws/acm/model/PrivateCaCrlType.h>
10#include <aws/acm/model/PrivateCaS3ObjectAcl.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ACM {
23namespace Model {
24
36 public:
37 AWS_ACM_API PrivateCaCrlConfiguration() = default;
41
43
46 inline bool GetEnabled() const { return m_enabled; }
47 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
48 inline void SetEnabled(bool value) {
49 m_enabledHasBeenSet = true;
50 m_enabled = value;
51 }
53 SetEnabled(value);
54 return *this;
55 }
57
59
62 inline int GetExpirationInDays() const { return m_expirationInDays; }
63 inline bool ExpirationInDaysHasBeenSet() const { return m_expirationInDaysHasBeenSet; }
64 inline void SetExpirationInDays(int value) {
65 m_expirationInDaysHasBeenSet = true;
66 m_expirationInDays = value;
67 }
70 return *this;
71 }
73
75
79 inline const Aws::String& GetCustomCname() const { return m_customCname; }
80 inline bool CustomCnameHasBeenSet() const { return m_customCnameHasBeenSet; }
81 template <typename CustomCnameT = Aws::String>
82 void SetCustomCname(CustomCnameT&& value) {
83 m_customCnameHasBeenSet = true;
84 m_customCname = std::forward<CustomCnameT>(value);
85 }
86 template <typename CustomCnameT = Aws::String>
88 SetCustomCname(std::forward<CustomCnameT>(value));
89 return *this;
90 }
92
94
97 inline PrivateCaS3ObjectAcl GetS3ObjectAcl() const { return m_s3ObjectAcl; }
98 inline bool S3ObjectAclHasBeenSet() const { return m_s3ObjectAclHasBeenSet; }
100 m_s3ObjectAclHasBeenSet = true;
101 m_s3ObjectAcl = value;
102 }
104 SetS3ObjectAcl(value);
105 return *this;
106 }
108
110
115 return m_crlDistributionPointExtensionConfiguration;
116 }
118 return m_crlDistributionPointExtensionConfigurationHasBeenSet;
119 }
120 template <typename CrlDistributionPointExtensionConfigurationT = PrivateCaCrlDistributionPointExtensionConfiguration>
121 void SetCrlDistributionPointExtensionConfiguration(CrlDistributionPointExtensionConfigurationT&& value) {
122 m_crlDistributionPointExtensionConfigurationHasBeenSet = true;
123 m_crlDistributionPointExtensionConfiguration = std::forward<CrlDistributionPointExtensionConfigurationT>(value);
124 }
125 template <typename CrlDistributionPointExtensionConfigurationT = PrivateCaCrlDistributionPointExtensionConfiguration>
126 PrivateCaCrlConfiguration& WithCrlDistributionPointExtensionConfiguration(CrlDistributionPointExtensionConfigurationT&& value) {
127 SetCrlDistributionPointExtensionConfiguration(std::forward<CrlDistributionPointExtensionConfigurationT>(value));
128 return *this;
129 }
131
133
137 inline PrivateCaCrlType GetCrlType() const { return m_crlType; }
138 inline bool CrlTypeHasBeenSet() const { return m_crlTypeHasBeenSet; }
139 inline void SetCrlType(PrivateCaCrlType value) {
140 m_crlTypeHasBeenSet = true;
141 m_crlType = value;
142 }
144 SetCrlType(value);
145 return *this;
146 }
148
150
153 inline const Aws::String& GetCustomPath() const { return m_customPath; }
154 inline bool CustomPathHasBeenSet() const { return m_customPathHasBeenSet; }
155 template <typename CustomPathT = Aws::String>
156 void SetCustomPath(CustomPathT&& value) {
157 m_customPathHasBeenSet = true;
158 m_customPath = std::forward<CustomPathT>(value);
159 }
160 template <typename CustomPathT = Aws::String>
162 SetCustomPath(std::forward<CustomPathT>(value));
163 return *this;
164 }
166 private:
167 bool m_enabled{false};
168
169 int m_expirationInDays{0};
170
171 Aws::String m_customCname;
172
174
175 PrivateCaCrlDistributionPointExtensionConfiguration m_crlDistributionPointExtensionConfiguration;
176
178
179 Aws::String m_customPath;
180 bool m_enabledHasBeenSet = false;
181 bool m_expirationInDaysHasBeenSet = false;
182 bool m_customCnameHasBeenSet = false;
183 bool m_s3ObjectAclHasBeenSet = false;
184 bool m_crlDistributionPointExtensionConfigurationHasBeenSet = false;
185 bool m_crlTypeHasBeenSet = false;
186 bool m_customPathHasBeenSet = false;
187};
188
189} // namespace Model
190} // namespace ACM
191} // namespace Aws
AWS_ACM_API PrivateCaCrlConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ACM_API PrivateCaCrlConfiguration(Aws::Utils::Json::JsonView jsonValue)
PrivateCaCrlConfiguration & WithExpirationInDays(int value)
AWS_ACM_API Aws::Utils::Json::JsonValue Jsonize() const
PrivateCaCrlConfiguration & WithCrlType(PrivateCaCrlType value)
const PrivateCaCrlDistributionPointExtensionConfiguration & GetCrlDistributionPointExtensionConfiguration() const
AWS_ACM_API PrivateCaCrlConfiguration()=default
void SetCrlDistributionPointExtensionConfiguration(CrlDistributionPointExtensionConfigurationT &&value)
PrivateCaCrlConfiguration & WithCrlDistributionPointExtensionConfiguration(CrlDistributionPointExtensionConfigurationT &&value)
PrivateCaCrlConfiguration & WithS3ObjectAcl(PrivateCaS3ObjectAcl value)
PrivateCaCrlConfiguration & WithEnabled(bool value)
PrivateCaCrlConfiguration & WithCustomCname(CustomCnameT &&value)
PrivateCaCrlConfiguration & WithCustomPath(CustomPathT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue