AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
PathPatternConditionConfig.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
29 public:
30 AWS_ELASTICLOADBALANCINGV2_API PathPatternConditionConfig() = default;
31 AWS_ELASTICLOADBALANCINGV2_API PathPatternConditionConfig(const Aws::Utils::Xml::XmlNode& xmlNode);
32 AWS_ELASTICLOADBALANCINGV2_API PathPatternConditionConfig& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
33
34 AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index,
35 const char* locationValue) const;
36 AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
37
39
50 inline const Aws::Vector<Aws::String>& GetValues() const { return m_values; }
51 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
52 template <typename ValuesT = Aws::Vector<Aws::String>>
53 void SetValues(ValuesT&& value) {
54 m_valuesHasBeenSet = true;
55 m_values = std::forward<ValuesT>(value);
56 }
57 template <typename ValuesT = Aws::Vector<Aws::String>>
59 SetValues(std::forward<ValuesT>(value));
60 return *this;
61 }
62 template <typename ValuesT = Aws::String>
64 m_valuesHasBeenSet = true;
65 m_values.emplace_back(std::forward<ValuesT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::Vector<Aws::String>& GetRegexValues() const { return m_regexValues; }
76 inline bool RegexValuesHasBeenSet() const { return m_regexValuesHasBeenSet; }
77 template <typename RegexValuesT = Aws::Vector<Aws::String>>
78 void SetRegexValues(RegexValuesT&& value) {
79 m_regexValuesHasBeenSet = true;
80 m_regexValues = std::forward<RegexValuesT>(value);
81 }
82 template <typename RegexValuesT = Aws::Vector<Aws::String>>
84 SetRegexValues(std::forward<RegexValuesT>(value));
85 return *this;
86 }
87 template <typename RegexValuesT = Aws::String>
89 m_regexValuesHasBeenSet = true;
90 m_regexValues.emplace_back(std::forward<RegexValuesT>(value));
91 return *this;
92 }
94 private:
96
97 Aws::Vector<Aws::String> m_regexValues;
98 bool m_valuesHasBeenSet = false;
99 bool m_regexValuesHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace ElasticLoadBalancingv2
104} // namespace Aws
AWS_ELASTICLOADBALANCINGV2_API PathPatternConditionConfig()=default
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICLOADBALANCINGV2_API PathPatternConditionConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
PathPatternConditionConfig & WithRegexValues(RegexValuesT &&value)
PathPatternConditionConfig & AddRegexValues(RegexValuesT &&value)
AWS_ELASTICLOADBALANCINGV2_API PathPatternConditionConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream