7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/core/utils/DateTime.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>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
139 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
152 int m_maxMessageSizeBytes;
void SetTrafficPolicyName(const char *value)
AWS_MAILMANAGER_API GetTrafficPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< PolicyStatement > & GetPolicyStatements() const
GetTrafficPolicyResult & WithMaxMessageSizeBytes(int value)
const Aws::String & GetTrafficPolicyArn() const
GetTrafficPolicyResult & WithTrafficPolicyArn(const Aws::String &value)
AWS_MAILMANAGER_API GetTrafficPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDefaultAction(const AcceptAction &value)
GetTrafficPolicyResult & WithRequestId(const Aws::String &value)
GetTrafficPolicyResult & AddPolicyStatements(const PolicyStatement &value)
void SetTrafficPolicyArn(Aws::String &&value)
AWS_MAILMANAGER_API GetTrafficPolicyResult()
GetTrafficPolicyResult & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
GetTrafficPolicyResult & WithTrafficPolicyId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
void SetDefaultAction(AcceptAction &&value)
const AcceptAction & GetDefaultAction() const
void SetTrafficPolicyName(Aws::String &&value)
GetTrafficPolicyResult & AddPolicyStatements(PolicyStatement &&value)
GetTrafficPolicyResult & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
void SetTrafficPolicyId(const Aws::String &value)
GetTrafficPolicyResult & WithTrafficPolicyId(const char *value)
GetTrafficPolicyResult & WithLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
GetTrafficPolicyResult & WithTrafficPolicyArn(Aws::String &&value)
void SetTrafficPolicyName(const Aws::String &value)
GetTrafficPolicyResult & WithTrafficPolicyId(Aws::String &&value)
GetTrafficPolicyResult & WithTrafficPolicyArn(const char *value)
void SetTrafficPolicyId(Aws::String &&value)
GetTrafficPolicyResult & WithDefaultAction(AcceptAction &&value)
const Aws::Utils::DateTime & GetLastUpdatedTimestamp() const
const Aws::String & GetTrafficPolicyId() const
void SetRequestId(Aws::String &&value)
GetTrafficPolicyResult & WithPolicyStatements(const Aws::Vector< PolicyStatement > &value)
void SetPolicyStatements(Aws::Vector< PolicyStatement > &&value)
GetTrafficPolicyResult & WithTrafficPolicyName(const Aws::String &value)
const Aws::String & GetTrafficPolicyName() const
GetTrafficPolicyResult & WithPolicyStatements(Aws::Vector< PolicyStatement > &&value)
void SetTrafficPolicyArn(const Aws::String &value)
GetTrafficPolicyResult & WithTrafficPolicyName(const char *value)
GetTrafficPolicyResult & WithLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
GetTrafficPolicyResult & WithRequestId(Aws::String &&value)
void SetLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
void SetMaxMessageSizeBytes(int value)
GetTrafficPolicyResult & WithRequestId(const char *value)
const Aws::String & GetRequestId() const
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
void SetLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
int GetMaxMessageSizeBytes() const
void SetTrafficPolicyArn(const char *value)
void SetPolicyStatements(const Aws::Vector< PolicyStatement > &value)
void SetRequestId(const Aws::String &value)
void SetTrafficPolicyId(const char *value)
GetTrafficPolicyResult & WithDefaultAction(const AcceptAction &value)
GetTrafficPolicyResult & WithTrafficPolicyName(Aws::String &&value)
void SetRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue