AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
UpdateApplicationResourceLifecycleResult.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/ApplicationResourceLifecycleConfig.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 {
27 public:
28 AWS_ELASTICBEANSTALK_API UpdateApplicationResourceLifecycleResult() = default;
33
35
38 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
39 template <typename ApplicationNameT = Aws::String>
40 void SetApplicationName(ApplicationNameT&& value) {
41 m_applicationNameHasBeenSet = true;
42 m_applicationName = std::forward<ApplicationNameT>(value);
43 }
44 template <typename ApplicationNameT = Aws::String>
46 SetApplicationName(std::forward<ApplicationNameT>(value));
47 return *this;
48 }
50
52
55 inline const ApplicationResourceLifecycleConfig& GetResourceLifecycleConfig() const { return m_resourceLifecycleConfig; }
56 template <typename ResourceLifecycleConfigT = ApplicationResourceLifecycleConfig>
57 void SetResourceLifecycleConfig(ResourceLifecycleConfigT&& value) {
58 m_resourceLifecycleConfigHasBeenSet = true;
59 m_resourceLifecycleConfig = std::forward<ResourceLifecycleConfigT>(value);
60 }
61 template <typename ResourceLifecycleConfigT = ApplicationResourceLifecycleConfig>
63 SetResourceLifecycleConfig(std::forward<ResourceLifecycleConfigT>(value));
64 return *this;
65 }
67
69
70 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
71 template <typename ResponseMetadataT = ResponseMetadata>
72 void SetResponseMetadata(ResponseMetadataT&& value) {
73 m_responseMetadataHasBeenSet = true;
74 m_responseMetadata = std::forward<ResponseMetadataT>(value);
75 }
76 template <typename ResponseMetadataT = ResponseMetadata>
78 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
79 return *this;
80 }
82 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
83
84 private:
85 Aws::String m_applicationName;
86
87 ApplicationResourceLifecycleConfig m_resourceLifecycleConfig;
88
89 ResponseMetadata m_responseMetadata;
90 Aws::Http::HttpResponseCode m_HttpResponseCode;
91 bool m_applicationNameHasBeenSet = false;
92 bool m_resourceLifecycleConfigHasBeenSet = false;
93 bool m_responseMetadataHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace ElasticBeanstalk
98} // namespace Aws
UpdateApplicationResourceLifecycleResult & WithResponseMetadata(ResponseMetadataT &&value)
UpdateApplicationResourceLifecycleResult & WithApplicationName(ApplicationNameT &&value)
AWS_ELASTICBEANSTALK_API UpdateApplicationResourceLifecycleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
UpdateApplicationResourceLifecycleResult & WithResourceLifecycleConfig(ResourceLifecycleConfigT &&value)
AWS_ELASTICBEANSTALK_API UpdateApplicationResourceLifecycleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_ELASTICBEANSTALK_API UpdateApplicationResourceLifecycleResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument