AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
ListArtifactsRequest.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/ArtifactCategory.h>
11
12#include <utility>
13
14namespace Aws {
15namespace DeviceFarm {
16namespace Model {
17
25 public:
26 AWS_DEVICEFARM_API ListArtifactsRequest() = 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 "ListArtifacts"; }
33
34 AWS_DEVICEFARM_API Aws::String SerializePayload() const override;
35
37
39
42 inline const Aws::String& GetArn() const { return m_arn; }
43 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
44 template <typename ArnT = Aws::String>
45 void SetArn(ArnT&& value) {
46 m_arnHasBeenSet = true;
47 m_arn = std::forward<ArnT>(value);
48 }
49 template <typename ArnT = Aws::String>
51 SetArn(std::forward<ArnT>(value));
52 return *this;
53 }
55
57
61 inline ArtifactCategory GetType() const { return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 inline void SetType(ArtifactCategory value) {
64 m_typeHasBeenSet = true;
65 m_type = value;
66 }
68 SetType(value);
69 return *this;
70 }
72
74
78 inline const Aws::String& GetNextToken() const { return m_nextToken; }
79 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
80 template <typename NextTokenT = Aws::String>
81 void SetNextToken(NextTokenT&& value) {
82 m_nextTokenHasBeenSet = true;
83 m_nextToken = std::forward<NextTokenT>(value);
84 }
85 template <typename NextTokenT = Aws::String>
86 ListArtifactsRequest& WithNextToken(NextTokenT&& value) {
87 SetNextToken(std::forward<NextTokenT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_arn;
93
95
96 Aws::String m_nextToken;
97 bool m_arnHasBeenSet = false;
98 bool m_typeHasBeenSet = false;
99 bool m_nextTokenHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace DeviceFarm
104} // namespace Aws
ListArtifactsRequest & WithArn(ArnT &&value)
AWS_DEVICEFARM_API ListArtifactsRequest()=default
AWS_DEVICEFARM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListArtifactsRequest & WithNextToken(NextTokenT &&value)
AWS_DEVICEFARM_API Aws::String SerializePayload() const override
ListArtifactsRequest & WithType(ArtifactCategory value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String