AWS SDK for C++  1.9.44
AWS SDK for C++
DeleteApplicationVersionRequest.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 "DeleteApplicationVersion"; }
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 DeleteApplicationVersionRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
71 
75  inline DeleteApplicationVersionRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
76 
80  inline DeleteApplicationVersionRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
81 
82 
86  inline const Aws::String& GetVersionLabel() const{ return m_versionLabel; }
87 
91  inline bool VersionLabelHasBeenSet() const { return m_versionLabelHasBeenSet; }
92 
96  inline void SetVersionLabel(const Aws::String& value) { m_versionLabelHasBeenSet = true; m_versionLabel = value; }
97 
101  inline void SetVersionLabel(Aws::String&& value) { m_versionLabelHasBeenSet = true; m_versionLabel = std::move(value); }
102 
106  inline void SetVersionLabel(const char* value) { m_versionLabelHasBeenSet = true; m_versionLabel.assign(value); }
107 
111  inline DeleteApplicationVersionRequest& WithVersionLabel(const Aws::String& value) { SetVersionLabel(value); return *this;}
112 
116  inline DeleteApplicationVersionRequest& WithVersionLabel(Aws::String&& value) { SetVersionLabel(std::move(value)); return *this;}
117 
121  inline DeleteApplicationVersionRequest& WithVersionLabel(const char* value) { SetVersionLabel(value); return *this;}
122 
123 
129  inline bool GetDeleteSourceBundle() const{ return m_deleteSourceBundle; }
130 
136  inline bool DeleteSourceBundleHasBeenSet() const { return m_deleteSourceBundleHasBeenSet; }
137 
143  inline void SetDeleteSourceBundle(bool value) { m_deleteSourceBundleHasBeenSet = true; m_deleteSourceBundle = value; }
144 
150  inline DeleteApplicationVersionRequest& WithDeleteSourceBundle(bool value) { SetDeleteSourceBundle(value); return *this;}
151 
152  private:
153 
154  Aws::String m_applicationName;
155  bool m_applicationNameHasBeenSet;
156 
157  Aws::String m_versionLabel;
158  bool m_versionLabelHasBeenSet;
159 
160  bool m_deleteSourceBundle;
161  bool m_deleteSourceBundleHasBeenSet;
162  };
163 
164 } // namespace Model
165 } // namespace ElasticBeanstalk
166 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
AWS_ELASTICBEANSTALK_API
#define AWS_ELASTICBEANSTALK_API
Definition: ElasticBeanstalk_EXPORTS.h:28
Aws::ElasticBeanstalk::Model::DeleteApplicationVersionRequest::SetApplicationName
void SetApplicationName(const char *value)
Definition: DeleteApplicationVersionRequest.h:65
Aws::ElasticBeanstalk::Model::DeleteApplicationVersionRequest::WithApplicationName
DeleteApplicationVersionRequest & WithApplicationName(const char *value)
Definition: DeleteApplicationVersionRequest.h:80
Aws::ElasticBeanstalk::Model::DeleteApplicationVersionRequest::VersionLabelHasBeenSet
bool VersionLabelHasBeenSet() const
Definition: DeleteApplicationVersionRequest.h:91
Aws::ElasticBeanstalk::Model::DeleteApplicationVersionRequest::GetDeleteSourceBundle
bool GetDeleteSourceBundle() const
Definition: DeleteApplicationVersionRequest.h:129
ElasticBeanstalkRequest.h
Aws::ElasticBeanstalk::Model::DeleteApplicationVersionRequest::SetVersionLabel
void SetVersionLabel(Aws::String &&value)
Definition: DeleteApplicationVersionRequest.h:101
Aws::ElasticBeanstalk::Model::DeleteApplicationVersionRequest::GetApplicationName
const Aws::String & GetApplicationName() const
Definition: DeleteApplicationVersionRequest.h:45
Aws::ElasticBeanstalk::Model::DeleteApplicationVersionRequest::ApplicationNameHasBeenSet
bool ApplicationNameHasBeenSet() const
Definition: DeleteApplicationVersionRequest.h:50
Aws::ElasticBeanstalk::Model::DeleteApplicationVersionRequest::DeleteSourceBundleHasBeenSet
bool DeleteSourceBundleHasBeenSet() const
Definition: DeleteApplicationVersionRequest.h:136
Aws::ElasticBeanstalk::Model::DeleteApplicationVersionRequest
Definition: DeleteApplicationVersionRequest.h:25
Aws::ElasticBeanstalk::Model::DeleteApplicationVersionRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::ElasticBeanstalk::Model::DeleteApplicationVersionRequest::WithVersionLabel
DeleteApplicationVersionRequest & WithVersionLabel(const Aws::String &value)
Definition: DeleteApplicationVersionRequest.h:111
Aws::ElasticBeanstalk::Model::DeleteApplicationVersionRequest::WithVersionLabel
DeleteApplicationVersionRequest & WithVersionLabel(Aws::String &&value)
Definition: DeleteApplicationVersionRequest.h:116
Aws::ElasticBeanstalk::Model::DeleteApplicationVersionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteApplicationVersionRequest.h:33
Aws::ElasticBeanstalk::Model::DeleteApplicationVersionRequest::SetApplicationName
void SetApplicationName(Aws::String &&value)
Definition: DeleteApplicationVersionRequest.h:60
Aws::ElasticBeanstalk::Model::DeleteApplicationVersionRequest::WithVersionLabel
DeleteApplicationVersionRequest & WithVersionLabel(const char *value)
Definition: DeleteApplicationVersionRequest.h:121
AWSString.h
Aws::ElasticBeanstalk::Model::DeleteApplicationVersionRequest::SetDeleteSourceBundle
void SetDeleteSourceBundle(bool value)
Definition: DeleteApplicationVersionRequest.h:143
Aws::ElasticBeanstalk::Model::DeleteApplicationVersionRequest::WithDeleteSourceBundle
DeleteApplicationVersionRequest & WithDeleteSourceBundle(bool value)
Definition: DeleteApplicationVersionRequest.h:150
Aws::ElasticBeanstalk::Model::DeleteApplicationVersionRequest::GetVersionLabel
const Aws::String & GetVersionLabel() const
Definition: DeleteApplicationVersionRequest.h:86
Aws::ElasticBeanstalk::Model::DeleteApplicationVersionRequest::SetVersionLabel
void SetVersionLabel(const char *value)
Definition: DeleteApplicationVersionRequest.h:106
Aws::ElasticBeanstalk::Model::DeleteApplicationVersionRequest::SetVersionLabel
void SetVersionLabel(const Aws::String &value)
Definition: DeleteApplicationVersionRequest.h:96
ElasticBeanstalk_EXPORTS.h
Aws::ElasticBeanstalk::Model::DeleteApplicationVersionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ElasticBeanstalk::Model::DeleteApplicationVersionRequest::WithApplicationName
DeleteApplicationVersionRequest & WithApplicationName(Aws::String &&value)
Definition: DeleteApplicationVersionRequest.h:75
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::DeleteApplicationVersionRequest::DeleteApplicationVersionRequest
DeleteApplicationVersionRequest()
Aws::ElasticBeanstalk::Model::DeleteApplicationVersionRequest::SetApplicationName
void SetApplicationName(const Aws::String &value)
Definition: DeleteApplicationVersionRequest.h:55
Aws::ElasticBeanstalk::Model::DeleteApplicationVersionRequest::WithApplicationName
DeleteApplicationVersionRequest & WithApplicationName(const Aws::String &value)
Definition: DeleteApplicationVersionRequest.h:70