AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
SourceIpConditionConfig.h
1
6#pragma once
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
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Xml {
17class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace ElasticLoadBalancingv2 {
21namespace Model {
22
32 public:
33 AWS_ELASTICLOADBALANCINGV2_API SourceIpConditionConfig() = default;
34 AWS_ELASTICLOADBALANCINGV2_API SourceIpConditionConfig(const Aws::Utils::Xml::XmlNode& xmlNode);
35 AWS_ELASTICLOADBALANCINGV2_API SourceIpConditionConfig& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
36
37 AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index,
38 const char* locationValue) const;
39 AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
42
53 inline const Aws::Vector<Aws::String>& GetValues() const { return m_values; }
54 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
55 template <typename ValuesT = Aws::Vector<Aws::String>>
56 void SetValues(ValuesT&& value) {
57 m_valuesHasBeenSet = true;
58 m_values = std::forward<ValuesT>(value);
59 }
60 template <typename ValuesT = Aws::Vector<Aws::String>>
62 SetValues(std::forward<ValuesT>(value));
63 return *this;
64 }
65 template <typename ValuesT = Aws::String>
67 m_valuesHasBeenSet = true;
68 m_values.emplace_back(std::forward<ValuesT>(value));
69 return *this;
70 }
72 private:
74 bool m_valuesHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace ElasticLoadBalancingv2
79} // namespace Aws
AWS_ELASTICLOADBALANCINGV2_API SourceIpConditionConfig()=default
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICLOADBALANCINGV2_API SourceIpConditionConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCINGV2_API SourceIpConditionConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream