AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
TrustStoreRevocation.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/RevocationType.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
30 public:
31 AWS_ELASTICLOADBALANCINGV2_API TrustStoreRevocation() = default;
32 AWS_ELASTICLOADBALANCINGV2_API TrustStoreRevocation(const Aws::Utils::Xml::XmlNode& xmlNode);
33 AWS_ELASTICLOADBALANCINGV2_API TrustStoreRevocation& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
34
35 AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index,
36 const char* locationValue) const;
37 AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
38
40
43 inline const Aws::String& GetTrustStoreArn() const { return m_trustStoreArn; }
44 inline bool TrustStoreArnHasBeenSet() const { return m_trustStoreArnHasBeenSet; }
45 template <typename TrustStoreArnT = Aws::String>
46 void SetTrustStoreArn(TrustStoreArnT&& value) {
47 m_trustStoreArnHasBeenSet = true;
48 m_trustStoreArn = std::forward<TrustStoreArnT>(value);
49 }
50 template <typename TrustStoreArnT = Aws::String>
51 TrustStoreRevocation& WithTrustStoreArn(TrustStoreArnT&& value) {
52 SetTrustStoreArn(std::forward<TrustStoreArnT>(value));
53 return *this;
54 }
56
58
61 inline long long GetRevocationId() const { return m_revocationId; }
62 inline bool RevocationIdHasBeenSet() const { return m_revocationIdHasBeenSet; }
63 inline void SetRevocationId(long long value) {
64 m_revocationIdHasBeenSet = true;
65 m_revocationId = value;
66 }
67 inline TrustStoreRevocation& WithRevocationId(long long value) {
68 SetRevocationId(value);
69 return *this;
70 }
72
74
77 inline RevocationType GetRevocationType() const { return m_revocationType; }
78 inline bool RevocationTypeHasBeenSet() const { return m_revocationTypeHasBeenSet; }
79 inline void SetRevocationType(RevocationType value) {
80 m_revocationTypeHasBeenSet = true;
81 m_revocationType = value;
82 }
84 SetRevocationType(value);
85 return *this;
86 }
88
90
93 inline long long GetNumberOfRevokedEntries() const { return m_numberOfRevokedEntries; }
94 inline bool NumberOfRevokedEntriesHasBeenSet() const { return m_numberOfRevokedEntriesHasBeenSet; }
95 inline void SetNumberOfRevokedEntries(long long value) {
96 m_numberOfRevokedEntriesHasBeenSet = true;
97 m_numberOfRevokedEntries = value;
98 }
101 return *this;
102 }
104 private:
105 Aws::String m_trustStoreArn;
106
107 long long m_revocationId{0};
108
109 RevocationType m_revocationType{RevocationType::NOT_SET};
110
111 long long m_numberOfRevokedEntries{0};
112 bool m_trustStoreArnHasBeenSet = false;
113 bool m_revocationIdHasBeenSet = false;
114 bool m_revocationTypeHasBeenSet = false;
115 bool m_numberOfRevokedEntriesHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace ElasticLoadBalancingv2
120} // namespace Aws
TrustStoreRevocation & WithRevocationId(long long value)
AWS_ELASTICLOADBALANCINGV2_API TrustStoreRevocation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCINGV2_API TrustStoreRevocation()=default
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
TrustStoreRevocation & WithRevocationType(RevocationType value)
AWS_ELASTICLOADBALANCINGV2_API TrustStoreRevocation(const Aws::Utils::Xml::XmlNode &xmlNode)
TrustStoreRevocation & WithNumberOfRevokedEntries(long long value)
TrustStoreRevocation & WithTrustStoreArn(TrustStoreArnT &&value)
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream