AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
HttpRequestMethodConditionConfig.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
33 public:
34 AWS_ELASTICLOADBALANCINGV2_API HttpRequestMethodConditionConfig() = default;
35 AWS_ELASTICLOADBALANCINGV2_API HttpRequestMethodConditionConfig(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_ELASTICLOADBALANCINGV2_API HttpRequestMethodConditionConfig& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index,
39 const char* locationValue) const;
40 AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
43
52 inline const Aws::Vector<Aws::String>& GetValues() const { return m_values; }
53 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
54 template <typename ValuesT = Aws::Vector<Aws::String>>
55 void SetValues(ValuesT&& value) {
56 m_valuesHasBeenSet = true;
57 m_values = std::forward<ValuesT>(value);
58 }
59 template <typename ValuesT = Aws::Vector<Aws::String>>
61 SetValues(std::forward<ValuesT>(value));
62 return *this;
63 }
64 template <typename ValuesT = Aws::String>
66 m_valuesHasBeenSet = true;
67 m_values.emplace_back(std::forward<ValuesT>(value));
68 return *this;
69 }
71 private:
73 bool m_valuesHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace ElasticLoadBalancingv2
78} // namespace Aws
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICLOADBALANCINGV2_API HttpRequestMethodConditionConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICLOADBALANCINGV2_API HttpRequestMethodConditionConfig()=default
AWS_ELASTICLOADBALANCINGV2_API HttpRequestMethodConditionConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream