AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TrustStoreRevocation.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/RevocationType.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
34 {
35 public:
36 AWS_ELASTICLOADBALANCINGV2_API TrustStoreRevocation();
37 AWS_ELASTICLOADBALANCINGV2_API TrustStoreRevocation(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_ELASTICLOADBALANCINGV2_API TrustStoreRevocation& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline const Aws::String& GetTrustStoreArn() const{ return m_trustStoreArn; }
49 inline bool TrustStoreArnHasBeenSet() const { return m_trustStoreArnHasBeenSet; }
50 inline void SetTrustStoreArn(const Aws::String& value) { m_trustStoreArnHasBeenSet = true; m_trustStoreArn = value; }
51 inline void SetTrustStoreArn(Aws::String&& value) { m_trustStoreArnHasBeenSet = true; m_trustStoreArn = std::move(value); }
52 inline void SetTrustStoreArn(const char* value) { m_trustStoreArnHasBeenSet = true; m_trustStoreArn.assign(value); }
53 inline TrustStoreRevocation& WithTrustStoreArn(const Aws::String& value) { SetTrustStoreArn(value); return *this;}
54 inline TrustStoreRevocation& WithTrustStoreArn(Aws::String&& value) { SetTrustStoreArn(std::move(value)); return *this;}
55 inline TrustStoreRevocation& WithTrustStoreArn(const char* value) { SetTrustStoreArn(value); return *this;}
57
59
62 inline long long GetRevocationId() const{ return m_revocationId; }
63 inline bool RevocationIdHasBeenSet() const { return m_revocationIdHasBeenSet; }
64 inline void SetRevocationId(long long value) { m_revocationIdHasBeenSet = true; m_revocationId = value; }
65 inline TrustStoreRevocation& WithRevocationId(long long value) { SetRevocationId(value); return *this;}
67
69
72 inline const RevocationType& GetRevocationType() const{ return m_revocationType; }
73 inline bool RevocationTypeHasBeenSet() const { return m_revocationTypeHasBeenSet; }
74 inline void SetRevocationType(const RevocationType& value) { m_revocationTypeHasBeenSet = true; m_revocationType = value; }
75 inline void SetRevocationType(RevocationType&& value) { m_revocationTypeHasBeenSet = true; m_revocationType = std::move(value); }
76 inline TrustStoreRevocation& WithRevocationType(const RevocationType& value) { SetRevocationType(value); return *this;}
77 inline TrustStoreRevocation& WithRevocationType(RevocationType&& value) { SetRevocationType(std::move(value)); return *this;}
79
81
84 inline long long GetNumberOfRevokedEntries() const{ return m_numberOfRevokedEntries; }
85 inline bool NumberOfRevokedEntriesHasBeenSet() const { return m_numberOfRevokedEntriesHasBeenSet; }
86 inline void SetNumberOfRevokedEntries(long long value) { m_numberOfRevokedEntriesHasBeenSet = true; m_numberOfRevokedEntries = value; }
87 inline TrustStoreRevocation& WithNumberOfRevokedEntries(long long value) { SetNumberOfRevokedEntries(value); return *this;}
89 private:
90
91 Aws::String m_trustStoreArn;
92 bool m_trustStoreArnHasBeenSet = false;
93
94 long long m_revocationId;
95 bool m_revocationIdHasBeenSet = false;
96
97 RevocationType m_revocationType;
98 bool m_revocationTypeHasBeenSet = false;
99
100 long long m_numberOfRevokedEntries;
101 bool m_numberOfRevokedEntriesHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace ElasticLoadBalancingv2
106} // namespace Aws
TrustStoreRevocation & WithRevocationType(RevocationType &&value)
TrustStoreRevocation & WithRevocationId(long long value)
AWS_ELASTICLOADBALANCINGV2_API TrustStoreRevocation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
TrustStoreRevocation & WithTrustStoreArn(Aws::String &&value)
AWS_ELASTICLOADBALANCINGV2_API TrustStoreRevocation(const Aws::Utils::Xml::XmlNode &xmlNode)
TrustStoreRevocation & WithNumberOfRevokedEntries(long long value)
TrustStoreRevocation & WithTrustStoreArn(const Aws::String &value)
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICLOADBALANCINGV2_API TrustStoreRevocation()
TrustStoreRevocation & WithTrustStoreArn(const char *value)
TrustStoreRevocation & WithRevocationType(const RevocationType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream