AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
ListArtifactsRequest.h
1
6#pragma once
7#include <aws/amplify/AmplifyRequest.h>
8#include <aws/amplify/Amplify_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace Amplify {
18namespace Model {
19
27 public:
28 AWS_AMPLIFY_API ListArtifactsRequest() = 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 "ListArtifacts"; }
35
36 AWS_AMPLIFY_API Aws::String SerializePayload() const override;
37
38 AWS_AMPLIFY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
41
44 inline const Aws::String& GetAppId() const { return m_appId; }
45 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
46 template <typename AppIdT = Aws::String>
47 void SetAppId(AppIdT&& value) {
48 m_appIdHasBeenSet = true;
49 m_appId = std::forward<AppIdT>(value);
50 }
51 template <typename AppIdT = Aws::String>
53 SetAppId(std::forward<AppIdT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetBranchName() const { return m_branchName; }
63 inline bool BranchNameHasBeenSet() const { return m_branchNameHasBeenSet; }
64 template <typename BranchNameT = Aws::String>
65 void SetBranchName(BranchNameT&& value) {
66 m_branchNameHasBeenSet = true;
67 m_branchName = std::forward<BranchNameT>(value);
68 }
69 template <typename BranchNameT = Aws::String>
70 ListArtifactsRequest& WithBranchName(BranchNameT&& value) {
71 SetBranchName(std::forward<BranchNameT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetJobId() const { return m_jobId; }
81 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
82 template <typename JobIdT = Aws::String>
83 void SetJobId(JobIdT&& value) {
84 m_jobIdHasBeenSet = true;
85 m_jobId = std::forward<JobIdT>(value);
86 }
87 template <typename JobIdT = Aws::String>
89 SetJobId(std::forward<JobIdT>(value));
90 return *this;
91 }
93
95
100 inline const Aws::String& GetNextToken() const { return m_nextToken; }
101 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
102 template <typename NextTokenT = Aws::String>
103 void SetNextToken(NextTokenT&& value) {
104 m_nextTokenHasBeenSet = true;
105 m_nextToken = std::forward<NextTokenT>(value);
106 }
107 template <typename NextTokenT = Aws::String>
108 ListArtifactsRequest& WithNextToken(NextTokenT&& value) {
109 SetNextToken(std::forward<NextTokenT>(value));
110 return *this;
111 }
113
115
118 inline int GetMaxResults() const { return m_maxResults; }
119 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
120 inline void SetMaxResults(int value) {
121 m_maxResultsHasBeenSet = true;
122 m_maxResults = value;
123 }
125 SetMaxResults(value);
126 return *this;
127 }
129 private:
130 Aws::String m_appId;
131 bool m_appIdHasBeenSet = false;
132
133 Aws::String m_branchName;
134 bool m_branchNameHasBeenSet = false;
135
136 Aws::String m_jobId;
137 bool m_jobIdHasBeenSet = false;
138
139 Aws::String m_nextToken;
140 bool m_nextTokenHasBeenSet = false;
141
142 int m_maxResults{0};
143 bool m_maxResultsHasBeenSet = false;
144};
145
146} // namespace Model
147} // namespace Amplify
148} // namespace Aws
AWS_AMPLIFY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListArtifactsRequest & WithMaxResults(int value)
virtual const char * GetServiceRequestName() const override
ListArtifactsRequest & WithNextToken(NextTokenT &&value)
AWS_AMPLIFY_API ListArtifactsRequest()=default
ListArtifactsRequest & WithJobId(JobIdT &&value)
ListArtifactsRequest & WithAppId(AppIdT &&value)
ListArtifactsRequest & WithBranchName(BranchNameT &&value)
AWS_AMPLIFY_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String