AWS SDK for C++

AWS SDK for C++ Version 1.11.873

Loading...
Searching...
No Matches
ApplicationStatusCheckAssociationObject.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/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/AssociationTypeEnum.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Xml {
17class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace EC2 {
21namespace Model {
22
32 public:
36
37 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
38 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
39
41
44 inline const Aws::String& GetApplicationStatusCheckId() const { return m_applicationStatusCheckId; }
45 inline bool ApplicationStatusCheckIdHasBeenSet() const { return m_applicationStatusCheckIdHasBeenSet; }
46 template <typename ApplicationStatusCheckIdT = Aws::String>
47 void SetApplicationStatusCheckId(ApplicationStatusCheckIdT&& value) {
48 m_applicationStatusCheckIdHasBeenSet = true;
49 m_applicationStatusCheckId = std::forward<ApplicationStatusCheckIdT>(value);
50 }
51 template <typename ApplicationStatusCheckIdT = Aws::String>
53 SetApplicationStatusCheckId(std::forward<ApplicationStatusCheckIdT>(value));
54 return *this;
55 }
57
59
66 inline AssociationTypeEnum GetAssociationType() const { return m_associationType; }
67 inline bool AssociationTypeHasBeenSet() const { return m_associationTypeHasBeenSet; }
69 m_associationTypeHasBeenSet = true;
70 m_associationType = value;
71 }
73 SetAssociationType(value);
74 return *this;
75 }
77
79
84 inline const Aws::String& GetKey() const { return m_key; }
85 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
86 template <typename KeyT = Aws::String>
87 void SetKey(KeyT&& value) {
88 m_keyHasBeenSet = true;
89 m_key = std::forward<KeyT>(value);
90 }
91 template <typename KeyT = Aws::String>
93 SetKey(std::forward<KeyT>(value));
94 return *this;
95 }
97
99
104 inline const Aws::String& GetValue() const { return m_value; }
105 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
106 template <typename ValueT = Aws::String>
107 void SetValue(ValueT&& value) {
108 m_valueHasBeenSet = true;
109 m_value = std::forward<ValueT>(value);
110 }
111 template <typename ValueT = Aws::String>
113 SetValue(std::forward<ValueT>(value));
114 return *this;
115 }
117 private:
118 Aws::String m_applicationStatusCheckId;
119
121
122 Aws::String m_key;
123
124 Aws::String m_value;
125 bool m_applicationStatusCheckIdHasBeenSet = false;
126 bool m_associationTypeHasBeenSet = false;
127 bool m_keyHasBeenSet = false;
128 bool m_valueHasBeenSet = false;
129};
130
131} // namespace Model
132} // namespace EC2
133} // namespace Aws
AWS_EC2_API ApplicationStatusCheckAssociationObject & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API ApplicationStatusCheckAssociationObject(const Aws::Utils::Xml::XmlNode &xmlNode)
ApplicationStatusCheckAssociationObject & WithAssociationType(AssociationTypeEnum value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ApplicationStatusCheckAssociationObject & WithApplicationStatusCheckId(ApplicationStatusCheckIdT &&value)
ApplicationStatusCheckAssociationObject & WithValue(ValueT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ApplicationStatusCheckAssociationObject & WithKey(KeyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream