AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeApplicationVersionsRequest.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/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ElasticBeanstalk
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_ELASTICBEANSTALK_API DescribeApplicationVersionsRequest() = 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 "DescribeApplicationVersions"; }
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::String& GetApplicationName() const { return m_applicationName; }
49 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
50 template<typename ApplicationNameT = Aws::String>
51 void SetApplicationName(ApplicationNameT&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::forward<ApplicationNameT>(value); }
52 template<typename ApplicationNameT = Aws::String>
53 DescribeApplicationVersionsRequest& WithApplicationName(ApplicationNameT&& value) { SetApplicationName(std::forward<ApplicationNameT>(value)); return *this;}
55
57
60 inline const Aws::Vector<Aws::String>& GetVersionLabels() const { return m_versionLabels; }
61 inline bool VersionLabelsHasBeenSet() const { return m_versionLabelsHasBeenSet; }
62 template<typename VersionLabelsT = Aws::Vector<Aws::String>>
63 void SetVersionLabels(VersionLabelsT&& value) { m_versionLabelsHasBeenSet = true; m_versionLabels = std::forward<VersionLabelsT>(value); }
64 template<typename VersionLabelsT = Aws::Vector<Aws::String>>
65 DescribeApplicationVersionsRequest& WithVersionLabels(VersionLabelsT&& value) { SetVersionLabels(std::forward<VersionLabelsT>(value)); return *this;}
66 template<typename VersionLabelsT = Aws::String>
67 DescribeApplicationVersionsRequest& AddVersionLabels(VersionLabelsT&& value) { m_versionLabelsHasBeenSet = true; m_versionLabels.emplace_back(std::forward<VersionLabelsT>(value)); return *this; }
69
71
76 inline int GetMaxRecords() const { return m_maxRecords; }
77 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
78 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
79 inline DescribeApplicationVersionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
81
83
89 inline const Aws::String& GetNextToken() const { return m_nextToken; }
90 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
91 template<typename NextTokenT = Aws::String>
92 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
93 template<typename NextTokenT = Aws::String>
94 DescribeApplicationVersionsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
96 private:
97
98 Aws::String m_applicationName;
99 bool m_applicationNameHasBeenSet = false;
100
101 Aws::Vector<Aws::String> m_versionLabels;
102 bool m_versionLabelsHasBeenSet = false;
103
104 int m_maxRecords{0};
105 bool m_maxRecordsHasBeenSet = false;
106
107 Aws::String m_nextToken;
108 bool m_nextTokenHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace ElasticBeanstalk
113} // 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