AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
ApplyEnvironmentManagedActionResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
10#include <aws/elasticbeanstalk/model/ActionType.h>
11#include <aws/elasticbeanstalk/model/ResponseMetadata.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Xml {
21class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace ElasticBeanstalk {
25namespace Model {
33 public:
34 AWS_ELASTICBEANSTALK_API ApplyEnvironmentManagedActionResult() = default;
38
40
43 inline const Aws::String& GetActionId() const { return m_actionId; }
44 template <typename ActionIdT = Aws::String>
45 void SetActionId(ActionIdT&& value) {
46 m_actionIdHasBeenSet = true;
47 m_actionId = std::forward<ActionIdT>(value);
48 }
49 template <typename ActionIdT = Aws::String>
51 SetActionId(std::forward<ActionIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetActionDescription() const { return m_actionDescription; }
61 template <typename ActionDescriptionT = Aws::String>
62 void SetActionDescription(ActionDescriptionT&& value) {
63 m_actionDescriptionHasBeenSet = true;
64 m_actionDescription = std::forward<ActionDescriptionT>(value);
65 }
66 template <typename ActionDescriptionT = Aws::String>
68 SetActionDescription(std::forward<ActionDescriptionT>(value));
69 return *this;
70 }
72
74
77 inline ActionType GetActionType() const { return m_actionType; }
78 inline void SetActionType(ActionType value) {
79 m_actionTypeHasBeenSet = true;
80 m_actionType = value;
81 }
83 SetActionType(value);
84 return *this;
85 }
87
89
92 inline const Aws::String& GetStatus() const { return m_status; }
93 template <typename StatusT = Aws::String>
94 void SetStatus(StatusT&& value) {
95 m_statusHasBeenSet = true;
96 m_status = std::forward<StatusT>(value);
97 }
98 template <typename StatusT = Aws::String>
100 SetStatus(std::forward<StatusT>(value));
101 return *this;
102 }
104
106
107 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
108 template <typename ResponseMetadataT = ResponseMetadata>
109 void SetResponseMetadata(ResponseMetadataT&& value) {
110 m_responseMetadataHasBeenSet = true;
111 m_responseMetadata = std::forward<ResponseMetadataT>(value);
112 }
113 template <typename ResponseMetadataT = ResponseMetadata>
115 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
116 return *this;
117 }
119 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
120
121 private:
122 Aws::String m_actionId;
123
124 Aws::String m_actionDescription;
125
126 ActionType m_actionType{ActionType::NOT_SET};
127
128 Aws::String m_status;
129
130 ResponseMetadata m_responseMetadata;
131 Aws::Http::HttpResponseCode m_HttpResponseCode;
132 bool m_actionIdHasBeenSet = false;
133 bool m_actionDescriptionHasBeenSet = false;
134 bool m_actionTypeHasBeenSet = false;
135 bool m_statusHasBeenSet = false;
136 bool m_responseMetadataHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace ElasticBeanstalk
141} // namespace Aws
AWS_ELASTICBEANSTALK_API ApplyEnvironmentManagedActionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_ELASTICBEANSTALK_API ApplyEnvironmentManagedActionResult()=default
ApplyEnvironmentManagedActionResult & WithResponseMetadata(ResponseMetadataT &&value)
ApplyEnvironmentManagedActionResult & WithActionType(ActionType value)
AWS_ELASTICBEANSTALK_API ApplyEnvironmentManagedActionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ApplyEnvironmentManagedActionResult & WithActionId(ActionIdT &&value)
ApplyEnvironmentManagedActionResult & WithActionDescription(ActionDescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument