7#include <aws/core/utils/Document.h>
8#include <aws/core/utils/UUID.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/network-security-manager/NetworkSecurityManagerRequest.h>
11#include <aws/network-security-manager/NetworkSecurityManager_EXPORTS.h>
12#include <aws/network-security-manager/model/RuleType.h>
17namespace NetworkSecurityManager {
41 template <
typename RuleIdentifierT = Aws::String>
43 m_ruleIdentifierHasBeenSet =
true;
44 m_ruleIdentifier = std::forward<RuleIdentifierT>(value);
46 template <
typename RuleIdentifierT = Aws::String>
61 template <
typename UpdateTokenT = Aws::String>
63 m_updateTokenHasBeenSet =
true;
64 m_updateToken = std::forward<UpdateTokenT>(value);
66 template <
typename UpdateTokenT = Aws::String>
81 m_ruleTypeHasBeenSet =
true;
96 template <
typename RuleDescriptionT = Aws::String>
98 m_ruleDescriptionHasBeenSet =
true;
99 m_ruleDescription = std::forward<RuleDescriptionT>(value);
101 template <
typename RuleDescriptionT = Aws::String>
123 template <
typename ConfigurationT = Aws::Utils::Document>
125 m_configurationHasBeenSet =
true;
126 m_configuration = std::forward<ConfigurationT>(value);
128 template <
typename ConfigurationT = Aws::Utils::Document>
144 m_isPublishedHasBeenSet =
true;
145 m_isPublished = value;
162 template <
typename ClientTokenT = Aws::String>
164 m_clientTokenHasBeenSet =
true;
165 m_clientToken = std::forward<ClientTokenT>(value);
167 template <
typename ClientTokenT = Aws::String>
184 bool m_isPublished{
false};
187 bool m_ruleIdentifierHasBeenSet =
false;
188 bool m_updateTokenHasBeenSet =
false;
189 bool m_ruleTypeHasBeenSet =
false;
190 bool m_ruleDescriptionHasBeenSet =
false;
191 bool m_configurationHasBeenSet =
false;
192 bool m_isPublishedHasBeenSet =
false;
193 bool m_clientTokenHasBeenSet =
true;
UpdateRuleRequest & WithClientToken(ClientTokenT &&value)
void SetRuleDescription(RuleDescriptionT &&value)
UpdateRuleRequest & WithRuleIdentifier(RuleIdentifierT &&value)
bool RuleDescriptionHasBeenSet() const
void SetConfiguration(ConfigurationT &&value)
UpdateRuleRequest & WithConfiguration(ConfigurationT &&value)
void SetUpdateToken(UpdateTokenT &&value)
bool RuleTypeHasBeenSet() const
const Aws::String & GetUpdateToken() const
const Aws::String & GetRuleDescription() const
bool ClientTokenHasBeenSet() const
void SetRuleType(RuleType value)
AWS_NETWORKSECURITYMANAGER_API Aws::String SerializePayload() const override
Aws::Utils::DocumentView GetConfiguration() const
UpdateRuleRequest & WithRuleType(RuleType value)
RuleType GetRuleType() const
const Aws::String & GetRuleIdentifier() const
UpdateRuleRequest & WithUpdateToken(UpdateTokenT &&value)
bool IsPublishedHasBeenSet() const
UpdateRuleRequest & WithIsPublished(bool value)
void SetRuleIdentifier(RuleIdentifierT &&value)
bool GetIsPublished() const
virtual const char * GetServiceRequestName() const override
UpdateRuleRequest & WithRuleDescription(RuleDescriptionT &&value)
AWS_NETWORKSECURITYMANAGER_API UpdateRuleRequest()=default
void SetClientToken(ClientTokenT &&value)
bool UpdateTokenHasBeenSet() const
bool ConfigurationHasBeenSet() const
bool RuleIdentifierHasBeenSet() const
const Aws::String & GetClientToken() const
void SetIsPublished(bool value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String