AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ApplyEnvironmentManagedActionResult.h
1
6#pragma once
7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticbeanstalk/model/ActionType.h>
10#include <aws/elasticbeanstalk/model/ResponseMetadata.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace ElasticBeanstalk
26{
27namespace Model
28{
36 {
37 public:
38 AWS_ELASTICBEANSTALK_API ApplyEnvironmentManagedActionResult() = default;
41
42
44
47 inline const Aws::String& GetActionId() const { return m_actionId; }
48 template<typename ActionIdT = Aws::String>
49 void SetActionId(ActionIdT&& value) { m_actionIdHasBeenSet = true; m_actionId = std::forward<ActionIdT>(value); }
50 template<typename ActionIdT = Aws::String>
51 ApplyEnvironmentManagedActionResult& WithActionId(ActionIdT&& value) { SetActionId(std::forward<ActionIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetActionDescription() const { return m_actionDescription; }
59 template<typename ActionDescriptionT = Aws::String>
60 void SetActionDescription(ActionDescriptionT&& value) { m_actionDescriptionHasBeenSet = true; m_actionDescription = std::forward<ActionDescriptionT>(value); }
61 template<typename ActionDescriptionT = Aws::String>
62 ApplyEnvironmentManagedActionResult& WithActionDescription(ActionDescriptionT&& value) { SetActionDescription(std::forward<ActionDescriptionT>(value)); return *this;}
64
66
69 inline ActionType GetActionType() const { return m_actionType; }
70 inline void SetActionType(ActionType value) { m_actionTypeHasBeenSet = true; m_actionType = value; }
73
75
78 inline const Aws::String& GetStatus() const { return m_status; }
79 template<typename StatusT = Aws::String>
80 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
81 template<typename StatusT = Aws::String>
82 ApplyEnvironmentManagedActionResult& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
84
86
87 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
88 template<typename ResponseMetadataT = ResponseMetadata>
89 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
90 template<typename ResponseMetadataT = ResponseMetadata>
91 ApplyEnvironmentManagedActionResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
93 private:
94
95 Aws::String m_actionId;
96 bool m_actionIdHasBeenSet = false;
97
98 Aws::String m_actionDescription;
99 bool m_actionDescriptionHasBeenSet = false;
100
101 ActionType m_actionType{ActionType::NOT_SET};
102 bool m_actionTypeHasBeenSet = false;
103
104 Aws::String m_status;
105 bool m_statusHasBeenSet = false;
106
107 ResponseMetadata m_responseMetadata;
108 bool m_responseMetadataHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace ElasticBeanstalk
113} // 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