AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
51 inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
52 inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
54 inline DescribeApplicationVersionsRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
55 inline DescribeApplicationVersionsRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
57
59
62 inline const Aws::Vector<Aws::String>& GetVersionLabels() const{ return m_versionLabels; }
63 inline bool VersionLabelsHasBeenSet() const { return m_versionLabelsHasBeenSet; }
64 inline void SetVersionLabels(const Aws::Vector<Aws::String>& value) { m_versionLabelsHasBeenSet = true; m_versionLabels = value; }
65 inline void SetVersionLabels(Aws::Vector<Aws::String>&& value) { m_versionLabelsHasBeenSet = true; m_versionLabels = std::move(value); }
68 inline DescribeApplicationVersionsRequest& AddVersionLabels(const Aws::String& value) { m_versionLabelsHasBeenSet = true; m_versionLabels.push_back(value); return *this; }
69 inline DescribeApplicationVersionsRequest& AddVersionLabels(Aws::String&& value) { m_versionLabelsHasBeenSet = true; m_versionLabels.push_back(std::move(value)); return *this; }
70 inline DescribeApplicationVersionsRequest& AddVersionLabels(const char* value) { m_versionLabelsHasBeenSet = true; m_versionLabels.push_back(value); return *this; }
72
74
79 inline int GetMaxRecords() const{ return m_maxRecords; }
80 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
81 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
82 inline DescribeApplicationVersionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
84
86
92 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
93 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
94 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
95 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
96 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
97 inline DescribeApplicationVersionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
98 inline DescribeApplicationVersionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
99 inline DescribeApplicationVersionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
101 private:
102
103 Aws::String m_applicationName;
104 bool m_applicationNameHasBeenSet = false;
105
106 Aws::Vector<Aws::String> m_versionLabels;
107 bool m_versionLabelsHasBeenSet = false;
108
109 int m_maxRecords;
110 bool m_maxRecordsHasBeenSet = false;
111
112 Aws::String m_nextToken;
113 bool m_nextTokenHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace ElasticBeanstalk
118} // namespace Aws
DescribeApplicationVersionsRequest & AddVersionLabels(Aws::String &&value)
DescribeApplicationVersionsRequest & WithApplicationName(const Aws::String &value)
DescribeApplicationVersionsRequest & AddVersionLabels(const char *value)
DescribeApplicationVersionsRequest & WithApplicationName(const char *value)
DescribeApplicationVersionsRequest & WithNextToken(const Aws::String &value)
DescribeApplicationVersionsRequest & AddVersionLabels(const Aws::String &value)
DescribeApplicationVersionsRequest & WithNextToken(const char *value)
AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override
AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeApplicationVersionsRequest & WithVersionLabels(const Aws::Vector< Aws::String > &value)
DescribeApplicationVersionsRequest & WithVersionLabels(Aws::Vector< Aws::String > &&value)
DescribeApplicationVersionsRequest & WithNextToken(Aws::String &&value)
DescribeApplicationVersionsRequest & WithApplicationName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector