AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ApplicationNamesT = Aws::Vector<Aws::String>>
51 void SetApplicationNames(ApplicationNamesT&& value) { m_applicationNamesHasBeenSet = true; m_applicationNames = std::forward<ApplicationNamesT>(value); }
52 template<typename ApplicationNamesT = Aws::Vector<Aws::String>>
53 DescribeApplicationsRequest& WithApplicationNames(ApplicationNamesT&& value) { SetApplicationNames(std::forward<ApplicationNamesT>(value)); return *this;}
54 template<typename ApplicationNamesT = Aws::String>
55 DescribeApplicationsRequest& AddApplicationNames(ApplicationNamesT&& value) { m_applicationNamesHasBeenSet = true; m_applicationNames.emplace_back(std::forward<ApplicationNamesT>(value)); return *this; }
57 private:
58
59 Aws::Vector<Aws::String> m_applicationNames;
60 bool m_applicationNamesHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace ElasticBeanstalk
65} // namespace Aws
AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_ELASTICBEANSTALK_API DescribeApplicationsRequest()=default
DescribeApplicationsRequest & WithApplicationNames(ApplicationNamesT &&value)
AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override
DescribeApplicationsRequest & AddApplicationNames(ApplicationNamesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector