AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
TrustStore.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
10#include <aws/elasticloadbalancingv2/model/TrustStoreStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Xml {
17class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace ElasticLoadBalancingv2 {
21namespace Model {
22
29 public:
30 AWS_ELASTICLOADBALANCINGV2_API TrustStore() = default;
31 AWS_ELASTICLOADBALANCINGV2_API TrustStore(const Aws::Utils::Xml::XmlNode& xmlNode);
32 AWS_ELASTICLOADBALANCINGV2_API TrustStore& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
33
34 AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index,
35 const char* locationValue) const;
36 AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
37
39
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template <typename NameT = Aws::String>
45 void SetName(NameT&& value) {
46 m_nameHasBeenSet = true;
47 m_name = std::forward<NameT>(value);
48 }
49 template <typename NameT = Aws::String>
50 TrustStore& WithName(NameT&& value) {
51 SetName(std::forward<NameT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetTrustStoreArn() const { return m_trustStoreArn; }
61 inline bool TrustStoreArnHasBeenSet() const { return m_trustStoreArnHasBeenSet; }
62 template <typename TrustStoreArnT = Aws::String>
63 void SetTrustStoreArn(TrustStoreArnT&& value) {
64 m_trustStoreArnHasBeenSet = true;
65 m_trustStoreArn = std::forward<TrustStoreArnT>(value);
66 }
67 template <typename TrustStoreArnT = Aws::String>
68 TrustStore& WithTrustStoreArn(TrustStoreArnT&& value) {
69 SetTrustStoreArn(std::forward<TrustStoreArnT>(value));
70 return *this;
71 }
73
75
78 inline TrustStoreStatus GetStatus() const { return m_status; }
79 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
80 inline void SetStatus(TrustStoreStatus value) {
81 m_statusHasBeenSet = true;
82 m_status = value;
83 }
85 SetStatus(value);
86 return *this;
87 }
89
91
94 inline int GetNumberOfCaCertificates() const { return m_numberOfCaCertificates; }
95 inline bool NumberOfCaCertificatesHasBeenSet() const { return m_numberOfCaCertificatesHasBeenSet; }
96 inline void SetNumberOfCaCertificates(int value) {
97 m_numberOfCaCertificatesHasBeenSet = true;
98 m_numberOfCaCertificates = value;
99 }
102 return *this;
103 }
105
107
110 inline long long GetTotalRevokedEntries() const { return m_totalRevokedEntries; }
111 inline bool TotalRevokedEntriesHasBeenSet() const { return m_totalRevokedEntriesHasBeenSet; }
112 inline void SetTotalRevokedEntries(long long value) {
113 m_totalRevokedEntriesHasBeenSet = true;
114 m_totalRevokedEntries = value;
115 }
116 inline TrustStore& WithTotalRevokedEntries(long long value) {
118 return *this;
119 }
121 private:
122 Aws::String m_name;
123
124 Aws::String m_trustStoreArn;
125
127
128 int m_numberOfCaCertificates{0};
129
130 long long m_totalRevokedEntries{0};
131 bool m_nameHasBeenSet = false;
132 bool m_trustStoreArnHasBeenSet = false;
133 bool m_statusHasBeenSet = false;
134 bool m_numberOfCaCertificatesHasBeenSet = false;
135 bool m_totalRevokedEntriesHasBeenSet = false;
136};
137
138} // namespace Model
139} // namespace ElasticLoadBalancingv2
140} // namespace Aws
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
TrustStore & WithStatus(TrustStoreStatus value)
Definition TrustStore.h:84
TrustStore & WithTrustStoreArn(TrustStoreArnT &&value)
Definition TrustStore.h:68
TrustStore & WithTotalRevokedEntries(long long value)
Definition TrustStore.h:116
const Aws::String & GetTrustStoreArn() const
Definition TrustStore.h:60
TrustStore & WithNumberOfCaCertificates(int value)
Definition TrustStore.h:100
void SetStatus(TrustStoreStatus value)
Definition TrustStore.h:80
AWS_ELASTICLOADBALANCINGV2_API TrustStore(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCINGV2_API TrustStore()=default
void SetTrustStoreArn(TrustStoreArnT &&value)
Definition TrustStore.h:63
AWS_ELASTICLOADBALANCINGV2_API TrustStore & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream