AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AdditionalAttribute.h
1
6#pragma once
7#include <aws/elasticloadbalancing/ElasticLoadBalancing_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace ElasticLoadBalancing
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_ELASTICLOADBALANCING_API AdditionalAttribute() = default;
36 AWS_ELASTICLOADBALANCING_API AdditionalAttribute(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_ELASTICLOADBALANCING_API AdditionalAttribute& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_ELASTICLOADBALANCING_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_ELASTICLOADBALANCING_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
52 inline const Aws::String& GetKey() const { return m_key; }
53 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
54 template<typename KeyT = Aws::String>
55 void SetKey(KeyT&& value) { m_keyHasBeenSet = true; m_key = std::forward<KeyT>(value); }
56 template<typename KeyT = Aws::String>
57 AdditionalAttribute& WithKey(KeyT&& value) { SetKey(std::forward<KeyT>(value)); return *this;}
59
61
64 inline const Aws::String& GetValue() const { return m_value; }
65 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
66 template<typename ValueT = Aws::String>
67 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
68 template<typename ValueT = Aws::String>
69 AdditionalAttribute& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
71 private:
72
73 Aws::String m_key;
74 bool m_keyHasBeenSet = false;
75
76 Aws::String m_value;
77 bool m_valueHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace ElasticLoadBalancing
82} // namespace Aws
AWS_ELASTICLOADBALANCING_API AdditionalAttribute & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICLOADBALANCING_API AdditionalAttribute(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICLOADBALANCING_API AdditionalAttribute()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream