7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/mailmanager/MailManager_EXPORTS.h>
10#include <aws/mailmanager/model/ActionFailurePolicy.h>
20namespace MailManager {
32 AWS_MAILMANAGER_API
SendAction(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_MAILMANAGER_API
SendAction&
operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_MAILMANAGER_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
45 m_actionFailurePolicyHasBeenSet =
true;
46 m_actionFailurePolicy = value;
61 template <
typename RoleArnT = Aws::String>
63 m_roleArnHasBeenSet =
true;
64 m_roleArn = std::forward<RoleArnT>(value);
66 template <
typename RoleArnT = Aws::String>
76 bool m_actionFailurePolicyHasBeenSet =
false;
77 bool m_roleArnHasBeenSet =
false;
AWS_MAILMANAGER_API SendAction & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
SendAction & WithRoleArn(RoleArnT &&value)
SendAction & WithActionFailurePolicy(ActionFailurePolicy value)
ActionFailurePolicy GetActionFailurePolicy() const
void SetRoleArn(RoleArnT &&value)
AWS_MAILMANAGER_API SendAction(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool RoleArnHasBeenSet() const
const Aws::String & GetRoleArn() const
bool ActionFailurePolicyHasBeenSet() const
void SetActionFailurePolicy(ActionFailurePolicy value)
AWS_MAILMANAGER_API SendAction()=default
AWS_MAILMANAGER_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String