AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
ListUploadsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devicefarm/DeviceFarmRequest.h>
9#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
10#include <aws/devicefarm/model/UploadType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace DeviceFarm {
16namespace Model {
17
25 public:
26 AWS_DEVICEFARM_API ListUploadsRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "ListUploads"; }
33
34 AWS_DEVICEFARM_API Aws::String SerializePayload() const override;
35
37
39
43 inline const Aws::String& GetArn() const { return m_arn; }
44 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
45 template <typename ArnT = Aws::String>
46 void SetArn(ArnT&& value) {
47 m_arnHasBeenSet = true;
48 m_arn = std::forward<ArnT>(value);
49 }
50 template <typename ArnT = Aws::String>
51 ListUploadsRequest& WithArn(ArnT&& value) {
52 SetArn(std::forward<ArnT>(value));
53 return *this;
54 }
56
58
82 inline UploadType GetType() const { return m_type; }
83 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
84 inline void SetType(UploadType value) {
85 m_typeHasBeenSet = true;
86 m_type = value;
87 }
89 SetType(value);
90 return *this;
91 }
93
95
99 inline const Aws::String& GetNextToken() const { return m_nextToken; }
100 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
101 template <typename NextTokenT = Aws::String>
102 void SetNextToken(NextTokenT&& value) {
103 m_nextTokenHasBeenSet = true;
104 m_nextToken = std::forward<NextTokenT>(value);
105 }
106 template <typename NextTokenT = Aws::String>
107 ListUploadsRequest& WithNextToken(NextTokenT&& value) {
108 SetNextToken(std::forward<NextTokenT>(value));
109 return *this;
110 }
112 private:
113 Aws::String m_arn;
114
116
117 Aws::String m_nextToken;
118 bool m_arnHasBeenSet = false;
119 bool m_typeHasBeenSet = false;
120 bool m_nextTokenHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace DeviceFarm
125} // namespace Aws
AWS_DEVICEFARM_API ListUploadsRequest()=default
AWS_DEVICEFARM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DEVICEFARM_API Aws::String SerializePayload() const override
ListUploadsRequest & WithArn(ArnT &&value)
ListUploadsRequest & WithNextToken(NextTokenT &&value)
virtual const char * GetServiceRequestName() const override
ListUploadsRequest & WithType(UploadType value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String