AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeleteApplicationVersionRequest.h
1
6#pragma once
7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/elasticbeanstalk/ElasticBeanstalkRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace ElasticBeanstalk
15{
16namespace Model
17{
18
25 {
26 public:
27 AWS_ELASTICBEANSTALK_API DeleteApplicationVersionRequest() = default;
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_ELASTICBEANSTALK_API Aws::String SerializePayload() const override;
36
37 protected:
38 AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39
40 public:
41
43
46 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
47 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
48 template<typename ApplicationNameT = Aws::String>
49 void SetApplicationName(ApplicationNameT&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::forward<ApplicationNameT>(value); }
50 template<typename ApplicationNameT = Aws::String>
51 DeleteApplicationVersionRequest& WithApplicationName(ApplicationNameT&& value) { SetApplicationName(std::forward<ApplicationNameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetVersionLabel() const { return m_versionLabel; }
59 inline bool VersionLabelHasBeenSet() const { return m_versionLabelHasBeenSet; }
60 template<typename VersionLabelT = Aws::String>
61 void SetVersionLabel(VersionLabelT&& value) { m_versionLabelHasBeenSet = true; m_versionLabel = std::forward<VersionLabelT>(value); }
62 template<typename VersionLabelT = Aws::String>
63 DeleteApplicationVersionRequest& WithVersionLabel(VersionLabelT&& value) { SetVersionLabel(std::forward<VersionLabelT>(value)); return *this;}
65
67
72 inline bool GetDeleteSourceBundle() const { return m_deleteSourceBundle; }
73 inline bool DeleteSourceBundleHasBeenSet() const { return m_deleteSourceBundleHasBeenSet; }
74 inline void SetDeleteSourceBundle(bool value) { m_deleteSourceBundleHasBeenSet = true; m_deleteSourceBundle = value; }
77 private:
78
79 Aws::String m_applicationName;
80 bool m_applicationNameHasBeenSet = false;
81
82 Aws::String m_versionLabel;
83 bool m_versionLabelHasBeenSet = false;
84
85 bool m_deleteSourceBundle{false};
86 bool m_deleteSourceBundleHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace ElasticBeanstalk
91} // 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