AWS SDK for C++  1.9.131
AWS SDK for C++
GetSuiteRunRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace IoTDeviceAdvisor
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "GetSuiteRun"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetSuiteDefinitionId() const{ return m_suiteDefinitionId; }
39 
43  inline bool SuiteDefinitionIdHasBeenSet() const { return m_suiteDefinitionIdHasBeenSet; }
44 
48  inline void SetSuiteDefinitionId(const Aws::String& value) { m_suiteDefinitionIdHasBeenSet = true; m_suiteDefinitionId = value; }
49 
53  inline void SetSuiteDefinitionId(Aws::String&& value) { m_suiteDefinitionIdHasBeenSet = true; m_suiteDefinitionId = std::move(value); }
54 
58  inline void SetSuiteDefinitionId(const char* value) { m_suiteDefinitionIdHasBeenSet = true; m_suiteDefinitionId.assign(value); }
59 
63  inline GetSuiteRunRequest& WithSuiteDefinitionId(const Aws::String& value) { SetSuiteDefinitionId(value); return *this;}
64 
68  inline GetSuiteRunRequest& WithSuiteDefinitionId(Aws::String&& value) { SetSuiteDefinitionId(std::move(value)); return *this;}
69 
73  inline GetSuiteRunRequest& WithSuiteDefinitionId(const char* value) { SetSuiteDefinitionId(value); return *this;}
74 
75 
79  inline const Aws::String& GetSuiteRunId() const{ return m_suiteRunId; }
80 
84  inline bool SuiteRunIdHasBeenSet() const { return m_suiteRunIdHasBeenSet; }
85 
89  inline void SetSuiteRunId(const Aws::String& value) { m_suiteRunIdHasBeenSet = true; m_suiteRunId = value; }
90 
94  inline void SetSuiteRunId(Aws::String&& value) { m_suiteRunIdHasBeenSet = true; m_suiteRunId = std::move(value); }
95 
99  inline void SetSuiteRunId(const char* value) { m_suiteRunIdHasBeenSet = true; m_suiteRunId.assign(value); }
100 
104  inline GetSuiteRunRequest& WithSuiteRunId(const Aws::String& value) { SetSuiteRunId(value); return *this;}
105 
109  inline GetSuiteRunRequest& WithSuiteRunId(Aws::String&& value) { SetSuiteRunId(std::move(value)); return *this;}
110 
114  inline GetSuiteRunRequest& WithSuiteRunId(const char* value) { SetSuiteRunId(value); return *this;}
115 
116  private:
117 
118  Aws::String m_suiteDefinitionId;
119  bool m_suiteDefinitionIdHasBeenSet;
120 
121  Aws::String m_suiteRunId;
122  bool m_suiteRunIdHasBeenSet;
123  };
124 
125 } // namespace Model
126 } // namespace IoTDeviceAdvisor
127 } // namespace Aws
Aws::IoTDeviceAdvisor::Model::GetSuiteRunRequest::WithSuiteRunId
GetSuiteRunRequest & WithSuiteRunId(const char *value)
Definition: GetSuiteRunRequest.h:114
Aws::IoTDeviceAdvisor::Model::GetSuiteRunRequest::WithSuiteRunId
GetSuiteRunRequest & WithSuiteRunId(Aws::String &&value)
Definition: GetSuiteRunRequest.h:109
Aws::IoTDeviceAdvisor::Model::GetSuiteRunRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetSuiteRunRequest.h:30
Aws::IoTDeviceAdvisor::Model::GetSuiteRunRequest::SuiteRunIdHasBeenSet
bool SuiteRunIdHasBeenSet() const
Definition: GetSuiteRunRequest.h:84
Aws::IoTDeviceAdvisor::Model::GetSuiteRunRequest::SetSuiteRunId
void SetSuiteRunId(const Aws::String &value)
Definition: GetSuiteRunRequest.h:89
Aws::IoTDeviceAdvisor::Model::GetSuiteRunRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTDeviceAdvisor::Model::GetSuiteRunRequest::SuiteDefinitionIdHasBeenSet
bool SuiteDefinitionIdHasBeenSet() const
Definition: GetSuiteRunRequest.h:43
Aws::IoTDeviceAdvisor::Model::GetSuiteRunRequest::GetSuiteRunRequest
GetSuiteRunRequest()
Aws::IoTDeviceAdvisor::Model::GetSuiteRunRequest::SetSuiteDefinitionId
void SetSuiteDefinitionId(const Aws::String &value)
Definition: GetSuiteRunRequest.h:48
AWS_IOTDEVICEADVISOR_API
#define AWS_IOTDEVICEADVISOR_API
Definition: IoTDeviceAdvisor_EXPORTS.h:28
Aws::IoTDeviceAdvisor::Model::GetSuiteRunRequest::WithSuiteRunId
GetSuiteRunRequest & WithSuiteRunId(const Aws::String &value)
Definition: GetSuiteRunRequest.h:104
Aws::IoTDeviceAdvisor::Model::GetSuiteRunRequest::SetSuiteRunId
void SetSuiteRunId(Aws::String &&value)
Definition: GetSuiteRunRequest.h:94
Aws::IoTDeviceAdvisor::Model::GetSuiteRunRequest::WithSuiteDefinitionId
GetSuiteRunRequest & WithSuiteDefinitionId(const char *value)
Definition: GetSuiteRunRequest.h:73
Aws::IoTDeviceAdvisor::Model::GetSuiteRunRequest::SetSuiteDefinitionId
void SetSuiteDefinitionId(const char *value)
Definition: GetSuiteRunRequest.h:58
AWSString.h
Aws::IoTDeviceAdvisor::Model::GetSuiteRunRequest::SetSuiteDefinitionId
void SetSuiteDefinitionId(Aws::String &&value)
Definition: GetSuiteRunRequest.h:53
Aws::IoTDeviceAdvisor::Model::GetSuiteRunRequest::WithSuiteDefinitionId
GetSuiteRunRequest & WithSuiteDefinitionId(const Aws::String &value)
Definition: GetSuiteRunRequest.h:63
Aws::IoTDeviceAdvisor::IoTDeviceAdvisorRequest
Definition: IoTDeviceAdvisorRequest.h:17
IoTDeviceAdvisorRequest.h
Aws::IoTDeviceAdvisor::Model::GetSuiteRunRequest::GetSuiteRunId
const Aws::String & GetSuiteRunId() const
Definition: GetSuiteRunRequest.h:79
Aws::IoTDeviceAdvisor::Model::GetSuiteRunRequest
Definition: GetSuiteRunRequest.h:22
Aws
Definition: AccessManagementClient.h:15
Aws::IoTDeviceAdvisor::Model::GetSuiteRunRequest::SetSuiteRunId
void SetSuiteRunId(const char *value)
Definition: GetSuiteRunRequest.h:99
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTDeviceAdvisor::Model::GetSuiteRunRequest::WithSuiteDefinitionId
GetSuiteRunRequest & WithSuiteDefinitionId(Aws::String &&value)
Definition: GetSuiteRunRequest.h:68
IoTDeviceAdvisor_EXPORTS.h
Aws::IoTDeviceAdvisor::Model::GetSuiteRunRequest::GetSuiteDefinitionId
const Aws::String & GetSuiteDefinitionId() const
Definition: GetSuiteRunRequest.h:38