AWS SDK for C++  1.9.123
AWS SDK for C++
ListRunsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace DeviceFarm
15 {
16 namespace Model
17 {
18 
26  {
27  public:
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 "ListRuns"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
45  inline const Aws::String& GetArn() const{ return m_arn; }
46 
51  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
52 
57  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
58 
63  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
64 
69  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
70 
75  inline ListRunsRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
76 
81  inline ListRunsRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
82 
87  inline ListRunsRequest& WithArn(const char* value) { SetArn(value); return *this;}
88 
89 
94  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
95 
100  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
101 
106  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
107 
112  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
113 
118  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
119 
124  inline ListRunsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
125 
130  inline ListRunsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
131 
136  inline ListRunsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
137 
138  private:
139 
140  Aws::String m_arn;
141  bool m_arnHasBeenSet;
142 
143  Aws::String m_nextToken;
144  bool m_nextTokenHasBeenSet;
145  };
146 
147 } // namespace Model
148 } // namespace DeviceFarm
149 } // namespace Aws
Aws::DeviceFarm::Model::ListRunsRequest::SetArn
void SetArn(const Aws::String &value)
Definition: ListRunsRequest.h:57
Aws::DeviceFarm::Model::ListRunsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListRunsRequest.h:118
Aws::DeviceFarm::Model::ListRunsRequest
Definition: ListRunsRequest.h:26
Aws::DeviceFarm::Model::ListRunsRequest::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: ListRunsRequest.h:51
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DeviceFarm::Model::ListRunsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListRunsRequest.h:94
Aws::DeviceFarm::Model::ListRunsRequest::WithNextToken
ListRunsRequest & WithNextToken(const char *value)
Definition: ListRunsRequest.h:136
Aws::DeviceFarm::Model::ListRunsRequest::WithArn
ListRunsRequest & WithArn(const Aws::String &value)
Definition: ListRunsRequest.h:75
Aws::DeviceFarm::Model::ListRunsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListRunsRequest.h:106
DeviceFarmRequest.h
Aws::DeviceFarm::Model::ListRunsRequest::WithNextToken
ListRunsRequest & WithNextToken(Aws::String &&value)
Definition: ListRunsRequest.h:130
Aws::DeviceFarm::Model::ListRunsRequest::GetArn
const Aws::String & GetArn() const
Definition: ListRunsRequest.h:45
Aws::DeviceFarm::Model::ListRunsRequest::WithArn
ListRunsRequest & WithArn(const char *value)
Definition: ListRunsRequest.h:87
AWS_DEVICEFARM_API
#define AWS_DEVICEFARM_API
Definition: DeviceFarm_EXPORTS.h:28
Aws::DeviceFarm::DeviceFarmRequest
Definition: DeviceFarmRequest.h:17
AWSString.h
Aws::DeviceFarm::Model::ListRunsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::DeviceFarm::Model::ListRunsRequest::WithNextToken
ListRunsRequest & WithNextToken(const Aws::String &value)
Definition: ListRunsRequest.h:124
Aws::DeviceFarm::Model::ListRunsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListRunsRequest.h:100
Aws::DeviceFarm::Model::ListRunsRequest::WithArn
ListRunsRequest & WithArn(Aws::String &&value)
Definition: ListRunsRequest.h:81
Aws::DeviceFarm::Model::ListRunsRequest::SetArn
void SetArn(Aws::String &&value)
Definition: ListRunsRequest.h:63
Aws
Definition: AccessManagementClient.h:15
DeviceFarm_EXPORTS.h
Aws::DeviceFarm::Model::ListRunsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DeviceFarm::Model::ListRunsRequest::SetArn
void SetArn(const char *value)
Definition: ListRunsRequest.h:69
Aws::DeviceFarm::Model::ListRunsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListRunsRequest.h:34
Aws::DeviceFarm::Model::ListRunsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListRunsRequest.h:112
Aws::DeviceFarm::Model::ListRunsRequest::ListRunsRequest
ListRunsRequest()