7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/mailmanager/MailManagerRequest.h>
9#include <aws/mailmanager/model/AcceptAction.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/mailmanager/model/PolicyStatement.h>
61 inline void SetMaxMessageSizeBytes(
int value) { m_maxMessageSizeBytesHasBeenSet =
true; m_maxMessageSizeBytes = value; }
87 inline void SetTrafficPolicyId(
const char* value) { m_trafficPolicyIdHasBeenSet =
true; m_trafficPolicyId.assign(value); }
101 inline void SetTrafficPolicyName(
const char* value) { m_trafficPolicyNameHasBeenSet =
true; m_trafficPolicyName.assign(value); }
109 bool m_defaultActionHasBeenSet =
false;
111 int m_maxMessageSizeBytes;
112 bool m_maxMessageSizeBytesHasBeenSet =
false;
115 bool m_policyStatementsHasBeenSet =
false;
118 bool m_trafficPolicyIdHasBeenSet =
false;
121 bool m_trafficPolicyNameHasBeenSet =
false;
UpdateTrafficPolicyRequest & WithPolicyStatements(const Aws::Vector< PolicyStatement > &value)
UpdateTrafficPolicyRequest & WithTrafficPolicyName(Aws::String &&value)
const Aws::String & GetTrafficPolicyId() const
bool TrafficPolicyIdHasBeenSet() const
void SetTrafficPolicyName(Aws::String &&value)
UpdateTrafficPolicyRequest & WithTrafficPolicyId(Aws::String &&value)
UpdateTrafficPolicyRequest & AddPolicyStatements(PolicyStatement &&value)
UpdateTrafficPolicyRequest & WithTrafficPolicyName(const char *value)
AWS_MAILMANAGER_API Aws::String SerializePayload() const override
UpdateTrafficPolicyRequest & WithDefaultAction(AcceptAction &&value)
void SetTrafficPolicyId(Aws::String &&value)
void SetPolicyStatements(const Aws::Vector< PolicyStatement > &value)
bool PolicyStatementsHasBeenSet() const
const Aws::Vector< PolicyStatement > & GetPolicyStatements() const
int GetMaxMessageSizeBytes() const
UpdateTrafficPolicyRequest & WithTrafficPolicyId(const Aws::String &value)
void SetTrafficPolicyId(const char *value)
AWS_MAILMANAGER_API UpdateTrafficPolicyRequest()
const AcceptAction & GetDefaultAction() const
bool DefaultActionHasBeenSet() const
void SetTrafficPolicyId(const Aws::String &value)
UpdateTrafficPolicyRequest & WithPolicyStatements(Aws::Vector< PolicyStatement > &&value)
const Aws::String & GetTrafficPolicyName() const
UpdateTrafficPolicyRequest & WithDefaultAction(const AcceptAction &value)
void SetTrafficPolicyName(const Aws::String &value)
void SetTrafficPolicyName(const char *value)
bool MaxMessageSizeBytesHasBeenSet() const
void SetDefaultAction(const AcceptAction &value)
UpdateTrafficPolicyRequest & AddPolicyStatements(const PolicyStatement &value)
UpdateTrafficPolicyRequest & WithTrafficPolicyName(const Aws::String &value)
UpdateTrafficPolicyRequest & WithMaxMessageSizeBytes(int value)
void SetPolicyStatements(Aws::Vector< PolicyStatement > &&value)
void SetDefaultAction(AcceptAction &&value)
AWS_MAILMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool TrafficPolicyNameHasBeenSet() const
void SetMaxMessageSizeBytes(int value)
UpdateTrafficPolicyRequest & WithTrafficPolicyId(const char *value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector