/** * 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 describe one or more applications.

See Also:

AWS * API Reference

*/ class AWS_ELASTICBEANSTALK_API DescribeApplicationsRequest : public ElasticBeanstalkRequest { public: DescribeApplicationsRequest(); // 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 "DescribeApplications"; } Aws::String SerializePayload() const override; protected: void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

If specified, AWS Elastic Beanstalk restricts the returned descriptions to * only include those with the specified names.

*/ inline const Aws::Vector& GetApplicationNames() const{ return m_applicationNames; } /** *

If specified, AWS Elastic Beanstalk restricts the returned descriptions to * only include those with the specified names.

*/ inline bool ApplicationNamesHasBeenSet() const { return m_applicationNamesHasBeenSet; } /** *

If specified, AWS Elastic Beanstalk restricts the returned descriptions to * only include those with the specified names.

*/ inline void SetApplicationNames(const Aws::Vector& value) { m_applicationNamesHasBeenSet = true; m_applicationNames = value; } /** *

If specified, AWS Elastic Beanstalk restricts the returned descriptions to * only include those with the specified names.

*/ inline void SetApplicationNames(Aws::Vector&& value) { m_applicationNamesHasBeenSet = true; m_applicationNames = std::move(value); } /** *

If specified, AWS Elastic Beanstalk restricts the returned descriptions to * only include those with the specified names.

*/ inline DescribeApplicationsRequest& WithApplicationNames(const Aws::Vector& value) { SetApplicationNames(value); return *this;} /** *

If specified, AWS Elastic Beanstalk restricts the returned descriptions to * only include those with the specified names.

*/ inline DescribeApplicationsRequest& WithApplicationNames(Aws::Vector&& value) { SetApplicationNames(std::move(value)); return *this;} /** *

If specified, AWS Elastic Beanstalk restricts the returned descriptions to * only include those with the specified names.

*/ inline DescribeApplicationsRequest& AddApplicationNames(const Aws::String& value) { m_applicationNamesHasBeenSet = true; m_applicationNames.push_back(value); return *this; } /** *

If specified, AWS Elastic Beanstalk restricts the returned descriptions to * only include those with the specified names.

*/ inline DescribeApplicationsRequest& AddApplicationNames(Aws::String&& value) { m_applicationNamesHasBeenSet = true; m_applicationNames.push_back(std::move(value)); return *this; } /** *

If specified, AWS Elastic Beanstalk restricts the returned descriptions to * only include those with the specified names.

*/ inline DescribeApplicationsRequest& AddApplicationNames(const char* value) { m_applicationNamesHasBeenSet = true; m_applicationNames.push_back(value); return *this; } private: Aws::Vector m_applicationNames; bool m_applicationNamesHasBeenSet; }; } // namespace Model } // namespace ElasticBeanstalk } // namespace Aws