7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/mailmanager/model/ActionFailurePolicy.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
66 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
80 inline void SetS3Bucket(
const char* value) { m_s3BucketHasBeenSet =
true; m_s3Bucket.assign(value); }
94 inline void SetS3Prefix(
const char* value) { m_s3PrefixHasBeenSet =
true; m_s3Prefix.assign(value); }
108 inline void SetS3SseKmsKeyId(
const char* value) { m_s3SseKmsKeyIdHasBeenSet =
true; m_s3SseKmsKeyId.assign(value); }
116 bool m_actionFailurePolicyHasBeenSet =
false;
119 bool m_roleArnHasBeenSet =
false;
122 bool m_s3BucketHasBeenSet =
false;
125 bool m_s3PrefixHasBeenSet =
false;
128 bool m_s3SseKmsKeyIdHasBeenSet =
false;
S3Action & WithS3Bucket(const Aws::String &value)
S3Action & WithRoleArn(const Aws::String &value)
const Aws::String & GetRoleArn() const
bool ActionFailurePolicyHasBeenSet() const
S3Action & WithS3Bucket(Aws::String &&value)
bool S3SseKmsKeyIdHasBeenSet() const
void SetS3SseKmsKeyId(const Aws::String &value)
S3Action & WithActionFailurePolicy(ActionFailurePolicy &&value)
void SetS3Bucket(Aws::String &&value)
S3Action & WithRoleArn(Aws::String &&value)
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRoleArn(Aws::String &&value)
void SetS3Prefix(Aws::String &&value)
bool S3PrefixHasBeenSet() const
void SetRoleArn(const Aws::String &value)
void SetS3Bucket(const char *value)
void SetS3Prefix(const char *value)
void SetS3SseKmsKeyId(Aws::String &&value)
S3Action & WithS3Prefix(const Aws::String &value)
bool S3BucketHasBeenSet() const
void SetS3Prefix(const Aws::String &value)
S3Action & WithS3Bucket(const char *value)
S3Action & WithActionFailurePolicy(const ActionFailurePolicy &value)
S3Action & WithS3SseKmsKeyId(const char *value)
const Aws::String & GetS3Prefix() const
bool RoleArnHasBeenSet() const
S3Action & WithS3Prefix(const char *value)
S3Action & WithS3SseKmsKeyId(Aws::String &&value)
void SetS3SseKmsKeyId(const char *value)
AWS_MAILMANAGER_API S3Action & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetActionFailurePolicy(ActionFailurePolicy &&value)
void SetRoleArn(const char *value)
AWS_MAILMANAGER_API S3Action(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetS3Bucket() const
const Aws::String & GetS3SseKmsKeyId() const
S3Action & WithS3SseKmsKeyId(const Aws::String &value)
void SetS3Bucket(const Aws::String &value)
void SetActionFailurePolicy(const ActionFailurePolicy &value)
AWS_MAILMANAGER_API S3Action()
const ActionFailurePolicy & GetActionFailurePolicy() const
S3Action & WithRoleArn(const char *value)
S3Action & WithS3Prefix(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue