AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
DescribeApplicationVersionsRequest.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 DescribeApplicationVersionsRequest() = 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 "DescribeApplicationVersions"; }
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::String& GetApplicationName() const { return m_applicationName; }
45 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
46 template <typename ApplicationNameT = Aws::String>
47 void SetApplicationName(ApplicationNameT&& value) {
48 m_applicationNameHasBeenSet = true;
49 m_applicationName = std::forward<ApplicationNameT>(value);
50 }
51 template <typename ApplicationNameT = Aws::String>
53 SetApplicationName(std::forward<ApplicationNameT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::Vector<Aws::String>& GetVersionLabels() const { return m_versionLabels; }
63 inline bool VersionLabelsHasBeenSet() const { return m_versionLabelsHasBeenSet; }
64 template <typename VersionLabelsT = Aws::Vector<Aws::String>>
65 void SetVersionLabels(VersionLabelsT&& value) {
66 m_versionLabelsHasBeenSet = true;
67 m_versionLabels = std::forward<VersionLabelsT>(value);
68 }
69 template <typename VersionLabelsT = Aws::Vector<Aws::String>>
71 SetVersionLabels(std::forward<VersionLabelsT>(value));
72 return *this;
73 }
74 template <typename VersionLabelsT = Aws::String>
76 m_versionLabelsHasBeenSet = true;
77 m_versionLabels.emplace_back(std::forward<VersionLabelsT>(value));
78 return *this;
79 }
81
83
88 inline int GetMaxRecords() const { return m_maxRecords; }
89 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
90 inline void SetMaxRecords(int value) {
91 m_maxRecordsHasBeenSet = true;
92 m_maxRecords = value;
93 }
95 SetMaxRecords(value);
96 return *this;
97 }
99
101
107 inline const Aws::String& GetNextToken() const { return m_nextToken; }
108 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
109 template <typename NextTokenT = Aws::String>
110 void SetNextToken(NextTokenT&& value) {
111 m_nextTokenHasBeenSet = true;
112 m_nextToken = std::forward<NextTokenT>(value);
113 }
114 template <typename NextTokenT = Aws::String>
116 SetNextToken(std::forward<NextTokenT>(value));
117 return *this;
118 }
120 private:
121 Aws::String m_applicationName;
122
123 Aws::Vector<Aws::String> m_versionLabels;
124
125 int m_maxRecords{0};
126
127 Aws::String m_nextToken;
128 bool m_applicationNameHasBeenSet = false;
129 bool m_versionLabelsHasBeenSet = false;
130 bool m_maxRecordsHasBeenSet = false;
131 bool m_nextTokenHasBeenSet = false;
132};
133
134} // namespace Model
135} // namespace ElasticBeanstalk
136} // namespace Aws
DescribeApplicationVersionsRequest & WithVersionLabels(VersionLabelsT &&value)
DescribeApplicationVersionsRequest & WithApplicationName(ApplicationNameT &&value)
AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override
AWS_ELASTICBEANSTALK_API DescribeApplicationVersionsRequest()=default
AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeApplicationVersionsRequest & AddVersionLabels(VersionLabelsT &&value)
DescribeApplicationVersionsRequest & WithNextToken(NextTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector