AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ComposeEnvironmentsRequest.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ElasticBeanstalk
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_ELASTICBEANSTALK_API ComposeEnvironmentsRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ComposeEnvironments"; }
36
37 AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override;
38
39 protected:
40 AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41
42 public:
43
45
48 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
49 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
50 template<typename ApplicationNameT = Aws::String>
51 void SetApplicationName(ApplicationNameT&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::forward<ApplicationNameT>(value); }
52 template<typename ApplicationNameT = Aws::String>
53 ComposeEnvironmentsRequest& WithApplicationName(ApplicationNameT&& value) { SetApplicationName(std::forward<ApplicationNameT>(value)); return *this;}
55
57
64 inline const Aws::String& GetGroupName() const { return m_groupName; }
65 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
66 template<typename GroupNameT = Aws::String>
67 void SetGroupName(GroupNameT&& value) { m_groupNameHasBeenSet = true; m_groupName = std::forward<GroupNameT>(value); }
68 template<typename GroupNameT = Aws::String>
69 ComposeEnvironmentsRequest& WithGroupName(GroupNameT&& value) { SetGroupName(std::forward<GroupNameT>(value)); return *this;}
71
73
80 inline const Aws::Vector<Aws::String>& GetVersionLabels() const { return m_versionLabels; }
81 inline bool VersionLabelsHasBeenSet() const { return m_versionLabelsHasBeenSet; }
82 template<typename VersionLabelsT = Aws::Vector<Aws::String>>
83 void SetVersionLabels(VersionLabelsT&& value) { m_versionLabelsHasBeenSet = true; m_versionLabels = std::forward<VersionLabelsT>(value); }
84 template<typename VersionLabelsT = Aws::Vector<Aws::String>>
85 ComposeEnvironmentsRequest& WithVersionLabels(VersionLabelsT&& value) { SetVersionLabels(std::forward<VersionLabelsT>(value)); return *this;}
86 template<typename VersionLabelsT = Aws::String>
87 ComposeEnvironmentsRequest& AddVersionLabels(VersionLabelsT&& value) { m_versionLabelsHasBeenSet = true; m_versionLabels.emplace_back(std::forward<VersionLabelsT>(value)); return *this; }
89 private:
90
91 Aws::String m_applicationName;
92 bool m_applicationNameHasBeenSet = false;
93
94 Aws::String m_groupName;
95 bool m_groupNameHasBeenSet = false;
96
97 Aws::Vector<Aws::String> m_versionLabels;
98 bool m_versionLabelsHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace ElasticBeanstalk
103} // 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