7#include <aws/waf/WAF_EXPORTS.h>
8#include <aws/waf/model/Rule.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
42 inline void SetRule(
Rule&& value) { m_rule = std::move(value); }
56 inline void SetChangeToken(
const char* value) { m_changeToken.assign(value); }
67 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
AWS_WAF_API CreateRuleResult()
CreateRuleResult & WithRequestId(const Aws::String &value)
CreateRuleResult & WithChangeToken(const Aws::String &value)
void SetChangeToken(Aws::String &&value)
CreateRuleResult & WithRequestId(Aws::String &&value)
void SetRequestId(const char *value)
CreateRuleResult & WithRule(const Rule &value)
AWS_WAF_API CreateRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_WAF_API CreateRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetChangeToken(const char *value)
const Aws::String & GetChangeToken() const
CreateRuleResult & WithChangeToken(const char *value)
CreateRuleResult & WithChangeToken(Aws::String &&value)
const Rule & GetRule() const
void SetRule(Rule &&value)
const Aws::String & GetRequestId() const
void SetRequestId(Aws::String &&value)
void SetRequestId(const Aws::String &value)
void SetRule(const Rule &value)
CreateRuleResult & WithRule(Rule &&value)
CreateRuleResult & WithRequestId(const char *value)
void SetChangeToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue