AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RevocationContent.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
33 {
34 public:
35 AWS_ELASTICLOADBALANCINGV2_API RevocationContent() = default;
36 AWS_ELASTICLOADBALANCINGV2_API RevocationContent(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_ELASTICLOADBALANCINGV2_API RevocationContent& 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& GetS3Bucket() const { return m_s3Bucket; }
48 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
49 template<typename S3BucketT = Aws::String>
50 void SetS3Bucket(S3BucketT&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::forward<S3BucketT>(value); }
51 template<typename S3BucketT = Aws::String>
52 RevocationContent& WithS3Bucket(S3BucketT&& value) { SetS3Bucket(std::forward<S3BucketT>(value)); return *this;}
54
56
59 inline const Aws::String& GetS3Key() const { return m_s3Key; }
60 inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; }
61 template<typename S3KeyT = Aws::String>
62 void SetS3Key(S3KeyT&& value) { m_s3KeyHasBeenSet = true; m_s3Key = std::forward<S3KeyT>(value); }
63 template<typename S3KeyT = Aws::String>
64 RevocationContent& WithS3Key(S3KeyT&& value) { SetS3Key(std::forward<S3KeyT>(value)); return *this;}
66
68
71 inline const Aws::String& GetS3ObjectVersion() const { return m_s3ObjectVersion; }
72 inline bool S3ObjectVersionHasBeenSet() const { return m_s3ObjectVersionHasBeenSet; }
73 template<typename S3ObjectVersionT = Aws::String>
74 void SetS3ObjectVersion(S3ObjectVersionT&& value) { m_s3ObjectVersionHasBeenSet = true; m_s3ObjectVersion = std::forward<S3ObjectVersionT>(value); }
75 template<typename S3ObjectVersionT = Aws::String>
76 RevocationContent& WithS3ObjectVersion(S3ObjectVersionT&& value) { SetS3ObjectVersion(std::forward<S3ObjectVersionT>(value)); return *this;}
78
80
83 inline RevocationType GetRevocationType() const { return m_revocationType; }
84 inline bool RevocationTypeHasBeenSet() const { return m_revocationTypeHasBeenSet; }
85 inline void SetRevocationType(RevocationType value) { m_revocationTypeHasBeenSet = true; m_revocationType = value; }
88 private:
89
90 Aws::String m_s3Bucket;
91 bool m_s3BucketHasBeenSet = false;
92
93 Aws::String m_s3Key;
94 bool m_s3KeyHasBeenSet = false;
95
96 Aws::String m_s3ObjectVersion;
97 bool m_s3ObjectVersionHasBeenSet = false;
98
100 bool m_revocationTypeHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace ElasticLoadBalancingv2
105} // 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