AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
UpdateApplicationResourceLifecycleResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
9#include <aws/elasticbeanstalk/model/ApplicationResourceLifecycleConfig.h>
10#include <aws/elasticbeanstalk/model/ResponseMetadata.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Xml {
20class XmlDocument;
21} // namespace Xml
22} // namespace Utils
23namespace ElasticBeanstalk {
24namespace Model {
26 public:
27 AWS_ELASTICBEANSTALK_API UpdateApplicationResourceLifecycleResult() = default;
32
34
37 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
38 template <typename ApplicationNameT = Aws::String>
39 void SetApplicationName(ApplicationNameT&& value) {
40 m_applicationNameHasBeenSet = true;
41 m_applicationName = std::forward<ApplicationNameT>(value);
42 }
43 template <typename ApplicationNameT = Aws::String>
45 SetApplicationName(std::forward<ApplicationNameT>(value));
46 return *this;
47 }
49
51
54 inline const ApplicationResourceLifecycleConfig& GetResourceLifecycleConfig() const { return m_resourceLifecycleConfig; }
55 template <typename ResourceLifecycleConfigT = ApplicationResourceLifecycleConfig>
56 void SetResourceLifecycleConfig(ResourceLifecycleConfigT&& value) {
57 m_resourceLifecycleConfigHasBeenSet = true;
58 m_resourceLifecycleConfig = std::forward<ResourceLifecycleConfigT>(value);
59 }
60 template <typename ResourceLifecycleConfigT = ApplicationResourceLifecycleConfig>
62 SetResourceLifecycleConfig(std::forward<ResourceLifecycleConfigT>(value));
63 return *this;
64 }
66
68
69 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
70 template <typename ResponseMetadataT = ResponseMetadata>
71 void SetResponseMetadata(ResponseMetadataT&& value) {
72 m_responseMetadataHasBeenSet = true;
73 m_responseMetadata = std::forward<ResponseMetadataT>(value);
74 }
75 template <typename ResponseMetadataT = ResponseMetadata>
77 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
78 return *this;
79 }
81 private:
82 Aws::String m_applicationName;
83
84 ApplicationResourceLifecycleConfig m_resourceLifecycleConfig;
85
86 ResponseMetadata m_responseMetadata;
87 bool m_applicationNameHasBeenSet = false;
88 bool m_resourceLifecycleConfigHasBeenSet = false;
89 bool m_responseMetadataHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace ElasticBeanstalk
94} // 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