AWS SDK for C++  1.8.95
AWS SDK for C++
DeleteApplicationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace ElasticBeanstalk
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "DeleteApplication"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  protected:
38  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39 
40  public:
41 
45  inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
46 
50  inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
51 
55  inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
56 
60  inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
61 
65  inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
66 
70  inline DeleteApplicationRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
71 
75  inline DeleteApplicationRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
76 
80  inline DeleteApplicationRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
81 
82 
87  inline bool GetTerminateEnvByForce() const{ return m_terminateEnvByForce; }
88 
93  inline bool TerminateEnvByForceHasBeenSet() const { return m_terminateEnvByForceHasBeenSet; }
94 
99  inline void SetTerminateEnvByForce(bool value) { m_terminateEnvByForceHasBeenSet = true; m_terminateEnvByForce = value; }
100 
105  inline DeleteApplicationRequest& WithTerminateEnvByForce(bool value) { SetTerminateEnvByForce(value); return *this;}
106 
107  private:
108 
109  Aws::String m_applicationName;
110  bool m_applicationNameHasBeenSet;
111 
112  bool m_terminateEnvByForce;
113  bool m_terminateEnvByForceHasBeenSet;
114  };
115 
116 } // namespace Model
117 } // namespace ElasticBeanstalk
118 } // namespace Aws
DeleteApplicationRequest & WithApplicationName(const char *value)
#define AWS_ELASTICBEANSTALK_API
DeleteApplicationRequest & WithApplicationName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
DeleteApplicationRequest & WithApplicationName(Aws::String &&value)
DeleteApplicationRequest & WithTerminateEnvByForce(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97