AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
RevocationContent.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
29 public:
30 AWS_ELASTICLOADBALANCINGV2_API RevocationContent() = default;
31 AWS_ELASTICLOADBALANCINGV2_API RevocationContent(const Aws::Utils::Xml::XmlNode& xmlNode);
32 AWS_ELASTICLOADBALANCINGV2_API RevocationContent& 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& GetS3Bucket() const { return m_s3Bucket; }
43 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
44 template <typename S3BucketT = Aws::String>
45 void SetS3Bucket(S3BucketT&& value) {
46 m_s3BucketHasBeenSet = true;
47 m_s3Bucket = std::forward<S3BucketT>(value);
48 }
49 template <typename S3BucketT = Aws::String>
50 RevocationContent& WithS3Bucket(S3BucketT&& value) {
51 SetS3Bucket(std::forward<S3BucketT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetS3Key() const { return m_s3Key; }
61 inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; }
62 template <typename S3KeyT = Aws::String>
63 void SetS3Key(S3KeyT&& value) {
64 m_s3KeyHasBeenSet = true;
65 m_s3Key = std::forward<S3KeyT>(value);
66 }
67 template <typename S3KeyT = Aws::String>
68 RevocationContent& WithS3Key(S3KeyT&& value) {
69 SetS3Key(std::forward<S3KeyT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetS3ObjectVersion() const { return m_s3ObjectVersion; }
79 inline bool S3ObjectVersionHasBeenSet() const { return m_s3ObjectVersionHasBeenSet; }
80 template <typename S3ObjectVersionT = Aws::String>
81 void SetS3ObjectVersion(S3ObjectVersionT&& value) {
82 m_s3ObjectVersionHasBeenSet = true;
83 m_s3ObjectVersion = std::forward<S3ObjectVersionT>(value);
84 }
85 template <typename S3ObjectVersionT = Aws::String>
86 RevocationContent& WithS3ObjectVersion(S3ObjectVersionT&& value) {
87 SetS3ObjectVersion(std::forward<S3ObjectVersionT>(value));
88 return *this;
89 }
91
93
96 inline RevocationType GetRevocationType() const { return m_revocationType; }
97 inline bool RevocationTypeHasBeenSet() const { return m_revocationTypeHasBeenSet; }
98 inline void SetRevocationType(RevocationType value) {
99 m_revocationTypeHasBeenSet = true;
100 m_revocationType = value;
101 }
103 SetRevocationType(value);
104 return *this;
105 }
107 private:
108 Aws::String m_s3Bucket;
109
110 Aws::String m_s3Key;
111
112 Aws::String m_s3ObjectVersion;
113
114 RevocationType m_revocationType{RevocationType::NOT_SET};
115 bool m_s3BucketHasBeenSet = false;
116 bool m_s3KeyHasBeenSet = false;
117 bool m_s3ObjectVersionHasBeenSet = false;
118 bool m_revocationTypeHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace ElasticLoadBalancingv2
123} // namespace Aws
RevocationContent & WithS3Bucket(S3BucketT &&value)
RevocationContent & WithS3ObjectVersion(S3ObjectVersionT &&value)
AWS_ELASTICLOADBALANCINGV2_API RevocationContent(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCINGV2_API RevocationContent & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
RevocationContent & WithRevocationType(RevocationType value)
AWS_ELASTICLOADBALANCINGV2_API RevocationContent()=default
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
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