7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/mailmanager/model/ActionFailurePolicy.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
62 template<
typename RoleArnT = Aws::String>
63 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
64 template<
typename RoleArnT = Aws::String>
74 template<
typename S3BucketT = Aws::String>
75 void SetS3Bucket(S3BucketT&& value) { m_s3BucketHasBeenSet =
true; m_s3Bucket = std::forward<S3BucketT>(value); }
76 template<
typename S3BucketT = Aws::String>
86 template<
typename S3PrefixT = Aws::String>
87 void SetS3Prefix(S3PrefixT&& value) { m_s3PrefixHasBeenSet =
true; m_s3Prefix = std::forward<S3PrefixT>(value); }
88 template<
typename S3PrefixT = Aws::String>
98 template<
typename S3SseKmsKeyIdT = Aws::String>
99 void SetS3SseKmsKeyId(S3SseKmsKeyIdT&& value) { m_s3SseKmsKeyIdHasBeenSet =
true; m_s3SseKmsKeyId = std::forward<S3SseKmsKeyIdT>(value); }
100 template<
typename S3SseKmsKeyIdT = Aws::String>
106 bool m_actionFailurePolicyHasBeenSet =
false;
109 bool m_roleArnHasBeenSet =
false;
112 bool m_s3BucketHasBeenSet =
false;
115 bool m_s3PrefixHasBeenSet =
false;
118 bool m_s3SseKmsKeyIdHasBeenSet =
false;
void SetActionFailurePolicy(ActionFailurePolicy value)
const Aws::String & GetRoleArn() const
bool ActionFailurePolicyHasBeenSet() const
void SetRoleArn(RoleArnT &&value)
bool S3SseKmsKeyIdHasBeenSet() const
void SetS3Prefix(S3PrefixT &&value)
S3Action & WithS3Bucket(S3BucketT &&value)
AWS_MAILMANAGER_API S3Action()=default
ActionFailurePolicy GetActionFailurePolicy() const
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetS3SseKmsKeyId(S3SseKmsKeyIdT &&value)
bool S3PrefixHasBeenSet() const
S3Action & WithRoleArn(RoleArnT &&value)
bool S3BucketHasBeenSet() const
S3Action & WithS3Prefix(S3PrefixT &&value)
const Aws::String & GetS3Prefix() const
bool RoleArnHasBeenSet() const
AWS_MAILMANAGER_API S3Action & operator=(Aws::Utils::Json::JsonView jsonValue)
S3Action & WithActionFailurePolicy(ActionFailurePolicy value)
AWS_MAILMANAGER_API S3Action(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetS3Bucket() const
const Aws::String & GetS3SseKmsKeyId() const
S3Action & WithS3SseKmsKeyId(S3SseKmsKeyIdT &&value)
void SetS3Bucket(S3BucketT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue