AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
TrustStoreConfig.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Xml {
15class XmlNode;
16} // namespace Xml
17} // namespace Utils
18namespace CloudFront {
19namespace Model {
20
27 public:
28 AWS_CLOUDFRONT_API TrustStoreConfig() = default;
29 AWS_CLOUDFRONT_API TrustStoreConfig(const Aws::Utils::Xml::XmlNode& xmlNode);
30 AWS_CLOUDFRONT_API TrustStoreConfig& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
31
32 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
33
35
38 inline const Aws::String& GetTrustStoreId() const { return m_trustStoreId; }
39 inline bool TrustStoreIdHasBeenSet() const { return m_trustStoreIdHasBeenSet; }
40 template <typename TrustStoreIdT = Aws::String>
41 void SetTrustStoreId(TrustStoreIdT&& value) {
42 m_trustStoreIdHasBeenSet = true;
43 m_trustStoreId = std::forward<TrustStoreIdT>(value);
44 }
45 template <typename TrustStoreIdT = Aws::String>
46 TrustStoreConfig& WithTrustStoreId(TrustStoreIdT&& value) {
47 SetTrustStoreId(std::forward<TrustStoreIdT>(value));
48 return *this;
49 }
51
53
56 inline bool GetAdvertiseTrustStoreCaNames() const { return m_advertiseTrustStoreCaNames; }
57 inline bool AdvertiseTrustStoreCaNamesHasBeenSet() const { return m_advertiseTrustStoreCaNamesHasBeenSet; }
58 inline void SetAdvertiseTrustStoreCaNames(bool value) {
59 m_advertiseTrustStoreCaNamesHasBeenSet = true;
60 m_advertiseTrustStoreCaNames = value;
61 }
64 return *this;
65 }
67
69
72 inline bool GetIgnoreCertificateExpiry() const { return m_ignoreCertificateExpiry; }
73 inline bool IgnoreCertificateExpiryHasBeenSet() const { return m_ignoreCertificateExpiryHasBeenSet; }
74 inline void SetIgnoreCertificateExpiry(bool value) {
75 m_ignoreCertificateExpiryHasBeenSet = true;
76 m_ignoreCertificateExpiry = value;
77 }
80 return *this;
81 }
83 private:
84 Aws::String m_trustStoreId;
85
86 bool m_advertiseTrustStoreCaNames{false};
87
88 bool m_ignoreCertificateExpiry{false};
89 bool m_trustStoreIdHasBeenSet = false;
90 bool m_advertiseTrustStoreCaNamesHasBeenSet = false;
91 bool m_ignoreCertificateExpiryHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace CloudFront
96} // namespace Aws
TrustStoreConfig & WithIgnoreCertificateExpiry(bool value)
const Aws::String & GetTrustStoreId() const
AWS_CLOUDFRONT_API TrustStoreConfig()=default
AWS_CLOUDFRONT_API TrustStoreConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
TrustStoreConfig & WithTrustStoreId(TrustStoreIdT &&value)
AWS_CLOUDFRONT_API TrustStoreConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetTrustStoreId(TrustStoreIdT &&value)
TrustStoreConfig & WithAdvertiseTrustStoreCaNames(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String