AWS SDK for C++

AWS SDK for C++ Version 1.11.873

Loading...
Searching...
No Matches
UnsuccessfulAssociationResponseObject.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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace EC2 {
20namespace Model {
21
29 public:
33
34 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
35 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
36
38
41 inline const Aws::String& GetApplicationStatusCheckId() const { return m_applicationStatusCheckId; }
42 inline bool ApplicationStatusCheckIdHasBeenSet() const { return m_applicationStatusCheckIdHasBeenSet; }
43 template <typename ApplicationStatusCheckIdT = Aws::String>
44 void SetApplicationStatusCheckId(ApplicationStatusCheckIdT&& value) {
45 m_applicationStatusCheckIdHasBeenSet = true;
46 m_applicationStatusCheckId = std::forward<ApplicationStatusCheckIdT>(value);
47 }
48 template <typename ApplicationStatusCheckIdT = Aws::String>
50 SetApplicationStatusCheckId(std::forward<ApplicationStatusCheckIdT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetAssociationType() const { return m_associationType; }
61 inline bool AssociationTypeHasBeenSet() const { return m_associationTypeHasBeenSet; }
62 template <typename AssociationTypeT = Aws::String>
63 void SetAssociationType(AssociationTypeT&& value) {
64 m_associationTypeHasBeenSet = true;
65 m_associationType = std::forward<AssociationTypeT>(value);
66 }
67 template <typename AssociationTypeT = Aws::String>
69 SetAssociationType(std::forward<AssociationTypeT>(value));
70 return *this;
71 }
73
75
80 inline const Aws::String& GetAssociationValue() const { return m_associationValue; }
81 inline bool AssociationValueHasBeenSet() const { return m_associationValueHasBeenSet; }
82 template <typename AssociationValueT = Aws::String>
83 void SetAssociationValue(AssociationValueT&& value) {
84 m_associationValueHasBeenSet = true;
85 m_associationValue = std::forward<AssociationValueT>(value);
86 }
87 template <typename AssociationValueT = Aws::String>
89 SetAssociationValue(std::forward<AssociationValueT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::String& GetReason() const { return m_reason; }
99 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
100 template <typename ReasonT = Aws::String>
101 void SetReason(ReasonT&& value) {
102 m_reasonHasBeenSet = true;
103 m_reason = std::forward<ReasonT>(value);
104 }
105 template <typename ReasonT = Aws::String>
107 SetReason(std::forward<ReasonT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_applicationStatusCheckId;
113
114 Aws::String m_associationType;
115
116 Aws::String m_associationValue;
117
118 Aws::String m_reason;
119 bool m_applicationStatusCheckIdHasBeenSet = false;
120 bool m_associationTypeHasBeenSet = false;
121 bool m_associationValueHasBeenSet = false;
122 bool m_reasonHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace EC2
127} // namespace Aws
AWS_EC2_API UnsuccessfulAssociationResponseObject(const Aws::Utils::Xml::XmlNode &xmlNode)
UnsuccessfulAssociationResponseObject & WithApplicationStatusCheckId(ApplicationStatusCheckIdT &&value)
AWS_EC2_API UnsuccessfulAssociationResponseObject & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
UnsuccessfulAssociationResponseObject & WithAssociationValue(AssociationValueT &&value)
UnsuccessfulAssociationResponseObject & WithAssociationType(AssociationTypeT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
UnsuccessfulAssociationResponseObject & WithReason(ReasonT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream