AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
UpdateApplicationVersionRequest.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 UpdateApplicationVersionRequest() = 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 "UpdateApplicationVersion"; }
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
44 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
45 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
46 template <typename ApplicationNameT = Aws::String>
47 void SetApplicationName(ApplicationNameT&& value) {
48 m_applicationNameHasBeenSet = true;
49 m_applicationName = std::forward<ApplicationNameT>(value);
50 }
51 template <typename ApplicationNameT = Aws::String>
53 SetApplicationName(std::forward<ApplicationNameT>(value));
54 return *this;
55 }
57
59
64 inline const Aws::String& GetVersionLabel() const { return m_versionLabel; }
65 inline bool VersionLabelHasBeenSet() const { return m_versionLabelHasBeenSet; }
66 template <typename VersionLabelT = Aws::String>
67 void SetVersionLabel(VersionLabelT&& value) {
68 m_versionLabelHasBeenSet = true;
69 m_versionLabel = std::forward<VersionLabelT>(value);
70 }
71 template <typename VersionLabelT = Aws::String>
73 SetVersionLabel(std::forward<VersionLabelT>(value));
74 return *this;
75 }
77
79
82 inline const Aws::String& GetDescription() const { return m_description; }
83 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
84 template <typename DescriptionT = Aws::String>
85 void SetDescription(DescriptionT&& value) {
86 m_descriptionHasBeenSet = true;
87 m_description = std::forward<DescriptionT>(value);
88 }
89 template <typename DescriptionT = Aws::String>
91 SetDescription(std::forward<DescriptionT>(value));
92 return *this;
93 }
95 private:
96 Aws::String m_applicationName;
97
98 Aws::String m_versionLabel;
99
100 Aws::String m_description;
101 bool m_applicationNameHasBeenSet = false;
102 bool m_versionLabelHasBeenSet = false;
103 bool m_descriptionHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace ElasticBeanstalk
108} // namespace Aws
AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override
UpdateApplicationVersionRequest & WithApplicationName(ApplicationNameT &&value)
UpdateApplicationVersionRequest & WithDescription(DescriptionT &&value)
AWS_ELASTICBEANSTALK_API UpdateApplicationVersionRequest()=default
UpdateApplicationVersionRequest & WithVersionLabel(VersionLabelT &&value)
AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String