AWS SDK for C++

AWS SDK for C++ Version 1.11.887

Loading...
Searching...
No Matches
TargetGroupAttribute.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/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace ElasticLoadBalancingv2 {
20namespace Model {
21
28 public:
29 AWS_ELASTICLOADBALANCINGV2_API TargetGroupAttribute() = default;
30 AWS_ELASTICLOADBALANCINGV2_API TargetGroupAttribute(const Aws::Utils::Xml::XmlNode& xmlNode);
31 AWS_ELASTICLOADBALANCINGV2_API TargetGroupAttribute& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
32
33 AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index,
34 const char* locationValue) const;
35 AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
36
38
179 inline const Aws::String& GetKey() const { return m_key; }
180 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
181 template <typename KeyT = Aws::String>
182 void SetKey(KeyT&& value) {
183 m_keyHasBeenSet = true;
184 m_key = std::forward<KeyT>(value);
185 }
186 template <typename KeyT = Aws::String>
188 SetKey(std::forward<KeyT>(value));
189 return *this;
190 }
192
194
197 inline const Aws::String& GetValue() const { return m_value; }
198 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
199 template <typename ValueT = Aws::String>
200 void SetValue(ValueT&& value) {
201 m_valueHasBeenSet = true;
202 m_value = std::forward<ValueT>(value);
203 }
204 template <typename ValueT = Aws::String>
206 SetValue(std::forward<ValueT>(value));
207 return *this;
208 }
210 private:
211 Aws::String m_key;
212
213 Aws::String m_value;
214 bool m_keyHasBeenSet = false;
215 bool m_valueHasBeenSet = false;
216};
217
218} // namespace Model
219} // namespace ElasticLoadBalancingv2
220} // namespace Aws
AWS_ELASTICLOADBALANCINGV2_API TargetGroupAttribute()=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 TargetGroupAttribute & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCINGV2_API TargetGroupAttribute(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream