AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
ListRunsRequest.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
11#include <utility>
12
13namespace Aws {
14namespace DeviceFarm {
15namespace Model {
16
24 public:
25 AWS_DEVICEFARM_API ListRunsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListRuns"; }
32
33 AWS_DEVICEFARM_API Aws::String SerializePayload() const override;
34
36
38
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>
50 ListRunsRequest& WithArn(ArnT&& value) {
51 SetArn(std::forward<ArnT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetNextToken() const { return m_nextToken; }
62 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
63 template <typename NextTokenT = Aws::String>
64 void SetNextToken(NextTokenT&& value) {
65 m_nextTokenHasBeenSet = true;
66 m_nextToken = std::forward<NextTokenT>(value);
67 }
68 template <typename NextTokenT = Aws::String>
69 ListRunsRequest& WithNextToken(NextTokenT&& value) {
70 SetNextToken(std::forward<NextTokenT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_arn;
76
77 Aws::String m_nextToken;
78 bool m_arnHasBeenSet = false;
79 bool m_nextTokenHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace DeviceFarm
84} // namespace Aws
AWS_DEVICEFARM_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_DEVICEFARM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetArn() const
AWS_DEVICEFARM_API ListRunsRequest()=default
ListRunsRequest & WithNextToken(NextTokenT &&value)
ListRunsRequest & WithArn(ArnT &&value)
const Aws::String & GetNextToken() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String