AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
DeleteApplicationVersionRequest.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 DeleteApplicationVersionRequest() = 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 "DeleteApplicationVersion"; }
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>
51 SetApplicationName(std::forward<ApplicationNameT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetVersionLabel() const { return m_versionLabel; }
61 inline bool VersionLabelHasBeenSet() const { return m_versionLabelHasBeenSet; }
62 template <typename VersionLabelT = Aws::String>
63 void SetVersionLabel(VersionLabelT&& value) {
64 m_versionLabelHasBeenSet = true;
65 m_versionLabel = std::forward<VersionLabelT>(value);
66 }
67 template <typename VersionLabelT = Aws::String>
69 SetVersionLabel(std::forward<VersionLabelT>(value));
70 return *this;
71 }
73
75
80 inline bool GetDeleteSourceBundle() const { return m_deleteSourceBundle; }
81 inline bool DeleteSourceBundleHasBeenSet() const { return m_deleteSourceBundleHasBeenSet; }
82 inline void SetDeleteSourceBundle(bool value) {
83 m_deleteSourceBundleHasBeenSet = true;
84 m_deleteSourceBundle = value;
85 }
88 return *this;
89 }
91 private:
92 Aws::String m_applicationName;
93
94 Aws::String m_versionLabel;
95
96 bool m_deleteSourceBundle{false};
97 bool m_applicationNameHasBeenSet = false;
98 bool m_versionLabelHasBeenSet = false;
99 bool m_deleteSourceBundleHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace ElasticBeanstalk
104} // namespace Aws
DeleteApplicationVersionRequest & WithApplicationName(ApplicationNameT &&value)
AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_ELASTICBEANSTALK_API DeleteApplicationVersionRequest()=default
AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override
DeleteApplicationVersionRequest & WithVersionLabel(VersionLabelT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String