7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/mailmanager/model/AcceptAction.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
64 inline void SetTrafficPolicyId(
const char* value) { m_trafficPolicyIdHasBeenSet =
true; m_trafficPolicyId.assign(value); }
78 inline void SetTrafficPolicyName(
const char* value) { m_trafficPolicyNameHasBeenSet =
true; m_trafficPolicyName.assign(value); }
86 bool m_defaultActionHasBeenSet =
false;
89 bool m_trafficPolicyIdHasBeenSet =
false;
92 bool m_trafficPolicyNameHasBeenSet =
false;
bool DefaultActionHasBeenSet() const
AWS_MAILMANAGER_API TrafficPolicy()
const Aws::String & GetTrafficPolicyId() const
void SetTrafficPolicyId(Aws::String &&value)
const AcceptAction & GetDefaultAction() const
TrafficPolicy & WithTrafficPolicyId(const Aws::String &value)
void SetDefaultAction(const AcceptAction &value)
TrafficPolicy & WithTrafficPolicyId(Aws::String &&value)
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
bool TrafficPolicyIdHasBeenSet() const
const Aws::String & GetTrafficPolicyName() const
void SetDefaultAction(AcceptAction &&value)
TrafficPolicy & WithTrafficPolicyId(const char *value)
TrafficPolicy & WithTrafficPolicyName(const Aws::String &value)
TrafficPolicy & WithTrafficPolicyName(const char *value)
void SetTrafficPolicyName(const char *value)
void SetTrafficPolicyId(const Aws::String &value)
void SetTrafficPolicyName(const Aws::String &value)
TrafficPolicy & WithDefaultAction(const AcceptAction &value)
bool TrafficPolicyNameHasBeenSet() const
AWS_MAILMANAGER_API TrafficPolicy(Aws::Utils::Json::JsonView jsonValue)
void SetTrafficPolicyId(const char *value)
void SetTrafficPolicyName(Aws::String &&value)
TrafficPolicy & WithTrafficPolicyName(Aws::String &&value)
AWS_MAILMANAGER_API TrafficPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
TrafficPolicy & WithDefaultAction(AcceptAction &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue