AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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