7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/vpc-lattice/VPCLatticeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/vpc-lattice/model/RuleUpdate.h>
43 template<
typename ListenerIdentifierT = Aws::String>
44 void SetListenerIdentifier(ListenerIdentifierT&& value) { m_listenerIdentifierHasBeenSet =
true; m_listenerIdentifier = std::forward<ListenerIdentifierT>(value); }
45 template<
typename ListenerIdentifierT = Aws::String>
55 template<
typename RulesT = Aws::Vector<RuleUpdate>>
56 void SetRules(RulesT&& value) { m_rulesHasBeenSet =
true; m_rules = std::forward<RulesT>(value); }
57 template<
typename RulesT = Aws::Vector<RuleUpdate>>
59 template<
typename RulesT = RuleUpdate>
69 template<
typename ServiceIdentifierT = Aws::String>
70 void SetServiceIdentifier(ServiceIdentifierT&& value) { m_serviceIdentifierHasBeenSet =
true; m_serviceIdentifier = std::forward<ServiceIdentifierT>(value); }
71 template<
typename ServiceIdentifierT = Aws::String>
77 bool m_listenerIdentifierHasBeenSet =
false;
80 bool m_rulesHasBeenSet =
false;
83 bool m_serviceIdentifierHasBeenSet =
false;
void SetServiceIdentifier(ServiceIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
AWS_VPCLATTICE_API BatchUpdateRuleRequest()=default
AWS_VPCLATTICE_API Aws::String SerializePayload() const override
void SetRules(RulesT &&value)
bool RulesHasBeenSet() const
BatchUpdateRuleRequest & WithServiceIdentifier(ServiceIdentifierT &&value)
const Aws::String & GetListenerIdentifier() const
const Aws::Vector< RuleUpdate > & GetRules() const
void SetListenerIdentifier(ListenerIdentifierT &&value)
BatchUpdateRuleRequest & WithRules(RulesT &&value)
const Aws::String & GetServiceIdentifier() const
bool ServiceIdentifierHasBeenSet() const
BatchUpdateRuleRequest & AddRules(RulesT &&value)
BatchUpdateRuleRequest & WithListenerIdentifier(ListenerIdentifierT &&value)
bool ListenerIdentifierHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector