AWS SDK for C++

AWS SDK for C++ Version 1.11.873

Loading...
Searching...
No Matches
SuccessfulAssociationResponseObject.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:
30 AWS_EC2_API SuccessfulAssociationResponseObject() = default;
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 private:
94 Aws::String m_applicationStatusCheckId;
95
96 Aws::String m_associationType;
97
98 Aws::String m_associationValue;
99 bool m_applicationStatusCheckIdHasBeenSet = false;
100 bool m_associationTypeHasBeenSet = false;
101 bool m_associationValueHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace EC2
106} // namespace Aws
SuccessfulAssociationResponseObject & WithApplicationStatusCheckId(ApplicationStatusCheckIdT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API SuccessfulAssociationResponseObject & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
SuccessfulAssociationResponseObject & WithAssociationValue(AssociationValueT &&value)
AWS_EC2_API SuccessfulAssociationResponseObject(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
SuccessfulAssociationResponseObject & WithAssociationType(AssociationTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream