AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
UpdateApplicationRequest.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 UpdateApplicationRequest() = 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 "UpdateApplication"; }
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>
52 UpdateApplicationRequest& WithApplicationName(ApplicationNameT&& value) {
53 SetApplicationName(std::forward<ApplicationNameT>(value));
54 return *this;
55 }
57
59
63 inline const Aws::String& GetDescription() const { return m_description; }
64 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
65 template <typename DescriptionT = Aws::String>
66 void SetDescription(DescriptionT&& value) {
67 m_descriptionHasBeenSet = true;
68 m_description = std::forward<DescriptionT>(value);
69 }
70 template <typename DescriptionT = Aws::String>
72 SetDescription(std::forward<DescriptionT>(value));
73 return *this;
74 }
76 private:
77 Aws::String m_applicationName;
78
79 Aws::String m_description;
80 bool m_applicationNameHasBeenSet = false;
81 bool m_descriptionHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace ElasticBeanstalk
86} // namespace Aws
AWS_ELASTICBEANSTALK_API UpdateApplicationRequest()=default
AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
UpdateApplicationRequest & WithDescription(DescriptionT &&value)
UpdateApplicationRequest & WithApplicationName(ApplicationNameT &&value)
AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String