7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/WAFV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/wafv2/model/Scope.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/wafv2/model/VersionToPublish.h>
50 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
70 inline void SetScope(
const Scope& value) { m_scopeHasBeenSet =
true; m_scope = value; }
71 inline void SetScope(
Scope&& value) { m_scopeHasBeenSet =
true; m_scope = std::move(value); }
85 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
86 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
107 inline void SetLockToken(
const char* value) { m_lockTokenHasBeenSet =
true; m_lockToken.assign(value); }
122 inline void SetRecommendedVersion(
const char* value) { m_recommendedVersionHasBeenSet =
true; m_recommendedVersion.assign(value); }
149 bool m_nameHasBeenSet =
false;
152 bool m_scopeHasBeenSet =
false;
155 bool m_idHasBeenSet =
false;
158 bool m_lockTokenHasBeenSet =
false;
161 bool m_recommendedVersionHasBeenSet =
false;
164 bool m_versionsToPublishHasBeenSet =
false;
AWS_WAFV2_API Aws::String SerializePayload() const override
void SetRecommendedVersion(Aws::String &&value)
bool RecommendedVersionHasBeenSet() const
void SetLockToken(Aws::String &&value)
PutManagedRuleSetVersionsRequest & AddVersionsToPublish(Aws::String &&key, const VersionToPublish &value)
const Aws::Map< Aws::String, VersionToPublish > & GetVersionsToPublish() const
PutManagedRuleSetVersionsRequest & WithRecommendedVersion(const char *value)
void SetRecommendedVersion(const Aws::String &value)
PutManagedRuleSetVersionsRequest & AddVersionsToPublish(const char *key, const VersionToPublish &value)
PutManagedRuleSetVersionsRequest & WithRecommendedVersion(const Aws::String &value)
PutManagedRuleSetVersionsRequest & WithName(const char *value)
void SetScope(Scope &&value)
const Aws::String & GetRecommendedVersion() const
void SetId(const char *value)
PutManagedRuleSetVersionsRequest & AddVersionsToPublish(const Aws::String &key, VersionToPublish &&value)
void SetLockToken(const char *value)
virtual const char * GetServiceRequestName() const override
PutManagedRuleSetVersionsRequest & WithVersionsToPublish(Aws::Map< Aws::String, VersionToPublish > &&value)
PutManagedRuleSetVersionsRequest & WithVersionsToPublish(const Aws::Map< Aws::String, VersionToPublish > &value)
void SetVersionsToPublish(Aws::Map< Aws::String, VersionToPublish > &&value)
PutManagedRuleSetVersionsRequest & WithLockToken(Aws::String &&value)
const Aws::String & GetLockToken() const
bool ScopeHasBeenSet() const
AWS_WAFV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutManagedRuleSetVersionsRequest & AddVersionsToPublish(const Aws::String &key, const VersionToPublish &value)
PutManagedRuleSetVersionsRequest & WithName(Aws::String &&value)
bool LockTokenHasBeenSet() const
PutManagedRuleSetVersionsRequest & WithScope(Scope &&value)
bool NameHasBeenSet() const
PutManagedRuleSetVersionsRequest & WithId(const Aws::String &value)
const Scope & GetScope() const
PutManagedRuleSetVersionsRequest & WithLockToken(const char *value)
bool VersionsToPublishHasBeenSet() const
PutManagedRuleSetVersionsRequest & WithId(Aws::String &&value)
bool IdHasBeenSet() const
PutManagedRuleSetVersionsRequest & WithRecommendedVersion(Aws::String &&value)
PutManagedRuleSetVersionsRequest & WithLockToken(const Aws::String &value)
const Aws::String & GetName() const
void SetVersionsToPublish(const Aws::Map< Aws::String, VersionToPublish > &value)
void SetId(const Aws::String &value)
AWS_WAFV2_API PutManagedRuleSetVersionsRequest()
void SetRecommendedVersion(const char *value)
void SetName(const char *value)
void SetId(Aws::String &&value)
void SetName(const Aws::String &value)
const Aws::String & GetId() const
PutManagedRuleSetVersionsRequest & AddVersionsToPublish(Aws::String &&key, VersionToPublish &&value)
PutManagedRuleSetVersionsRequest & WithName(const Aws::String &value)
PutManagedRuleSetVersionsRequest & WithScope(const Scope &value)
PutManagedRuleSetVersionsRequest & AddVersionsToPublish(const char *key, VersionToPublish &&value)
PutManagedRuleSetVersionsRequest & WithId(const char *value)
void SetScope(const Scope &value)
void SetLockToken(const Aws::String &value)
void SetName(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String