AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListApplicationRevisionsRequest.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/codedeploy/CodeDeployRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codedeploy/model/ApplicationRevisionSortBy.h>
11#include <aws/codedeploy/model/SortOrder.h>
12#include <aws/codedeploy/model/ListStateFilterAction.h>
13#include <utility>
14
15namespace Aws
16{
17namespace CodeDeploy
18{
19namespace Model
20{
21
29 {
30 public:
31 AWS_CODEDEPLOY_API ListApplicationRevisionsRequest();
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "ListApplicationRevisions"; }
38
39 AWS_CODEDEPLOY_API Aws::String SerializePayload() const override;
40
42
43
45
49 inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
50 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
51 inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
52 inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
53 inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
55 inline ListApplicationRevisionsRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
56 inline ListApplicationRevisionsRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
58
60
69 inline const ApplicationRevisionSortBy& GetSortBy() const{ return m_sortBy; }
70 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
71 inline void SetSortBy(const ApplicationRevisionSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
72 inline void SetSortBy(ApplicationRevisionSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
74 inline ListApplicationRevisionsRequest& WithSortBy(ApplicationRevisionSortBy&& value) { SetSortBy(std::move(value)); return *this;}
76
78
85 inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
86 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
87 inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
88 inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
89 inline ListApplicationRevisionsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
90 inline ListApplicationRevisionsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
92
94
98 inline const Aws::String& GetS3Bucket() const{ return m_s3Bucket; }
99 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
100 inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; }
101 inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); }
102 inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); }
103 inline ListApplicationRevisionsRequest& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
104 inline ListApplicationRevisionsRequest& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
105 inline ListApplicationRevisionsRequest& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;}
107
109
113 inline const Aws::String& GetS3KeyPrefix() const{ return m_s3KeyPrefix; }
114 inline bool S3KeyPrefixHasBeenSet() const { return m_s3KeyPrefixHasBeenSet; }
115 inline void SetS3KeyPrefix(const Aws::String& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = value; }
116 inline void SetS3KeyPrefix(Aws::String&& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = std::move(value); }
117 inline void SetS3KeyPrefix(const char* value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix.assign(value); }
118 inline ListApplicationRevisionsRequest& WithS3KeyPrefix(const Aws::String& value) { SetS3KeyPrefix(value); return *this;}
119 inline ListApplicationRevisionsRequest& WithS3KeyPrefix(Aws::String&& value) { SetS3KeyPrefix(std::move(value)); return *this;}
120 inline ListApplicationRevisionsRequest& WithS3KeyPrefix(const char* value) { SetS3KeyPrefix(value); return *this;}
122
124
132 inline const ListStateFilterAction& GetDeployed() const{ return m_deployed; }
133 inline bool DeployedHasBeenSet() const { return m_deployedHasBeenSet; }
134 inline void SetDeployed(const ListStateFilterAction& value) { m_deployedHasBeenSet = true; m_deployed = value; }
135 inline void SetDeployed(ListStateFilterAction&& value) { m_deployedHasBeenSet = true; m_deployed = std::move(value); }
137 inline ListApplicationRevisionsRequest& WithDeployed(ListStateFilterAction&& value) { SetDeployed(std::move(value)); return *this;}
139
141
146 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
147 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
148 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
149 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
150 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
151 inline ListApplicationRevisionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
152 inline ListApplicationRevisionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
153 inline ListApplicationRevisionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
155 private:
156
157 Aws::String m_applicationName;
158 bool m_applicationNameHasBeenSet = false;
159
161 bool m_sortByHasBeenSet = false;
162
163 SortOrder m_sortOrder;
164 bool m_sortOrderHasBeenSet = false;
165
166 Aws::String m_s3Bucket;
167 bool m_s3BucketHasBeenSet = false;
168
169 Aws::String m_s3KeyPrefix;
170 bool m_s3KeyPrefixHasBeenSet = false;
171
172 ListStateFilterAction m_deployed;
173 bool m_deployedHasBeenSet = false;
174
175 Aws::String m_nextToken;
176 bool m_nextTokenHasBeenSet = false;
177 };
178
179} // namespace Model
180} // namespace CodeDeploy
181} // namespace Aws
ListApplicationRevisionsRequest & WithNextToken(Aws::String &&value)
ListApplicationRevisionsRequest & WithApplicationName(Aws::String &&value)
ListApplicationRevisionsRequest & WithSortBy(ApplicationRevisionSortBy &&value)
ListApplicationRevisionsRequest & WithApplicationName(const char *value)
ListApplicationRevisionsRequest & WithS3KeyPrefix(const char *value)
ListApplicationRevisionsRequest & WithSortBy(const ApplicationRevisionSortBy &value)
ListApplicationRevisionsRequest & WithSortOrder(SortOrder &&value)
ListApplicationRevisionsRequest & WithDeployed(const ListStateFilterAction &value)
ListApplicationRevisionsRequest & WithApplicationName(const Aws::String &value)
ListApplicationRevisionsRequest & WithS3Bucket(const char *value)
ListApplicationRevisionsRequest & WithS3KeyPrefix(const Aws::String &value)
ListApplicationRevisionsRequest & WithNextToken(const Aws::String &value)
AWS_CODEDEPLOY_API Aws::String SerializePayload() const override
ListApplicationRevisionsRequest & WithNextToken(const char *value)
ListApplicationRevisionsRequest & WithS3Bucket(const Aws::String &value)
ListApplicationRevisionsRequest & WithS3KeyPrefix(Aws::String &&value)
ListApplicationRevisionsRequest & WithDeployed(ListStateFilterAction &&value)
ListApplicationRevisionsRequest & WithS3Bucket(Aws::String &&value)
ListApplicationRevisionsRequest & WithSortOrder(const SortOrder &value)
AWS_CODEDEPLOY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String