AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
47 inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
48 inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
51 inline UpdateApplicationResourceLifecycleRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
53
55
58 inline const ApplicationResourceLifecycleConfig& GetResourceLifecycleConfig() const{ return m_resourceLifecycleConfig; }
59 inline bool ResourceLifecycleConfigHasBeenSet() const { return m_resourceLifecycleConfigHasBeenSet; }
60 inline void SetResourceLifecycleConfig(const ApplicationResourceLifecycleConfig& value) { m_resourceLifecycleConfigHasBeenSet = true; m_resourceLifecycleConfig = value; }
61 inline void SetResourceLifecycleConfig(ApplicationResourceLifecycleConfig&& value) { m_resourceLifecycleConfigHasBeenSet = true; m_resourceLifecycleConfig = std::move(value); }
65 private:
66
67 Aws::String m_applicationName;
68 bool m_applicationNameHasBeenSet = false;
69
70 ApplicationResourceLifecycleConfig m_resourceLifecycleConfig;
71 bool m_resourceLifecycleConfigHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace ElasticBeanstalk
76} // namespace Aws
UpdateApplicationResourceLifecycleRequest & WithApplicationName(const char *value)
UpdateApplicationResourceLifecycleRequest & WithApplicationName(const Aws::String &value)
UpdateApplicationResourceLifecycleRequest & WithResourceLifecycleConfig(ApplicationResourceLifecycleConfig &&value)
UpdateApplicationResourceLifecycleRequest & WithResourceLifecycleConfig(const ApplicationResourceLifecycleConfig &value)
UpdateApplicationResourceLifecycleRequest & WithApplicationName(Aws::String &&value)
AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override
AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String