AWS SDK for C++  1.9.126
AWS SDK for C++
ComposeEnvironmentsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace ElasticBeanstalk
16 {
17 namespace Model
18 {
19 
27  {
28  public:
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::String SerializePayload() const override;
38 
39  protected:
40  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41 
42  public:
43 
47  inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
48 
52  inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
53 
57  inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
58 
62  inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
63 
67  inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
68 
72  inline ComposeEnvironmentsRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
73 
77  inline ComposeEnvironmentsRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
78 
82  inline ComposeEnvironmentsRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
83 
84 
92  inline const Aws::String& GetGroupName() const{ return m_groupName; }
93 
101  inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
102 
110  inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
111 
119  inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
120 
128  inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
129 
137  inline ComposeEnvironmentsRequest& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
138 
146  inline ComposeEnvironmentsRequest& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
147 
155  inline ComposeEnvironmentsRequest& WithGroupName(const char* value) { SetGroupName(value); return *this;}
156 
157 
165  inline const Aws::Vector<Aws::String>& GetVersionLabels() const{ return m_versionLabels; }
166 
174  inline bool VersionLabelsHasBeenSet() const { return m_versionLabelsHasBeenSet; }
175 
183  inline void SetVersionLabels(const Aws::Vector<Aws::String>& value) { m_versionLabelsHasBeenSet = true; m_versionLabels = value; }
184 
192  inline void SetVersionLabels(Aws::Vector<Aws::String>&& value) { m_versionLabelsHasBeenSet = true; m_versionLabels = std::move(value); }
193 
201  inline ComposeEnvironmentsRequest& WithVersionLabels(const Aws::Vector<Aws::String>& value) { SetVersionLabels(value); return *this;}
202 
210  inline ComposeEnvironmentsRequest& WithVersionLabels(Aws::Vector<Aws::String>&& value) { SetVersionLabels(std::move(value)); return *this;}
211 
219  inline ComposeEnvironmentsRequest& AddVersionLabels(const Aws::String& value) { m_versionLabelsHasBeenSet = true; m_versionLabels.push_back(value); return *this; }
220 
228  inline ComposeEnvironmentsRequest& AddVersionLabels(Aws::String&& value) { m_versionLabelsHasBeenSet = true; m_versionLabels.push_back(std::move(value)); return *this; }
229 
237  inline ComposeEnvironmentsRequest& AddVersionLabels(const char* value) { m_versionLabelsHasBeenSet = true; m_versionLabels.push_back(value); return *this; }
238 
239  private:
240 
241  Aws::String m_applicationName;
242  bool m_applicationNameHasBeenSet;
243 
244  Aws::String m_groupName;
245  bool m_groupNameHasBeenSet;
246 
247  Aws::Vector<Aws::String> m_versionLabels;
248  bool m_versionLabelsHasBeenSet;
249  };
250 
251 } // namespace Model
252 } // namespace ElasticBeanstalk
253 } // namespace Aws
Aws::ElasticBeanstalk::Model::ComposeEnvironmentsRequest
Definition: ComposeEnvironmentsRequest.h:27
Aws::Http::URI
Definition: URI.h:32
AWS_ELASTICBEANSTALK_API
#define AWS_ELASTICBEANSTALK_API
Definition: ElasticBeanstalk_EXPORTS.h:28
Aws::ElasticBeanstalk::Model::ComposeEnvironmentsRequest::GetApplicationName
const Aws::String & GetApplicationName() const
Definition: ComposeEnvironmentsRequest.h:47
Aws::ElasticBeanstalk::Model::ComposeEnvironmentsRequest::ComposeEnvironmentsRequest
ComposeEnvironmentsRequest()
Aws::ElasticBeanstalk::Model::ComposeEnvironmentsRequest::WithGroupName
ComposeEnvironmentsRequest & WithGroupName(const char *value)
Definition: ComposeEnvironmentsRequest.h:155
ElasticBeanstalkRequest.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ElasticBeanstalk::Model::ComposeEnvironmentsRequest::SetApplicationName
void SetApplicationName(Aws::String &&value)
Definition: ComposeEnvironmentsRequest.h:62
Aws::ElasticBeanstalk::Model::ComposeEnvironmentsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ElasticBeanstalk::Model::ComposeEnvironmentsRequest::ApplicationNameHasBeenSet
bool ApplicationNameHasBeenSet() const
Definition: ComposeEnvironmentsRequest.h:52
AWSVector.h
Aws::ElasticBeanstalk::Model::ComposeEnvironmentsRequest::SetVersionLabels
void SetVersionLabels(const Aws::Vector< Aws::String > &value)
Definition: ComposeEnvironmentsRequest.h:183
Aws::ElasticBeanstalk::Model::ComposeEnvironmentsRequest::SetApplicationName
void SetApplicationName(const Aws::String &value)
Definition: ComposeEnvironmentsRequest.h:57
Aws::ElasticBeanstalk::Model::ComposeEnvironmentsRequest::SetGroupName
void SetGroupName(const char *value)
Definition: ComposeEnvironmentsRequest.h:128
Aws::ElasticBeanstalk::Model::ComposeEnvironmentsRequest::AddVersionLabels
ComposeEnvironmentsRequest & AddVersionLabels(const char *value)
Definition: ComposeEnvironmentsRequest.h:237
Aws::ElasticBeanstalk::Model::ComposeEnvironmentsRequest::VersionLabelsHasBeenSet
bool VersionLabelsHasBeenSet() const
Definition: ComposeEnvironmentsRequest.h:174
Aws::ElasticBeanstalk::Model::ComposeEnvironmentsRequest::WithVersionLabels
ComposeEnvironmentsRequest & WithVersionLabels(const Aws::Vector< Aws::String > &value)
Definition: ComposeEnvironmentsRequest.h:201
Aws::ElasticBeanstalk::Model::ComposeEnvironmentsRequest::GetGroupName
const Aws::String & GetGroupName() const
Definition: ComposeEnvironmentsRequest.h:92
Aws::ElasticBeanstalk::Model::ComposeEnvironmentsRequest::SetGroupName
void SetGroupName(const Aws::String &value)
Definition: ComposeEnvironmentsRequest.h:110
Aws::ElasticBeanstalk::Model::ComposeEnvironmentsRequest::WithGroupName
ComposeEnvironmentsRequest & WithGroupName(const Aws::String &value)
Definition: ComposeEnvironmentsRequest.h:137
Aws::ElasticBeanstalk::Model::ComposeEnvironmentsRequest::AddVersionLabels
ComposeEnvironmentsRequest & AddVersionLabels(Aws::String &&value)
Definition: ComposeEnvironmentsRequest.h:228
Aws::ElasticBeanstalk::Model::ComposeEnvironmentsRequest::WithApplicationName
ComposeEnvironmentsRequest & WithApplicationName(const char *value)
Definition: ComposeEnvironmentsRequest.h:82
Aws::ElasticBeanstalk::Model::ComposeEnvironmentsRequest::WithVersionLabels
ComposeEnvironmentsRequest & WithVersionLabels(Aws::Vector< Aws::String > &&value)
Definition: ComposeEnvironmentsRequest.h:210
AWSString.h
Aws::ElasticBeanstalk::Model::ComposeEnvironmentsRequest::WithGroupName
ComposeEnvironmentsRequest & WithGroupName(Aws::String &&value)
Definition: ComposeEnvironmentsRequest.h:146
Aws::ElasticBeanstalk::Model::ComposeEnvironmentsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
ElasticBeanstalk_EXPORTS.h
Aws::ElasticBeanstalk::Model::ComposeEnvironmentsRequest::SetGroupName
void SetGroupName(Aws::String &&value)
Definition: ComposeEnvironmentsRequest.h:119
Aws::ElasticBeanstalk::Model::ComposeEnvironmentsRequest::WithApplicationName
ComposeEnvironmentsRequest & WithApplicationName(Aws::String &&value)
Definition: ComposeEnvironmentsRequest.h:77
Aws::ElasticBeanstalk::Model::ComposeEnvironmentsRequest::GroupNameHasBeenSet
bool GroupNameHasBeenSet() const
Definition: ComposeEnvironmentsRequest.h:101
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticBeanstalk::ElasticBeanstalkRequest
Definition: ElasticBeanstalkRequest.h:17
Aws::ElasticBeanstalk::Model::ComposeEnvironmentsRequest::SetApplicationName
void SetApplicationName(const char *value)
Definition: ComposeEnvironmentsRequest.h:67
Aws::ElasticBeanstalk::Model::ComposeEnvironmentsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ComposeEnvironmentsRequest.h:35
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticBeanstalk::Model::ComposeEnvironmentsRequest::WithApplicationName
ComposeEnvironmentsRequest & WithApplicationName(const Aws::String &value)
Definition: ComposeEnvironmentsRequest.h:72
Aws::ElasticBeanstalk::Model::ComposeEnvironmentsRequest::AddVersionLabels
ComposeEnvironmentsRequest & AddVersionLabels(const Aws::String &value)
Definition: ComposeEnvironmentsRequest.h:219
Aws::ElasticBeanstalk::Model::ComposeEnvironmentsRequest::GetVersionLabels
const Aws::Vector< Aws::String > & GetVersionLabels() const
Definition: ComposeEnvironmentsRequest.h:165
Aws::ElasticBeanstalk::Model::ComposeEnvironmentsRequest::SetVersionLabels
void SetVersionLabels(Aws::Vector< Aws::String > &&value)
Definition: ComposeEnvironmentsRequest.h:192