AWS SDK for C++  1.9.123
AWS SDK for C++
UpdateApplicationResourceLifecycleRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace ElasticBeanstalk
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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::String SerializePayload() const override;
34 
35  protected:
36  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37 
38  public:
39 
43  inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
44 
48  inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
49 
53  inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
54 
58  inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
59 
63  inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
64 
68  inline UpdateApplicationResourceLifecycleRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
69 
73  inline UpdateApplicationResourceLifecycleRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
74 
78  inline UpdateApplicationResourceLifecycleRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
79 
80 
84  inline const ApplicationResourceLifecycleConfig& GetResourceLifecycleConfig() const{ return m_resourceLifecycleConfig; }
85 
89  inline bool ResourceLifecycleConfigHasBeenSet() const { return m_resourceLifecycleConfigHasBeenSet; }
90 
94  inline void SetResourceLifecycleConfig(const ApplicationResourceLifecycleConfig& value) { m_resourceLifecycleConfigHasBeenSet = true; m_resourceLifecycleConfig = value; }
95 
99  inline void SetResourceLifecycleConfig(ApplicationResourceLifecycleConfig&& value) { m_resourceLifecycleConfigHasBeenSet = true; m_resourceLifecycleConfig = std::move(value); }
100 
104  inline UpdateApplicationResourceLifecycleRequest& WithResourceLifecycleConfig(const ApplicationResourceLifecycleConfig& value) { SetResourceLifecycleConfig(value); return *this;}
105 
109  inline UpdateApplicationResourceLifecycleRequest& WithResourceLifecycleConfig(ApplicationResourceLifecycleConfig&& value) { SetResourceLifecycleConfig(std::move(value)); return *this;}
110 
111  private:
112 
113  Aws::String m_applicationName;
114  bool m_applicationNameHasBeenSet;
115 
116  ApplicationResourceLifecycleConfig m_resourceLifecycleConfig;
117  bool m_resourceLifecycleConfigHasBeenSet;
118  };
119 
120 } // namespace Model
121 } // namespace ElasticBeanstalk
122 } // namespace Aws
Aws::ElasticBeanstalk::Model::UpdateApplicationResourceLifecycleRequest::SetResourceLifecycleConfig
void SetResourceLifecycleConfig(const ApplicationResourceLifecycleConfig &value)
Definition: UpdateApplicationResourceLifecycleRequest.h:94
Aws::ElasticBeanstalk::Model::UpdateApplicationResourceLifecycleRequest::UpdateApplicationResourceLifecycleRequest
UpdateApplicationResourceLifecycleRequest()
Aws::Http::URI
Definition: URI.h:32
Aws::ElasticBeanstalk::Model::UpdateApplicationResourceLifecycleRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_ELASTICBEANSTALK_API
#define AWS_ELASTICBEANSTALK_API
Definition: ElasticBeanstalk_EXPORTS.h:28
Aws::ElasticBeanstalk::Model::UpdateApplicationResourceLifecycleRequest::ResourceLifecycleConfigHasBeenSet
bool ResourceLifecycleConfigHasBeenSet() const
Definition: UpdateApplicationResourceLifecycleRequest.h:89
Aws::ElasticBeanstalk::Model::UpdateApplicationResourceLifecycleRequest
Definition: UpdateApplicationResourceLifecycleRequest.h:23
Aws::ElasticBeanstalk::Model::UpdateApplicationResourceLifecycleRequest::SetApplicationName
void SetApplicationName(const Aws::String &value)
Definition: UpdateApplicationResourceLifecycleRequest.h:53
Aws::ElasticBeanstalk::Model::UpdateApplicationResourceLifecycleRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateApplicationResourceLifecycleRequest.h:31
ApplicationResourceLifecycleConfig.h
ElasticBeanstalkRequest.h
Aws::ElasticBeanstalk::Model::UpdateApplicationResourceLifecycleRequest::WithApplicationName
UpdateApplicationResourceLifecycleRequest & WithApplicationName(const Aws::String &value)
Definition: UpdateApplicationResourceLifecycleRequest.h:68
Aws::ElasticBeanstalk::Model::UpdateApplicationResourceLifecycleRequest::SetResourceLifecycleConfig
void SetResourceLifecycleConfig(ApplicationResourceLifecycleConfig &&value)
Definition: UpdateApplicationResourceLifecycleRequest.h:99
Aws::ElasticBeanstalk::Model::UpdateApplicationResourceLifecycleRequest::WithResourceLifecycleConfig
UpdateApplicationResourceLifecycleRequest & WithResourceLifecycleConfig(const ApplicationResourceLifecycleConfig &value)
Definition: UpdateApplicationResourceLifecycleRequest.h:104
Aws::ElasticBeanstalk::Model::UpdateApplicationResourceLifecycleRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::ElasticBeanstalk::Model::UpdateApplicationResourceLifecycleRequest::WithApplicationName
UpdateApplicationResourceLifecycleRequest & WithApplicationName(Aws::String &&value)
Definition: UpdateApplicationResourceLifecycleRequest.h:73
Aws::ElasticBeanstalk::Model::UpdateApplicationResourceLifecycleRequest::SetApplicationName
void SetApplicationName(Aws::String &&value)
Definition: UpdateApplicationResourceLifecycleRequest.h:58
Aws::ElasticBeanstalk::Model::UpdateApplicationResourceLifecycleRequest::GetApplicationName
const Aws::String & GetApplicationName() const
Definition: UpdateApplicationResourceLifecycleRequest.h:43
AWSString.h
Aws::ElasticBeanstalk::Model::ApplicationResourceLifecycleConfig
Definition: ApplicationResourceLifecycleConfig.h:37
Aws::ElasticBeanstalk::Model::UpdateApplicationResourceLifecycleRequest::WithApplicationName
UpdateApplicationResourceLifecycleRequest & WithApplicationName(const char *value)
Definition: UpdateApplicationResourceLifecycleRequest.h:78
Aws::ElasticBeanstalk::Model::UpdateApplicationResourceLifecycleRequest::WithResourceLifecycleConfig
UpdateApplicationResourceLifecycleRequest & WithResourceLifecycleConfig(ApplicationResourceLifecycleConfig &&value)
Definition: UpdateApplicationResourceLifecycleRequest.h:109
ElasticBeanstalk_EXPORTS.h
Aws::ElasticBeanstalk::Model::UpdateApplicationResourceLifecycleRequest::GetResourceLifecycleConfig
const ApplicationResourceLifecycleConfig & GetResourceLifecycleConfig() const
Definition: UpdateApplicationResourceLifecycleRequest.h:84
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticBeanstalk::ElasticBeanstalkRequest
Definition: ElasticBeanstalkRequest.h:17
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticBeanstalk::Model::UpdateApplicationResourceLifecycleRequest::ApplicationNameHasBeenSet
bool ApplicationNameHasBeenSet() const
Definition: UpdateApplicationResourceLifecycleRequest.h:48
Aws::ElasticBeanstalk::Model::UpdateApplicationResourceLifecycleRequest::SetApplicationName
void SetApplicationName(const char *value)
Definition: UpdateApplicationResourceLifecycleRequest.h:63