AWS SDK for C++

AWS SDK for C++ Version 1.11.755

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