AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
UpdateApplicationResourceLifecycleRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elasticbeanstalk/ElasticBeanstalkRequest.h>
9#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
10#include <aws/elasticbeanstalk/model/ApplicationResourceLifecycleConfig.h>
11
12#include <utility>
13
14namespace Aws {
15namespace ElasticBeanstalk {
16namespace Model {
17
21 public:
22 AWS_ELASTICBEANSTALK_API UpdateApplicationResourceLifecycleRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateApplicationResourceLifecycle"; }
29
30 AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override;
31
32 protected:
33 AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
34
35 public:
37
40 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
41 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
42 template <typename ApplicationNameT = Aws::String>
43 void SetApplicationName(ApplicationNameT&& value) {
44 m_applicationNameHasBeenSet = true;
45 m_applicationName = std::forward<ApplicationNameT>(value);
46 }
47 template <typename ApplicationNameT = Aws::String>
49 SetApplicationName(std::forward<ApplicationNameT>(value));
50 return *this;
51 }
53
55
58 inline const ApplicationResourceLifecycleConfig& GetResourceLifecycleConfig() const { return m_resourceLifecycleConfig; }
59 inline bool ResourceLifecycleConfigHasBeenSet() const { return m_resourceLifecycleConfigHasBeenSet; }
60 template <typename ResourceLifecycleConfigT = ApplicationResourceLifecycleConfig>
61 void SetResourceLifecycleConfig(ResourceLifecycleConfigT&& value) {
62 m_resourceLifecycleConfigHasBeenSet = true;
63 m_resourceLifecycleConfig = std::forward<ResourceLifecycleConfigT>(value);
64 }
65 template <typename ResourceLifecycleConfigT = ApplicationResourceLifecycleConfig>
67 SetResourceLifecycleConfig(std::forward<ResourceLifecycleConfigT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_applicationName;
73
74 ApplicationResourceLifecycleConfig m_resourceLifecycleConfig;
75 bool m_applicationNameHasBeenSet = false;
76 bool m_resourceLifecycleConfigHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace ElasticBeanstalk
81} // namespace Aws
UpdateApplicationResourceLifecycleRequest & WithApplicationName(ApplicationNameT &&value)
AWS_ELASTICBEANSTALK_API UpdateApplicationResourceLifecycleRequest()=default
AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override
UpdateApplicationResourceLifecycleRequest & WithResourceLifecycleConfig(ResourceLifecycleConfigT &&value)
AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String