AWS SDK for C++  1.8.95
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
DeleteApplicationVersionRequest & WithVersionLabel(const char *value)
#define AWS_ELASTICBEANSTALK_API
DeleteApplicationVersionRequest & WithApplicationName(Aws::String &&value)
DeleteApplicationVersionRequest & WithApplicationName(const Aws::String &value)
DeleteApplicationVersionRequest & WithVersionLabel(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DeleteApplicationVersionRequest & WithApplicationName(const char *value)
DeleteApplicationVersionRequest & WithVersionLabel(Aws::String &&value)