AWS SDK for C++  1.9.175
AWS SDK for C++
ListSuiteRunsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace IoTDeviceAdvisor
19 {
20 namespace Model
21 {
22 
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 "ListSuiteRuns"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
45  inline const Aws::String& GetSuiteDefinitionId() const{ return m_suiteDefinitionId; }
46 
51  inline bool SuiteDefinitionIdHasBeenSet() const { return m_suiteDefinitionIdHasBeenSet; }
52 
57  inline void SetSuiteDefinitionId(const Aws::String& value) { m_suiteDefinitionIdHasBeenSet = true; m_suiteDefinitionId = value; }
58 
63  inline void SetSuiteDefinitionId(Aws::String&& value) { m_suiteDefinitionIdHasBeenSet = true; m_suiteDefinitionId = std::move(value); }
64 
69  inline void SetSuiteDefinitionId(const char* value) { m_suiteDefinitionIdHasBeenSet = true; m_suiteDefinitionId.assign(value); }
70 
75  inline ListSuiteRunsRequest& WithSuiteDefinitionId(const Aws::String& value) { SetSuiteDefinitionId(value); return *this;}
76 
81  inline ListSuiteRunsRequest& WithSuiteDefinitionId(Aws::String&& value) { SetSuiteDefinitionId(std::move(value)); return *this;}
82 
87  inline ListSuiteRunsRequest& WithSuiteDefinitionId(const char* value) { SetSuiteDefinitionId(value); return *this;}
88 
89 
94  inline const Aws::String& GetSuiteDefinitionVersion() const{ return m_suiteDefinitionVersion; }
95 
100  inline bool SuiteDefinitionVersionHasBeenSet() const { return m_suiteDefinitionVersionHasBeenSet; }
101 
106  inline void SetSuiteDefinitionVersion(const Aws::String& value) { m_suiteDefinitionVersionHasBeenSet = true; m_suiteDefinitionVersion = value; }
107 
112  inline void SetSuiteDefinitionVersion(Aws::String&& value) { m_suiteDefinitionVersionHasBeenSet = true; m_suiteDefinitionVersion = std::move(value); }
113 
118  inline void SetSuiteDefinitionVersion(const char* value) { m_suiteDefinitionVersionHasBeenSet = true; m_suiteDefinitionVersion.assign(value); }
119 
124  inline ListSuiteRunsRequest& WithSuiteDefinitionVersion(const Aws::String& value) { SetSuiteDefinitionVersion(value); return *this;}
125 
130  inline ListSuiteRunsRequest& WithSuiteDefinitionVersion(Aws::String&& value) { SetSuiteDefinitionVersion(std::move(value)); return *this;}
131 
136  inline ListSuiteRunsRequest& WithSuiteDefinitionVersion(const char* value) { SetSuiteDefinitionVersion(value); return *this;}
137 
138 
142  inline int GetMaxResults() const{ return m_maxResults; }
143 
147  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
148 
152  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
153 
157  inline ListSuiteRunsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
158 
159 
163  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
164 
168  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
169 
173  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
174 
178  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
179 
183  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
184 
188  inline ListSuiteRunsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
189 
193  inline ListSuiteRunsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
194 
198  inline ListSuiteRunsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
199 
200  private:
201 
202  Aws::String m_suiteDefinitionId;
203  bool m_suiteDefinitionIdHasBeenSet;
204 
205  Aws::String m_suiteDefinitionVersion;
206  bool m_suiteDefinitionVersionHasBeenSet;
207 
208  int m_maxResults;
209  bool m_maxResultsHasBeenSet;
210 
211  Aws::String m_nextToken;
212  bool m_nextTokenHasBeenSet;
213  };
214 
215 } // namespace Model
216 } // namespace IoTDeviceAdvisor
217 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::IoTDeviceAdvisor::Model::ListSuiteRunsRequest::WithNextToken
ListSuiteRunsRequest & WithNextToken(const char *value)
Definition: ListSuiteRunsRequest.h:198
Aws::IoTDeviceAdvisor::Model::ListSuiteRunsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListSuiteRunsRequest.h:163
Aws::IoTDeviceAdvisor::Model::ListSuiteRunsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListSuiteRunsRequest.h:147
Aws::IoTDeviceAdvisor::Model::ListSuiteRunsRequest::WithSuiteDefinitionVersion
ListSuiteRunsRequest & WithSuiteDefinitionVersion(const char *value)
Definition: ListSuiteRunsRequest.h:136
Aws::IoTDeviceAdvisor::Model::ListSuiteRunsRequest::SetSuiteDefinitionVersion
void SetSuiteDefinitionVersion(const char *value)
Definition: ListSuiteRunsRequest.h:118
Aws::IoTDeviceAdvisor::Model::ListSuiteRunsRequest::WithNextToken
ListSuiteRunsRequest & WithNextToken(const Aws::String &value)
Definition: ListSuiteRunsRequest.h:188
Aws::IoTDeviceAdvisor::Model::ListSuiteRunsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListSuiteRunsRequest.h:178
AWS_IOTDEVICEADVISOR_API
#define AWS_IOTDEVICEADVISOR_API
Definition: IoTDeviceAdvisor_EXPORTS.h:28
Aws::IoTDeviceAdvisor::Model::ListSuiteRunsRequest::SetSuiteDefinitionId
void SetSuiteDefinitionId(const char *value)
Definition: ListSuiteRunsRequest.h:69
Aws::IoTDeviceAdvisor::Model::ListSuiteRunsRequest::ListSuiteRunsRequest
ListSuiteRunsRequest()
Aws::IoTDeviceAdvisor::Model::ListSuiteRunsRequest::SetSuiteDefinitionId
void SetSuiteDefinitionId(const Aws::String &value)
Definition: ListSuiteRunsRequest.h:57
Aws::IoTDeviceAdvisor::Model::ListSuiteRunsRequest::SetSuiteDefinitionVersion
void SetSuiteDefinitionVersion(Aws::String &&value)
Definition: ListSuiteRunsRequest.h:112
Aws::IoTDeviceAdvisor::Model::ListSuiteRunsRequest::WithSuiteDefinitionId
ListSuiteRunsRequest & WithSuiteDefinitionId(const char *value)
Definition: ListSuiteRunsRequest.h:87
Aws::IoTDeviceAdvisor::Model::ListSuiteRunsRequest::GetSuiteDefinitionId
const Aws::String & GetSuiteDefinitionId() const
Definition: ListSuiteRunsRequest.h:45
AWSString.h
Aws::IoTDeviceAdvisor::Model::ListSuiteRunsRequest::SetSuiteDefinitionVersion
void SetSuiteDefinitionVersion(const Aws::String &value)
Definition: ListSuiteRunsRequest.h:106
Aws::IoTDeviceAdvisor::Model::ListSuiteRunsRequest::WithSuiteDefinitionId
ListSuiteRunsRequest & WithSuiteDefinitionId(Aws::String &&value)
Definition: ListSuiteRunsRequest.h:81
Aws::IoTDeviceAdvisor::IoTDeviceAdvisorRequest
Definition: IoTDeviceAdvisorRequest.h:17
Aws::IoTDeviceAdvisor::Model::ListSuiteRunsRequest::WithMaxResults
ListSuiteRunsRequest & WithMaxResults(int value)
Definition: ListSuiteRunsRequest.h:157
Aws::IoTDeviceAdvisor::Model::ListSuiteRunsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListSuiteRunsRequest.h:34
Aws::IoTDeviceAdvisor::Model::ListSuiteRunsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTDeviceAdvisor::Model::ListSuiteRunsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListSuiteRunsRequest.h:142
Aws::IoTDeviceAdvisor::Model::ListSuiteRunsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListSuiteRunsRequest.h:173
IoTDeviceAdvisorRequest.h
Aws::IoTDeviceAdvisor::Model::ListSuiteRunsRequest::SetSuiteDefinitionId
void SetSuiteDefinitionId(Aws::String &&value)
Definition: ListSuiteRunsRequest.h:63
Aws::IoTDeviceAdvisor::Model::ListSuiteRunsRequest::WithNextToken
ListSuiteRunsRequest & WithNextToken(Aws::String &&value)
Definition: ListSuiteRunsRequest.h:193
Aws::IoTDeviceAdvisor::Model::ListSuiteRunsRequest::WithSuiteDefinitionVersion
ListSuiteRunsRequest & WithSuiteDefinitionVersion(Aws::String &&value)
Definition: ListSuiteRunsRequest.h:130
Aws
Definition: AccessManagementClient.h:15
Aws::IoTDeviceAdvisor::Model::ListSuiteRunsRequest::WithSuiteDefinitionVersion
ListSuiteRunsRequest & WithSuiteDefinitionVersion(const Aws::String &value)
Definition: ListSuiteRunsRequest.h:124
Aws::IoTDeviceAdvisor::Model::ListSuiteRunsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListSuiteRunsRequest.h:152
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
IoTDeviceAdvisor_EXPORTS.h
Aws::IoTDeviceAdvisor::Model::ListSuiteRunsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListSuiteRunsRequest.h:168
Aws::IoTDeviceAdvisor::Model::ListSuiteRunsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::IoTDeviceAdvisor::Model::ListSuiteRunsRequest
Definition: ListSuiteRunsRequest.h:26
Aws::IoTDeviceAdvisor::Model::ListSuiteRunsRequest::SuiteDefinitionIdHasBeenSet
bool SuiteDefinitionIdHasBeenSet() const
Definition: ListSuiteRunsRequest.h:51
Aws::IoTDeviceAdvisor::Model::ListSuiteRunsRequest::WithSuiteDefinitionId
ListSuiteRunsRequest & WithSuiteDefinitionId(const Aws::String &value)
Definition: ListSuiteRunsRequest.h:75
Aws::IoTDeviceAdvisor::Model::ListSuiteRunsRequest::SuiteDefinitionVersionHasBeenSet
bool SuiteDefinitionVersionHasBeenSet() const
Definition: ListSuiteRunsRequest.h:100
Aws::IoTDeviceAdvisor::Model::ListSuiteRunsRequest::GetSuiteDefinitionVersion
const Aws::String & GetSuiteDefinitionVersion() const
Definition: ListSuiteRunsRequest.h:94
Aws::IoTDeviceAdvisor::Model::ListSuiteRunsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListSuiteRunsRequest.h:183