AWS SDK for C++  1.8.95
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
ComposeEnvironmentsRequest & WithGroupName(const char *value)
ComposeEnvironmentsRequest & WithGroupName(const Aws::String &value)
ComposeEnvironmentsRequest & AddVersionLabels(const Aws::String &value)
#define AWS_ELASTICBEANSTALK_API
ComposeEnvironmentsRequest & AddVersionLabels(const char *value)
ComposeEnvironmentsRequest & WithGroupName(Aws::String &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
ComposeEnvironmentsRequest & WithVersionLabels(const Aws::Vector< Aws::String > &value)
void SetVersionLabels(const Aws::Vector< Aws::String > &value)
ComposeEnvironmentsRequest & WithApplicationName(Aws::String &&value)
const Aws::Vector< Aws::String > & GetVersionLabels() const
ComposeEnvironmentsRequest & WithApplicationName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ComposeEnvironmentsRequest & WithApplicationName(const char *value)
ComposeEnvironmentsRequest & AddVersionLabels(Aws::String &&value)
ComposeEnvironmentsRequest & WithVersionLabels(Aws::Vector< Aws::String > &&value)