This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-elasticbeanstalk/include/aws/elasticbeanstalk/model/DescribeApplicationsRequest.h

106 lines
4.2 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
#include <aws/elasticbeanstalk/ElasticBeanstalkRequest.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace ElasticBeanstalk
{
namespace Model
{
/**
* <p>Request to describe one or more applications.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeApplicationsMessage">AWS
* API Reference</a></p>
*/
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:
/**
* <p>If specified, AWS Elastic Beanstalk restricts the returned descriptions to
* only include those with the specified names.</p>
*/
inline const Aws::Vector<Aws::String>& GetApplicationNames() const{ return m_applicationNames; }
/**
* <p>If specified, AWS Elastic Beanstalk restricts the returned descriptions to
* only include those with the specified names.</p>
*/
inline bool ApplicationNamesHasBeenSet() const { return m_applicationNamesHasBeenSet; }
/**
* <p>If specified, AWS Elastic Beanstalk restricts the returned descriptions to
* only include those with the specified names.</p>
*/
inline void SetApplicationNames(const Aws::Vector<Aws::String>& value) { m_applicationNamesHasBeenSet = true; m_applicationNames = value; }
/**
* <p>If specified, AWS Elastic Beanstalk restricts the returned descriptions to
* only include those with the specified names.</p>
*/
inline void SetApplicationNames(Aws::Vector<Aws::String>&& value) { m_applicationNamesHasBeenSet = true; m_applicationNames = std::move(value); }
/**
* <p>If specified, AWS Elastic Beanstalk restricts the returned descriptions to
* only include those with the specified names.</p>
*/
inline DescribeApplicationsRequest& WithApplicationNames(const Aws::Vector<Aws::String>& value) { SetApplicationNames(value); return *this;}
/**
* <p>If specified, AWS Elastic Beanstalk restricts the returned descriptions to
* only include those with the specified names.</p>
*/
inline DescribeApplicationsRequest& WithApplicationNames(Aws::Vector<Aws::String>&& value) { SetApplicationNames(std::move(value)); return *this;}
/**
* <p>If specified, AWS Elastic Beanstalk restricts the returned descriptions to
* only include those with the specified names.</p>
*/
inline DescribeApplicationsRequest& AddApplicationNames(const Aws::String& value) { m_applicationNamesHasBeenSet = true; m_applicationNames.push_back(value); return *this; }
/**
* <p>If specified, AWS Elastic Beanstalk restricts the returned descriptions to
* only include those with the specified names.</p>
*/
inline DescribeApplicationsRequest& AddApplicationNames(Aws::String&& value) { m_applicationNamesHasBeenSet = true; m_applicationNames.push_back(std::move(value)); return *this; }
/**
* <p>If specified, AWS Elastic Beanstalk restricts the returned descriptions to
* only include those with the specified names.</p>
*/
inline DescribeApplicationsRequest& AddApplicationNames(const char* value) { m_applicationNamesHasBeenSet = true; m_applicationNames.push_back(value); return *this; }
private:
Aws::Vector<Aws::String> m_applicationNames;
bool m_applicationNamesHasBeenSet;
};
} // namespace Model
} // namespace ElasticBeanstalk
} // namespace Aws