AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline TrustStore& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline TrustStore& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline TrustStore& WithName(const char* value) { SetName(value); return *this;}
56
58
61 inline const Aws::String& GetTrustStoreArn() const{ return m_trustStoreArn; }
62 inline bool TrustStoreArnHasBeenSet() const { return m_trustStoreArnHasBeenSet; }
63 inline void SetTrustStoreArn(const Aws::String& value) { m_trustStoreArnHasBeenSet = true; m_trustStoreArn = value; }
64 inline void SetTrustStoreArn(Aws::String&& value) { m_trustStoreArnHasBeenSet = true; m_trustStoreArn = std::move(value); }
65 inline void SetTrustStoreArn(const char* value) { m_trustStoreArnHasBeenSet = true; m_trustStoreArn.assign(value); }
66 inline TrustStore& WithTrustStoreArn(const Aws::String& value) { SetTrustStoreArn(value); return *this;}
67 inline TrustStore& WithTrustStoreArn(Aws::String&& value) { SetTrustStoreArn(std::move(value)); return *this;}
68 inline TrustStore& WithTrustStoreArn(const char* value) { SetTrustStoreArn(value); return *this;}
70
72
75 inline const TrustStoreStatus& GetStatus() const{ return m_status; }
76 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
77 inline void SetStatus(const TrustStoreStatus& value) { m_statusHasBeenSet = true; m_status = value; }
78 inline void SetStatus(TrustStoreStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
79 inline TrustStore& WithStatus(const TrustStoreStatus& value) { SetStatus(value); return *this;}
80 inline TrustStore& WithStatus(TrustStoreStatus&& value) { SetStatus(std::move(value)); return *this;}
82
84
87 inline int GetNumberOfCaCertificates() const{ return m_numberOfCaCertificates; }
88 inline bool NumberOfCaCertificatesHasBeenSet() const { return m_numberOfCaCertificatesHasBeenSet; }
89 inline void SetNumberOfCaCertificates(int value) { m_numberOfCaCertificatesHasBeenSet = true; m_numberOfCaCertificates = value; }
90 inline TrustStore& WithNumberOfCaCertificates(int value) { SetNumberOfCaCertificates(value); return *this;}
92
94
97 inline long long GetTotalRevokedEntries() const{ return m_totalRevokedEntries; }
98 inline bool TotalRevokedEntriesHasBeenSet() const { return m_totalRevokedEntriesHasBeenSet; }
99 inline void SetTotalRevokedEntries(long long value) { m_totalRevokedEntriesHasBeenSet = true; m_totalRevokedEntries = value; }
100 inline TrustStore& WithTotalRevokedEntries(long long value) { SetTotalRevokedEntries(value); return *this;}
102 private:
103
104 Aws::String m_name;
105 bool m_nameHasBeenSet = false;
106
107 Aws::String m_trustStoreArn;
108 bool m_trustStoreArnHasBeenSet = false;
109
110 TrustStoreStatus m_status;
111 bool m_statusHasBeenSet = false;
112
113 int m_numberOfCaCertificates;
114 bool m_numberOfCaCertificatesHasBeenSet = false;
115
116 long long m_totalRevokedEntries;
117 bool m_totalRevokedEntriesHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace ElasticLoadBalancingv2
122} // namespace Aws
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetStatus(TrustStoreStatus &&value)
Definition TrustStore.h:78
TrustStore & WithTrustStoreArn(const char *value)
Definition TrustStore.h:68
TrustStore & WithStatus(TrustStoreStatus &&value)
Definition TrustStore.h:80
AWS_ELASTICLOADBALANCINGV2_API TrustStore()
TrustStore & WithTotalRevokedEntries(long long value)
Definition TrustStore.h:100
const Aws::String & GetTrustStoreArn() const
Definition TrustStore.h:61
TrustStore & WithNumberOfCaCertificates(int value)
Definition TrustStore.h:90
TrustStore & WithTrustStoreArn(Aws::String &&value)
Definition TrustStore.h:67
TrustStore & WithName(const Aws::String &value)
Definition TrustStore.h:52
TrustStore & WithName(Aws::String &&value)
Definition TrustStore.h:53
void SetTrustStoreArn(Aws::String &&value)
Definition TrustStore.h:64
TrustStore & WithTrustStoreArn(const Aws::String &value)
Definition TrustStore.h:66
AWS_ELASTICLOADBALANCINGV2_API TrustStore(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetStatus(const TrustStoreStatus &value)
Definition TrustStore.h:77
TrustStore & WithName(const char *value)
Definition TrustStore.h:54
void SetTrustStoreArn(const Aws::String &value)
Definition TrustStore.h:63
TrustStore & WithStatus(const TrustStoreStatus &value)
Definition TrustStore.h:79
void SetName(const Aws::String &value)
Definition TrustStore.h:49
const TrustStoreStatus & GetStatus() const
Definition TrustStore.h:75
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