/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace ElasticBeanstalk { namespace Model { /** *

Request to create or update a group of environments.

See Also:

* AWS * API Reference

*/ class ComposeEnvironmentsRequest : public ElasticBeanstalkRequest { public: AWS_ELASTICBEANSTALK_API ComposeEnvironmentsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ComposeEnvironments"; } AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override; protected: AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The name of the application to which the specified source bundles belong.

*/ inline const Aws::String& GetApplicationName() const{ return m_applicationName; } /** *

The name of the application to which the specified source bundles belong.

*/ inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; } /** *

The name of the application to which the specified source bundles belong.

*/ inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; } /** *

The name of the application to which the specified source bundles belong.

*/ inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); } /** *

The name of the application to which the specified source bundles belong.

*/ inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); } /** *

The name of the application to which the specified source bundles belong.

*/ inline ComposeEnvironmentsRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;} /** *

The name of the application to which the specified source bundles belong.

*/ inline ComposeEnvironmentsRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;} /** *

The name of the application to which the specified source bundles belong.

*/ inline ComposeEnvironmentsRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;} /** *

The name of the group to which the target environments belong. Specify a * group name only if the environment name defined in each target environment's * manifest ends with a + (plus) character. See Environment * Manifest (env.yaml) for details.

*/ inline const Aws::String& GetGroupName() const{ return m_groupName; } /** *

The name of the group to which the target environments belong. Specify a * group name only if the environment name defined in each target environment's * manifest ends with a + (plus) character. See Environment * Manifest (env.yaml) for details.

*/ inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; } /** *

The name of the group to which the target environments belong. Specify a * group name only if the environment name defined in each target environment's * manifest ends with a + (plus) character. See Environment * Manifest (env.yaml) for details.

*/ inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; } /** *

The name of the group to which the target environments belong. Specify a * group name only if the environment name defined in each target environment's * manifest ends with a + (plus) character. See Environment * Manifest (env.yaml) for details.

*/ inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); } /** *

The name of the group to which the target environments belong. Specify a * group name only if the environment name defined in each target environment's * manifest ends with a + (plus) character. See Environment * Manifest (env.yaml) for details.

*/ inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); } /** *

The name of the group to which the target environments belong. Specify a * group name only if the environment name defined in each target environment's * manifest ends with a + (plus) character. See Environment * Manifest (env.yaml) for details.

*/ inline ComposeEnvironmentsRequest& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;} /** *

The name of the group to which the target environments belong. Specify a * group name only if the environment name defined in each target environment's * manifest ends with a + (plus) character. See Environment * Manifest (env.yaml) for details.

*/ inline ComposeEnvironmentsRequest& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;} /** *

The name of the group to which the target environments belong. Specify a * group name only if the environment name defined in each target environment's * manifest ends with a + (plus) character. See Environment * Manifest (env.yaml) for details.

*/ inline ComposeEnvironmentsRequest& WithGroupName(const char* value) { SetGroupName(value); return *this;} /** *

A list of version labels, specifying one or more application source bundles * that belong to the target application. Each source bundle must include an * environment manifest that specifies the name of the environment and the name of * the solution stack to use, and optionally can specify environment links to * create.

*/ inline const Aws::Vector& GetVersionLabels() const{ return m_versionLabels; } /** *

A list of version labels, specifying one or more application source bundles * that belong to the target application. Each source bundle must include an * environment manifest that specifies the name of the environment and the name of * the solution stack to use, and optionally can specify environment links to * create.

*/ inline bool VersionLabelsHasBeenSet() const { return m_versionLabelsHasBeenSet; } /** *

A list of version labels, specifying one or more application source bundles * that belong to the target application. Each source bundle must include an * environment manifest that specifies the name of the environment and the name of * the solution stack to use, and optionally can specify environment links to * create.

*/ inline void SetVersionLabels(const Aws::Vector& value) { m_versionLabelsHasBeenSet = true; m_versionLabels = value; } /** *

A list of version labels, specifying one or more application source bundles * that belong to the target application. Each source bundle must include an * environment manifest that specifies the name of the environment and the name of * the solution stack to use, and optionally can specify environment links to * create.

*/ inline void SetVersionLabels(Aws::Vector&& value) { m_versionLabelsHasBeenSet = true; m_versionLabels = std::move(value); } /** *

A list of version labels, specifying one or more application source bundles * that belong to the target application. Each source bundle must include an * environment manifest that specifies the name of the environment and the name of * the solution stack to use, and optionally can specify environment links to * create.

*/ inline ComposeEnvironmentsRequest& WithVersionLabels(const Aws::Vector& value) { SetVersionLabels(value); return *this;} /** *

A list of version labels, specifying one or more application source bundles * that belong to the target application. Each source bundle must include an * environment manifest that specifies the name of the environment and the name of * the solution stack to use, and optionally can specify environment links to * create.

*/ inline ComposeEnvironmentsRequest& WithVersionLabels(Aws::Vector&& value) { SetVersionLabels(std::move(value)); return *this;} /** *

A list of version labels, specifying one or more application source bundles * that belong to the target application. Each source bundle must include an * environment manifest that specifies the name of the environment and the name of * the solution stack to use, and optionally can specify environment links to * create.

*/ inline ComposeEnvironmentsRequest& AddVersionLabels(const Aws::String& value) { m_versionLabelsHasBeenSet = true; m_versionLabels.push_back(value); return *this; } /** *

A list of version labels, specifying one or more application source bundles * that belong to the target application. Each source bundle must include an * environment manifest that specifies the name of the environment and the name of * the solution stack to use, and optionally can specify environment links to * create.

*/ inline ComposeEnvironmentsRequest& AddVersionLabels(Aws::String&& value) { m_versionLabelsHasBeenSet = true; m_versionLabels.push_back(std::move(value)); return *this; } /** *

A list of version labels, specifying one or more application source bundles * that belong to the target application. Each source bundle must include an * environment manifest that specifies the name of the environment and the name of * the solution stack to use, and optionally can specify environment links to * create.

*/ inline ComposeEnvironmentsRequest& AddVersionLabels(const char* value) { m_versionLabelsHasBeenSet = true; m_versionLabels.push_back(value); return *this; } private: Aws::String m_applicationName; bool m_applicationNameHasBeenSet = false; Aws::String m_groupName; bool m_groupNameHasBeenSet = false; Aws::Vector m_versionLabels; bool m_versionLabelsHasBeenSet = false; }; } // namespace Model } // namespace ElasticBeanstalk } // namespace Aws