AWS SDK for C++  1.9.123
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
Aws::ElasticBeanstalk::Model::DeleteApplicationRequest::TerminateEnvByForceHasBeenSet
bool TerminateEnvByForceHasBeenSet() const
Definition: DeleteApplicationRequest.h:93
Aws::ElasticBeanstalk::Model::DeleteApplicationRequest::SetApplicationName
void SetApplicationName(const Aws::String &value)
Definition: DeleteApplicationRequest.h:55
Aws::Http::URI
Definition: URI.h:32
AWS_ELASTICBEANSTALK_API
#define AWS_ELASTICBEANSTALK_API
Definition: ElasticBeanstalk_EXPORTS.h:28
Aws::ElasticBeanstalk::Model::DeleteApplicationRequest::GetTerminateEnvByForce
bool GetTerminateEnvByForce() const
Definition: DeleteApplicationRequest.h:87
Aws::ElasticBeanstalk::Model::DeleteApplicationRequest::WithTerminateEnvByForce
DeleteApplicationRequest & WithTerminateEnvByForce(bool value)
Definition: DeleteApplicationRequest.h:105
Aws::ElasticBeanstalk::Model::DeleteApplicationRequest::GetApplicationName
const Aws::String & GetApplicationName() const
Definition: DeleteApplicationRequest.h:45
ElasticBeanstalkRequest.h
Aws::ElasticBeanstalk::Model::DeleteApplicationRequest::DeleteApplicationRequest
DeleteApplicationRequest()
Aws::ElasticBeanstalk::Model::DeleteApplicationRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::ElasticBeanstalk::Model::DeleteApplicationRequest::WithApplicationName
DeleteApplicationRequest & WithApplicationName(Aws::String &&value)
Definition: DeleteApplicationRequest.h:75
AWSString.h
Aws::ElasticBeanstalk::Model::DeleteApplicationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ElasticBeanstalk::Model::DeleteApplicationRequest::SetTerminateEnvByForce
void SetTerminateEnvByForce(bool value)
Definition: DeleteApplicationRequest.h:99
Aws::ElasticBeanstalk::Model::DeleteApplicationRequest
Definition: DeleteApplicationRequest.h:25
Aws::ElasticBeanstalk::Model::DeleteApplicationRequest::ApplicationNameHasBeenSet
bool ApplicationNameHasBeenSet() const
Definition: DeleteApplicationRequest.h:50
ElasticBeanstalk_EXPORTS.h
Aws::ElasticBeanstalk::Model::DeleteApplicationRequest::WithApplicationName
DeleteApplicationRequest & WithApplicationName(const char *value)
Definition: DeleteApplicationRequest.h:80
Aws::ElasticBeanstalk::Model::DeleteApplicationRequest::SetApplicationName
void SetApplicationName(const char *value)
Definition: DeleteApplicationRequest.h:65
Aws::ElasticBeanstalk::Model::DeleteApplicationRequest::WithApplicationName
DeleteApplicationRequest & WithApplicationName(const Aws::String &value)
Definition: DeleteApplicationRequest.h:70
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticBeanstalk::Model::DeleteApplicationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteApplicationRequest.h:33
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::DeleteApplicationRequest::SetApplicationName
void SetApplicationName(Aws::String &&value)
Definition: DeleteApplicationRequest.h:60