AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
TrustStore.h
1
6#pragma once
7#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/elasticloadbalancingv2/model/TrustStoreStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace ElasticLoadBalancingv2
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_ELASTICLOADBALANCINGV2_API TrustStore() = default;
36 AWS_ELASTICLOADBALANCINGV2_API TrustStore(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_ELASTICLOADBALANCINGV2_API TrustStore& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetName() const { return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 template<typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
51 template<typename NameT = Aws::String>
52 TrustStore& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
54
56
59 inline const Aws::String& GetTrustStoreArn() const { return m_trustStoreArn; }
60 inline bool TrustStoreArnHasBeenSet() const { return m_trustStoreArnHasBeenSet; }
61 template<typename TrustStoreArnT = Aws::String>
62 void SetTrustStoreArn(TrustStoreArnT&& value) { m_trustStoreArnHasBeenSet = true; m_trustStoreArn = std::forward<TrustStoreArnT>(value); }
63 template<typename TrustStoreArnT = Aws::String>
64 TrustStore& WithTrustStoreArn(TrustStoreArnT&& value) { SetTrustStoreArn(std::forward<TrustStoreArnT>(value)); return *this;}
66
68
71 inline TrustStoreStatus GetStatus() const { return m_status; }
72 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
73 inline void SetStatus(TrustStoreStatus value) { m_statusHasBeenSet = true; m_status = value; }
74 inline TrustStore& WithStatus(TrustStoreStatus value) { SetStatus(value); return *this;}
76
78
81 inline int GetNumberOfCaCertificates() const { return m_numberOfCaCertificates; }
82 inline bool NumberOfCaCertificatesHasBeenSet() const { return m_numberOfCaCertificatesHasBeenSet; }
83 inline void SetNumberOfCaCertificates(int value) { m_numberOfCaCertificatesHasBeenSet = true; m_numberOfCaCertificates = value; }
84 inline TrustStore& WithNumberOfCaCertificates(int value) { SetNumberOfCaCertificates(value); return *this;}
86
88
91 inline long long GetTotalRevokedEntries() const { return m_totalRevokedEntries; }
92 inline bool TotalRevokedEntriesHasBeenSet() const { return m_totalRevokedEntriesHasBeenSet; }
93 inline void SetTotalRevokedEntries(long long value) { m_totalRevokedEntriesHasBeenSet = true; m_totalRevokedEntries = value; }
94 inline TrustStore& WithTotalRevokedEntries(long long value) { SetTotalRevokedEntries(value); return *this;}
96 private:
97
98 Aws::String m_name;
99 bool m_nameHasBeenSet = false;
100
101 Aws::String m_trustStoreArn;
102 bool m_trustStoreArnHasBeenSet = false;
103
105 bool m_statusHasBeenSet = false;
106
107 int m_numberOfCaCertificates{0};
108 bool m_numberOfCaCertificatesHasBeenSet = false;
109
110 long long m_totalRevokedEntries{0};
111 bool m_totalRevokedEntriesHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace ElasticLoadBalancingv2
116} // 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:74
TrustStore & WithTrustStoreArn(TrustStoreArnT &&value)
Definition TrustStore.h:64
TrustStore & WithTotalRevokedEntries(long long value)
Definition TrustStore.h:94
const Aws::String & GetTrustStoreArn() const
Definition TrustStore.h:59
TrustStore & WithNumberOfCaCertificates(int value)
Definition TrustStore.h:84
void SetStatus(TrustStoreStatus value)
Definition TrustStore.h:73
AWS_ELASTICLOADBALANCINGV2_API TrustStore(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCINGV2_API TrustStore()=default
void SetTrustStoreArn(TrustStoreArnT &&value)
Definition TrustStore.h:62
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