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/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
11#include <aws/elasticloadbalancingv2/model/SourceIpAddressTypeEnum.h>
21namespace ElasticLoadBalancingv2 {
42 const char* locationValue)
const;
59 template <
typename ValuesT = Aws::Vector<Aws::String>>
61 m_valuesHasBeenSet =
true;
62 m_values = std::forward<ValuesT>(value);
64 template <
typename ValuesT = Aws::Vector<Aws::String>>
69 template <
typename ValuesT = Aws::String>
71 m_valuesHasBeenSet =
true;
72 m_values.emplace_back(std::forward<ValuesT>(value));
86 m_ipAddressTypeHasBeenSet =
true;
87 m_ipAddressType = value;
98 bool m_valuesHasBeenSet =
false;
99 bool m_ipAddressTypeHasBeenSet =
false;
SourceIpConditionConfig & AddValues(ValuesT &&value)
AWS_ELASTICLOADBALANCINGV2_API SourceIpConditionConfig()=default
bool IpAddressTypeHasBeenSet() const
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetIpAddressType(SourceIpAddressTypeEnum value)
SourceIpAddressTypeEnum GetIpAddressType() const
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICLOADBALANCINGV2_API SourceIpConditionConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
SourceIpConditionConfig & WithValues(ValuesT &&value)
bool ValuesHasBeenSet() const
const Aws::Vector< Aws::String > & GetValues() const
void SetValues(ValuesT &&value)
AWS_ELASTICLOADBALANCINGV2_API SourceIpConditionConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
SourceIpConditionConfig & WithIpAddressType(SourceIpAddressTypeEnum value)
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream