7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/AnalysisComponent.h>
12#include <aws/ec2/model/RuleGroupRuleOptionsPair.h>
13#include <aws/ec2/model/RuleGroupTypePair.h>
14#include <aws/ec2/model/RuleOption.h>
50 template <
typename AdditionalDetailTypeT = Aws::String>
52 m_additionalDetailTypeHasBeenSet =
true;
53 m_additionalDetailType = std::forward<AdditionalDetailTypeT>(value);
55 template <
typename AdditionalDetailTypeT = Aws::String>
68 template <
typename ComponentT = AnalysisComponent>
70 m_componentHasBeenSet =
true;
71 m_component = std::forward<ComponentT>(value);
73 template <
typename ComponentT = AnalysisComponent>
86 template <
typename VpcEndpo
intServiceT = AnalysisComponent>
88 m_vpcEndpointServiceHasBeenSet =
true;
89 m_vpcEndpointService = std::forward<VpcEndpointServiceT>(value);
91 template <
typename VpcEndpo
intServiceT = AnalysisComponent>
104 template <
typename RuleOptionsT = Aws::Vector<RuleOption>>
106 m_ruleOptionsHasBeenSet =
true;
107 m_ruleOptions = std::forward<RuleOptionsT>(value);
109 template <
typename RuleOptionsT = Aws::Vector<RuleOption>>
114 template <
typename RuleOptionsT = RuleOption>
116 m_ruleOptionsHasBeenSet =
true;
117 m_ruleOptions.emplace_back(std::forward<RuleOptionsT>(value));
128 template <
typename RuleGroupTypePairsT = Aws::Vector<RuleGroupTypePair>>
130 m_ruleGroupTypePairsHasBeenSet =
true;
131 m_ruleGroupTypePairs = std::forward<RuleGroupTypePairsT>(value);
133 template <
typename RuleGroupTypePairsT = Aws::Vector<RuleGroupTypePair>>
138 template <
typename RuleGroupTypePairsT = RuleGroupTypePair>
140 m_ruleGroupTypePairsHasBeenSet =
true;
141 m_ruleGroupTypePairs.emplace_back(std::forward<RuleGroupTypePairsT>(value));
152 template <
typename RuleGroupRuleOptionsPairsT = Aws::Vector<RuleGroupRuleOptionsPair>>
154 m_ruleGroupRuleOptionsPairsHasBeenSet =
true;
155 m_ruleGroupRuleOptionsPairs = std::forward<RuleGroupRuleOptionsPairsT>(value);
157 template <
typename RuleGroupRuleOptionsPairsT = Aws::Vector<RuleGroupRuleOptionsPair>>
162 template <
typename RuleGroupRuleOptionsPairsT = RuleGroupRuleOptionsPair>
164 m_ruleGroupRuleOptionsPairsHasBeenSet =
true;
165 m_ruleGroupRuleOptionsPairs.emplace_back(std::forward<RuleGroupRuleOptionsPairsT>(value));
176 template <
typename ServiceNameT = Aws::String>
178 m_serviceNameHasBeenSet =
true;
179 m_serviceName = std::forward<ServiceNameT>(value);
181 template <
typename ServiceNameT = Aws::String>
194 template <
typename LoadBalancersT = Aws::Vector<AnalysisComponent>>
196 m_loadBalancersHasBeenSet =
true;
197 m_loadBalancers = std::forward<LoadBalancersT>(value);
199 template <
typename LoadBalancersT = Aws::Vector<AnalysisComponent>>
204 template <
typename LoadBalancersT = AnalysisComponent>
206 m_loadBalancersHasBeenSet =
true;
207 m_loadBalancers.emplace_back(std::forward<LoadBalancersT>(value));
227 bool m_additionalDetailTypeHasBeenSet =
false;
228 bool m_componentHasBeenSet =
false;
229 bool m_vpcEndpointServiceHasBeenSet =
false;
230 bool m_ruleOptionsHasBeenSet =
false;
231 bool m_ruleGroupTypePairsHasBeenSet =
false;
232 bool m_ruleGroupRuleOptionsPairsHasBeenSet =
false;
233 bool m_serviceNameHasBeenSet =
false;
234 bool m_loadBalancersHasBeenSet =
false;
AdditionalDetail & WithLoadBalancers(LoadBalancersT &&value)
AWS_EC2_API AdditionalDetail()=default
AWS_EC2_API AdditionalDetail & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AdditionalDetail & WithServiceName(ServiceNameT &&value)
const AnalysisComponent & GetVpcEndpointService() const
void SetRuleGroupRuleOptionsPairs(RuleGroupRuleOptionsPairsT &&value)
AdditionalDetail & WithComponent(ComponentT &&value)
AdditionalDetail & WithRuleOptions(RuleOptionsT &&value)
AdditionalDetail & WithRuleGroupTypePairs(RuleGroupTypePairsT &&value)
bool AdditionalDetailTypeHasBeenSet() const
AdditionalDetail & WithRuleGroupRuleOptionsPairs(RuleGroupRuleOptionsPairsT &&value)
void SetRuleOptions(RuleOptionsT &&value)
AdditionalDetail & WithAdditionalDetailType(AdditionalDetailTypeT &&value)
bool RuleGroupTypePairsHasBeenSet() const
const Aws::String & GetServiceName() const
void SetComponent(ComponentT &&value)
AdditionalDetail & AddRuleGroupRuleOptionsPairs(RuleGroupRuleOptionsPairsT &&value)
AdditionalDetail & AddLoadBalancers(LoadBalancersT &&value)
bool ServiceNameHasBeenSet() const
void SetLoadBalancers(LoadBalancersT &&value)
const AnalysisComponent & GetComponent() const
void SetVpcEndpointService(VpcEndpointServiceT &&value)
const Aws::Vector< RuleGroupRuleOptionsPair > & GetRuleGroupRuleOptionsPairs() const
bool LoadBalancersHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetServiceName(ServiceNameT &&value)
AdditionalDetail & WithVpcEndpointService(VpcEndpointServiceT &&value)
bool VpcEndpointServiceHasBeenSet() const
AWS_EC2_API AdditionalDetail(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool ComponentHasBeenSet() const
void SetAdditionalDetailType(AdditionalDetailTypeT &&value)
const Aws::String & GetAdditionalDetailType() const
const Aws::Vector< RuleOption > & GetRuleOptions() const
AdditionalDetail & AddRuleGroupTypePairs(RuleGroupTypePairsT &&value)
void SetRuleGroupTypePairs(RuleGroupTypePairsT &&value)
bool RuleGroupRuleOptionsPairsHasBeenSet() const
bool RuleOptionsHasBeenSet() const
AdditionalDetail & AddRuleOptions(RuleOptionsT &&value)
const Aws::Vector< AnalysisComponent > & GetLoadBalancers() const
const Aws::Vector< RuleGroupTypePair > & GetRuleGroupTypePairs() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream