AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ComposeEnvironmentsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticbeanstalk/ElasticBeanstalkRequest.h>
10#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace ElasticBeanstalk {
16namespace Model {
17
25 public:
26 AWS_ELASTICBEANSTALK_API ComposeEnvironmentsRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "ComposeEnvironments"; }
33
34 AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
38
39 public:
41
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
66 inline const Aws::String& GetGroupName() const { return m_groupName; }
67 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
68 template <typename GroupNameT = Aws::String>
69 void SetGroupName(GroupNameT&& value) {
70 m_groupNameHasBeenSet = true;
71 m_groupName = std::forward<GroupNameT>(value);
72 }
73 template <typename GroupNameT = Aws::String>
75 SetGroupName(std::forward<GroupNameT>(value));
76 return *this;
77 }
79
81
88 inline const Aws::Vector<Aws::String>& GetVersionLabels() const { return m_versionLabels; }
89 inline bool VersionLabelsHasBeenSet() const { return m_versionLabelsHasBeenSet; }
90 template <typename VersionLabelsT = Aws::Vector<Aws::String>>
91 void SetVersionLabels(VersionLabelsT&& value) {
92 m_versionLabelsHasBeenSet = true;
93 m_versionLabels = std::forward<VersionLabelsT>(value);
94 }
95 template <typename VersionLabelsT = Aws::Vector<Aws::String>>
97 SetVersionLabels(std::forward<VersionLabelsT>(value));
98 return *this;
99 }
100 template <typename VersionLabelsT = Aws::String>
102 m_versionLabelsHasBeenSet = true;
103 m_versionLabels.emplace_back(std::forward<VersionLabelsT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_applicationName;
109
110 Aws::String m_groupName;
111
112 Aws::Vector<Aws::String> m_versionLabels;
113 bool m_applicationNameHasBeenSet = false;
114 bool m_groupNameHasBeenSet = false;
115 bool m_versionLabelsHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace ElasticBeanstalk
120} // namespace Aws
AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override
ComposeEnvironmentsRequest & WithApplicationName(ApplicationNameT &&value)
AWS_ELASTICBEANSTALK_API ComposeEnvironmentsRequest()=default
AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::Vector< Aws::String > & GetVersionLabels() const
ComposeEnvironmentsRequest & AddVersionLabels(VersionLabelsT &&value)
ComposeEnvironmentsRequest & WithGroupName(GroupNameT &&value)
ComposeEnvironmentsRequest & WithVersionLabels(VersionLabelsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector