AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; }
50 inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); }
51 inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); }
52 inline RevocationContent& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
53 inline RevocationContent& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
54 inline RevocationContent& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;}
56
58
61 inline const Aws::String& GetS3Key() const{ return m_s3Key; }
62 inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; }
63 inline void SetS3Key(const Aws::String& value) { m_s3KeyHasBeenSet = true; m_s3Key = value; }
64 inline void SetS3Key(Aws::String&& value) { m_s3KeyHasBeenSet = true; m_s3Key = std::move(value); }
65 inline void SetS3Key(const char* value) { m_s3KeyHasBeenSet = true; m_s3Key.assign(value); }
66 inline RevocationContent& WithS3Key(const Aws::String& value) { SetS3Key(value); return *this;}
67 inline RevocationContent& WithS3Key(Aws::String&& value) { SetS3Key(std::move(value)); return *this;}
68 inline RevocationContent& WithS3Key(const char* value) { SetS3Key(value); return *this;}
70
72
75 inline const Aws::String& GetS3ObjectVersion() const{ return m_s3ObjectVersion; }
76 inline bool S3ObjectVersionHasBeenSet() const { return m_s3ObjectVersionHasBeenSet; }
77 inline void SetS3ObjectVersion(const Aws::String& value) { m_s3ObjectVersionHasBeenSet = true; m_s3ObjectVersion = value; }
78 inline void SetS3ObjectVersion(Aws::String&& value) { m_s3ObjectVersionHasBeenSet = true; m_s3ObjectVersion = std::move(value); }
79 inline void SetS3ObjectVersion(const char* value) { m_s3ObjectVersionHasBeenSet = true; m_s3ObjectVersion.assign(value); }
80 inline RevocationContent& WithS3ObjectVersion(const Aws::String& value) { SetS3ObjectVersion(value); return *this;}
81 inline RevocationContent& WithS3ObjectVersion(Aws::String&& value) { SetS3ObjectVersion(std::move(value)); return *this;}
82 inline RevocationContent& WithS3ObjectVersion(const char* value) { SetS3ObjectVersion(value); return *this;}
84
86
89 inline const RevocationType& GetRevocationType() const{ return m_revocationType; }
90 inline bool RevocationTypeHasBeenSet() const { return m_revocationTypeHasBeenSet; }
91 inline void SetRevocationType(const RevocationType& value) { m_revocationTypeHasBeenSet = true; m_revocationType = value; }
92 inline void SetRevocationType(RevocationType&& value) { m_revocationTypeHasBeenSet = true; m_revocationType = std::move(value); }
93 inline RevocationContent& WithRevocationType(const RevocationType& value) { SetRevocationType(value); return *this;}
94 inline RevocationContent& WithRevocationType(RevocationType&& value) { SetRevocationType(std::move(value)); return *this;}
96 private:
97
98 Aws::String m_s3Bucket;
99 bool m_s3BucketHasBeenSet = false;
100
101 Aws::String m_s3Key;
102 bool m_s3KeyHasBeenSet = false;
103
104 Aws::String m_s3ObjectVersion;
105 bool m_s3ObjectVersionHasBeenSet = false;
106
107 RevocationType m_revocationType;
108 bool m_revocationTypeHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace ElasticLoadBalancingv2
113} // namespace Aws
RevocationContent & WithS3Bucket(Aws::String &&value)
RevocationContent & WithRevocationType(RevocationType &&value)
AWS_ELASTICLOADBALANCINGV2_API RevocationContent(const Aws::Utils::Xml::XmlNode &xmlNode)
RevocationContent & WithRevocationType(const RevocationType &value)
AWS_ELASTICLOADBALANCINGV2_API RevocationContent & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCINGV2_API RevocationContent()
RevocationContent & WithS3Bucket(const Aws::String &value)
RevocationContent & WithS3ObjectVersion(const char *value)
RevocationContent & WithS3Key(const char *value)
RevocationContent & WithS3ObjectVersion(const Aws::String &value)
RevocationContent & WithS3Bucket(const char *value)
RevocationContent & WithS3ObjectVersion(Aws::String &&value)
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
RevocationContent & WithS3Key(const Aws::String &value)
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
RevocationContent & WithS3Key(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream