AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3Action.h
1
6#pragma once
7#include <aws/email/SES_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace SES
22{
23namespace Model
24{
25
45 {
46 public:
47 AWS_SES_API S3Action();
48 AWS_SES_API S3Action(const Aws::Utils::Xml::XmlNode& xmlNode);
49 AWS_SES_API S3Action& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
50
51 AWS_SES_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
52 AWS_SES_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
53
54
56
65 inline const Aws::String& GetTopicArn() const{ return m_topicArn; }
66 inline bool TopicArnHasBeenSet() const { return m_topicArnHasBeenSet; }
67 inline void SetTopicArn(const Aws::String& value) { m_topicArnHasBeenSet = true; m_topicArn = value; }
68 inline void SetTopicArn(Aws::String&& value) { m_topicArnHasBeenSet = true; m_topicArn = std::move(value); }
69 inline void SetTopicArn(const char* value) { m_topicArnHasBeenSet = true; m_topicArn.assign(value); }
70 inline S3Action& WithTopicArn(const Aws::String& value) { SetTopicArn(value); return *this;}
71 inline S3Action& WithTopicArn(Aws::String&& value) { SetTopicArn(std::move(value)); return *this;}
72 inline S3Action& WithTopicArn(const char* value) { SetTopicArn(value); return *this;}
74
76
79 inline const Aws::String& GetBucketName() const{ return m_bucketName; }
80 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
81 inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; }
82 inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); }
83 inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); }
84 inline S3Action& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;}
85 inline S3Action& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;}
86 inline S3Action& WithBucketName(const char* value) { SetBucketName(value); return *this;}
88
90
95 inline const Aws::String& GetObjectKeyPrefix() const{ return m_objectKeyPrefix; }
96 inline bool ObjectKeyPrefixHasBeenSet() const { return m_objectKeyPrefixHasBeenSet; }
97 inline void SetObjectKeyPrefix(const Aws::String& value) { m_objectKeyPrefixHasBeenSet = true; m_objectKeyPrefix = value; }
98 inline void SetObjectKeyPrefix(Aws::String&& value) { m_objectKeyPrefixHasBeenSet = true; m_objectKeyPrefix = std::move(value); }
99 inline void SetObjectKeyPrefix(const char* value) { m_objectKeyPrefixHasBeenSet = true; m_objectKeyPrefix.assign(value); }
100 inline S3Action& WithObjectKeyPrefix(const Aws::String& value) { SetObjectKeyPrefix(value); return *this;}
101 inline S3Action& WithObjectKeyPrefix(Aws::String&& value) { SetObjectKeyPrefix(std::move(value)); return *this;}
102 inline S3Action& WithObjectKeyPrefix(const char* value) { SetObjectKeyPrefix(value); return *this;}
104
106
141 inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
142 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
143 inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; }
144 inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); }
145 inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); }
146 inline S3Action& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
147 inline S3Action& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
148 inline S3Action& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
150
152
167 inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
168 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
169 inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; }
170 inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); }
171 inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); }
172 inline S3Action& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;}
173 inline S3Action& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;}
174 inline S3Action& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
176 private:
177
178 Aws::String m_topicArn;
179 bool m_topicArnHasBeenSet = false;
180
181 Aws::String m_bucketName;
182 bool m_bucketNameHasBeenSet = false;
183
184 Aws::String m_objectKeyPrefix;
185 bool m_objectKeyPrefixHasBeenSet = false;
186
187 Aws::String m_kmsKeyArn;
188 bool m_kmsKeyArnHasBeenSet = false;
189
190 Aws::String m_iamRoleArn;
191 bool m_iamRoleArnHasBeenSet = false;
192 };
193
194} // namespace Model
195} // namespace SES
196} // namespace Aws
void SetObjectKeyPrefix(const char *value)
Definition S3Action.h:99
void SetObjectKeyPrefix(Aws::String &&value)
Definition S3Action.h:98
const Aws::String & GetBucketName() const
Definition S3Action.h:79
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetBucketName(const Aws::String &value)
Definition S3Action.h:81
void SetTopicArn(const char *value)
Definition S3Action.h:69
bool IamRoleArnHasBeenSet() const
Definition S3Action.h:168
S3Action & WithBucketName(const Aws::String &value)
Definition S3Action.h:84
const Aws::String & GetIamRoleArn() const
Definition S3Action.h:167
S3Action & WithKmsKeyArn(const Aws::String &value)
Definition S3Action.h:146
void SetObjectKeyPrefix(const Aws::String &value)
Definition S3Action.h:97
void SetKmsKeyArn(const char *value)
Definition S3Action.h:145
S3Action & WithTopicArn(const Aws::String &value)
Definition S3Action.h:70
S3Action & WithBucketName(const char *value)
Definition S3Action.h:86
S3Action & WithIamRoleArn(const char *value)
Definition S3Action.h:174
AWS_SES_API S3Action(const Aws::Utils::Xml::XmlNode &xmlNode)
S3Action & WithIamRoleArn(Aws::String &&value)
Definition S3Action.h:173
const Aws::String & GetKmsKeyArn() const
Definition S3Action.h:141
void SetBucketName(const char *value)
Definition S3Action.h:83
void SetIamRoleArn(const Aws::String &value)
Definition S3Action.h:169
void SetKmsKeyArn(const Aws::String &value)
Definition S3Action.h:143
bool KmsKeyArnHasBeenSet() const
Definition S3Action.h:142
S3Action & WithTopicArn(Aws::String &&value)
Definition S3Action.h:71
bool BucketNameHasBeenSet() const
Definition S3Action.h:80
bool TopicArnHasBeenSet() const
Definition S3Action.h:66
S3Action & WithObjectKeyPrefix(const char *value)
Definition S3Action.h:102
void SetTopicArn(Aws::String &&value)
Definition S3Action.h:68
bool ObjectKeyPrefixHasBeenSet() const
Definition S3Action.h:96
S3Action & WithKmsKeyArn(const char *value)
Definition S3Action.h:148
S3Action & WithTopicArn(const char *value)
Definition S3Action.h:72
const Aws::String & GetObjectKeyPrefix() const
Definition S3Action.h:95
S3Action & WithIamRoleArn(const Aws::String &value)
Definition S3Action.h:172
const Aws::String & GetTopicArn() const
Definition S3Action.h:65
S3Action & WithObjectKeyPrefix(const Aws::String &value)
Definition S3Action.h:100
void SetIamRoleArn(const char *value)
Definition S3Action.h:171
S3Action & WithObjectKeyPrefix(Aws::String &&value)
Definition S3Action.h:101
S3Action & WithKmsKeyArn(Aws::String &&value)
Definition S3Action.h:147
AWS_SES_API S3Action & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetTopicArn(const Aws::String &value)
Definition S3Action.h:67
S3Action & WithBucketName(Aws::String &&value)
Definition S3Action.h:85
void SetIamRoleArn(Aws::String &&value)
Definition S3Action.h:170
void SetKmsKeyArn(Aws::String &&value)
Definition S3Action.h:144
void SetBucketName(Aws::String &&value)
Definition S3Action.h:82
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream