AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
51 inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
52 inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
54 inline ComposeEnvironmentsRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
55 inline ComposeEnvironmentsRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
57
59
66 inline const Aws::String& GetGroupName() const{ return m_groupName; }
67 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
68 inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
69 inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
70 inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
71 inline ComposeEnvironmentsRequest& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
72 inline ComposeEnvironmentsRequest& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
73 inline ComposeEnvironmentsRequest& WithGroupName(const char* value) { SetGroupName(value); return *this;}
75
77
84 inline const Aws::Vector<Aws::String>& GetVersionLabels() const{ return m_versionLabels; }
85 inline bool VersionLabelsHasBeenSet() const { return m_versionLabelsHasBeenSet; }
86 inline void SetVersionLabels(const Aws::Vector<Aws::String>& value) { m_versionLabelsHasBeenSet = true; m_versionLabels = value; }
87 inline void SetVersionLabels(Aws::Vector<Aws::String>&& value) { m_versionLabelsHasBeenSet = true; m_versionLabels = std::move(value); }
90 inline ComposeEnvironmentsRequest& AddVersionLabels(const Aws::String& value) { m_versionLabelsHasBeenSet = true; m_versionLabels.push_back(value); return *this; }
91 inline ComposeEnvironmentsRequest& AddVersionLabels(Aws::String&& value) { m_versionLabelsHasBeenSet = true; m_versionLabels.push_back(std::move(value)); return *this; }
92 inline ComposeEnvironmentsRequest& AddVersionLabels(const char* value) { m_versionLabelsHasBeenSet = true; m_versionLabels.push_back(value); return *this; }
94 private:
95
96 Aws::String m_applicationName;
97 bool m_applicationNameHasBeenSet = false;
98
99 Aws::String m_groupName;
100 bool m_groupNameHasBeenSet = false;
101
102 Aws::Vector<Aws::String> m_versionLabels;
103 bool m_versionLabelsHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace ElasticBeanstalk
108} // namespace Aws
AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override
void SetVersionLabels(const Aws::Vector< Aws::String > &value)
ComposeEnvironmentsRequest & WithGroupName(const char *value)
AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ComposeEnvironmentsRequest & WithVersionLabels(const Aws::Vector< Aws::String > &value)
ComposeEnvironmentsRequest & WithGroupName(Aws::String &&value)
const Aws::Vector< Aws::String > & GetVersionLabels() const
ComposeEnvironmentsRequest & WithApplicationName(const char *value)
ComposeEnvironmentsRequest & WithGroupName(const Aws::String &value)
ComposeEnvironmentsRequest & AddVersionLabels(const Aws::String &value)
ComposeEnvironmentsRequest & AddVersionLabels(const char *value)
ComposeEnvironmentsRequest & WithApplicationName(Aws::String &&value)
ComposeEnvironmentsRequest & AddVersionLabels(Aws::String &&value)
ComposeEnvironmentsRequest & WithVersionLabels(Aws::Vector< Aws::String > &&value)
ComposeEnvironmentsRequest & WithApplicationName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector