AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DeleteApplicationRequest.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
11#include <utility>
12
13namespace Aws {
14namespace ElasticBeanstalk {
15namespace Model {
16
23 public:
24 AWS_ELASTICBEANSTALK_API DeleteApplicationRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeleteApplication"; }
31
32 AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
36
37 public:
39
42 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
43 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
44 template <typename ApplicationNameT = Aws::String>
45 void SetApplicationName(ApplicationNameT&& value) {
46 m_applicationNameHasBeenSet = true;
47 m_applicationName = std::forward<ApplicationNameT>(value);
48 }
49 template <typename ApplicationNameT = Aws::String>
50 DeleteApplicationRequest& WithApplicationName(ApplicationNameT&& value) {
51 SetApplicationName(std::forward<ApplicationNameT>(value));
52 return *this;
53 }
55
57
61 inline bool GetTerminateEnvByForce() const { return m_terminateEnvByForce; }
62 inline bool TerminateEnvByForceHasBeenSet() const { return m_terminateEnvByForceHasBeenSet; }
63 inline void SetTerminateEnvByForce(bool value) {
64 m_terminateEnvByForceHasBeenSet = true;
65 m_terminateEnvByForce = value;
66 }
69 return *this;
70 }
72 private:
73 Aws::String m_applicationName;
74
75 bool m_terminateEnvByForce{false};
76 bool m_applicationNameHasBeenSet = false;
77 bool m_terminateEnvByForceHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace ElasticBeanstalk
82} // namespace Aws
DeleteApplicationRequest & WithTerminateEnvByForce(bool value)
AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override
AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DeleteApplicationRequest & WithApplicationName(ApplicationNameT &&value)
AWS_ELASTICBEANSTALK_API DeleteApplicationRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String