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

See Also:

AWS * API Reference

*/ class UpdateApplicationVersionRequest : public ElasticBeanstalkRequest { public: AWS_ELASTICBEANSTALK_API UpdateApplicationVersionRequest(); // 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 "UpdateApplicationVersion"; } 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 associated with this version.

If no * application is found with this name, UpdateApplication returns an * InvalidParameterValue error.

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

The name of the application associated with this version.

If no * application is found with this name, UpdateApplication returns an * InvalidParameterValue error.

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

The name of the application associated with this version.

If no * application is found with this name, UpdateApplication returns an * InvalidParameterValue error.

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

The name of the application associated with this version.

If no * application is found with this name, UpdateApplication returns an * InvalidParameterValue error.

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

The name of the application associated with this version.

If no * application is found with this name, UpdateApplication returns an * InvalidParameterValue error.

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

The name of the application associated with this version.

If no * application is found with this name, UpdateApplication returns an * InvalidParameterValue error.

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

The name of the application associated with this version.

If no * application is found with this name, UpdateApplication returns an * InvalidParameterValue error.

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

The name of the application associated with this version.

If no * application is found with this name, UpdateApplication returns an * InvalidParameterValue error.

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

The name of the version to update.

If no application version is found * with this label, UpdateApplication returns an * InvalidParameterValue error.

*/ inline const Aws::String& GetVersionLabel() const{ return m_versionLabel; } /** *

The name of the version to update.

If no application version is found * with this label, UpdateApplication returns an * InvalidParameterValue error.

*/ inline bool VersionLabelHasBeenSet() const { return m_versionLabelHasBeenSet; } /** *

The name of the version to update.

If no application version is found * with this label, UpdateApplication returns an * InvalidParameterValue error.

*/ inline void SetVersionLabel(const Aws::String& value) { m_versionLabelHasBeenSet = true; m_versionLabel = value; } /** *

The name of the version to update.

If no application version is found * with this label, UpdateApplication returns an * InvalidParameterValue error.

*/ inline void SetVersionLabel(Aws::String&& value) { m_versionLabelHasBeenSet = true; m_versionLabel = std::move(value); } /** *

The name of the version to update.

If no application version is found * with this label, UpdateApplication returns an * InvalidParameterValue error.

*/ inline void SetVersionLabel(const char* value) { m_versionLabelHasBeenSet = true; m_versionLabel.assign(value); } /** *

The name of the version to update.

If no application version is found * with this label, UpdateApplication returns an * InvalidParameterValue error.

*/ inline UpdateApplicationVersionRequest& WithVersionLabel(const Aws::String& value) { SetVersionLabel(value); return *this;} /** *

The name of the version to update.

If no application version is found * with this label, UpdateApplication returns an * InvalidParameterValue error.

*/ inline UpdateApplicationVersionRequest& WithVersionLabel(Aws::String&& value) { SetVersionLabel(std::move(value)); return *this;} /** *

The name of the version to update.

If no application version is found * with this label, UpdateApplication returns an * InvalidParameterValue error.

*/ inline UpdateApplicationVersionRequest& WithVersionLabel(const char* value) { SetVersionLabel(value); return *this;} /** *

A new description for this version.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A new description for this version.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A new description for this version.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A new description for this version.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A new description for this version.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

A new description for this version.

*/ inline UpdateApplicationVersionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A new description for this version.

*/ inline UpdateApplicationVersionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A new description for this version.

*/ inline UpdateApplicationVersionRequest& WithDescription(const char* value) { SetDescription(value); return *this;} private: Aws::String m_applicationName; bool m_applicationNameHasBeenSet = false; Aws::String m_versionLabel; bool m_versionLabelHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; }; } // namespace Model } // namespace ElasticBeanstalk } // namespace Aws