AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeApplicationsRequest.h
1
6#pragma once
7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/elasticbeanstalk/ElasticBeanstalkRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ElasticBeanstalk
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_ELASTICBEANSTALK_API DescribeApplicationsRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DescribeApplications"; }
35
36 AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override;
37
38 protected:
39 AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40
41 public:
42
44
48 inline const Aws::Vector<Aws::String>& GetApplicationNames() const{ return m_applicationNames; }
49 inline bool ApplicationNamesHasBeenSet() const { return m_applicationNamesHasBeenSet; }
50 inline void SetApplicationNames(const Aws::Vector<Aws::String>& value) { m_applicationNamesHasBeenSet = true; m_applicationNames = value; }
51 inline void SetApplicationNames(Aws::Vector<Aws::String>&& value) { m_applicationNamesHasBeenSet = true; m_applicationNames = std::move(value); }
54 inline DescribeApplicationsRequest& AddApplicationNames(const Aws::String& value) { m_applicationNamesHasBeenSet = true; m_applicationNames.push_back(value); return *this; }
55 inline DescribeApplicationsRequest& AddApplicationNames(Aws::String&& value) { m_applicationNamesHasBeenSet = true; m_applicationNames.push_back(std::move(value)); return *this; }
56 inline DescribeApplicationsRequest& AddApplicationNames(const char* value) { m_applicationNamesHasBeenSet = true; m_applicationNames.push_back(value); return *this; }
58 private:
59
60 Aws::Vector<Aws::String> m_applicationNames;
61 bool m_applicationNamesHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace ElasticBeanstalk
66} // namespace Aws
AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeApplicationsRequest & WithApplicationNames(Aws::Vector< Aws::String > &&value)
DescribeApplicationsRequest & WithApplicationNames(const Aws::Vector< Aws::String > &value)
AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override
DescribeApplicationsRequest & AddApplicationNames(const Aws::String &value)
void SetApplicationNames(const Aws::Vector< Aws::String > &value)
DescribeApplicationsRequest & AddApplicationNames(Aws::String &&value)
DescribeApplicationsRequest & AddApplicationNames(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector