AWS SDK for C++  1.9.131
AWS SDK for C++
GetTestRequest.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 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "GetTest"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const Aws::String& GetArn() const{ return m_arn; }
44 
48  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 
53  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
54 
58  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
59 
63  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
64 
68  inline GetTestRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
69 
73  inline GetTestRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
74 
78  inline GetTestRequest& WithArn(const char* value) { SetArn(value); return *this;}
79 
80  private:
81 
82  Aws::String m_arn;
83  bool m_arnHasBeenSet;
84  };
85 
86 } // namespace Model
87 } // namespace DeviceFarm
88 } // namespace Aws
Aws::DeviceFarm::Model::GetTestRequest::WithArn
GetTestRequest & WithArn(const Aws::String &value)
Definition: GetTestRequest.h:68
Aws::DeviceFarm::Model::GetTestRequest
Definition: GetTestRequest.h:25
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DeviceFarm::Model::GetTestRequest::WithArn
GetTestRequest & WithArn(Aws::String &&value)
Definition: GetTestRequest.h:73
Aws::DeviceFarm::Model::GetTestRequest::SetArn
void SetArn(Aws::String &&value)
Definition: GetTestRequest.h:58
DeviceFarmRequest.h
Aws::DeviceFarm::Model::GetTestRequest::SetArn
void SetArn(const char *value)
Definition: GetTestRequest.h:63
Aws::DeviceFarm::Model::GetTestRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::DeviceFarm::Model::GetTestRequest::GetArn
const Aws::String & GetArn() const
Definition: GetTestRequest.h:43
AWS_DEVICEFARM_API
#define AWS_DEVICEFARM_API
Definition: DeviceFarm_EXPORTS.h:28
Aws::DeviceFarm::Model::GetTestRequest::SetArn
void SetArn(const Aws::String &value)
Definition: GetTestRequest.h:53
Aws::DeviceFarm::DeviceFarmRequest
Definition: DeviceFarmRequest.h:17
Aws::DeviceFarm::Model::GetTestRequest::GetTestRequest
GetTestRequest()
AWSString.h
Aws::DeviceFarm::Model::GetTestRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetTestRequest.h:33
Aws::DeviceFarm::Model::GetTestRequest::WithArn
GetTestRequest & WithArn(const char *value)
Definition: GetTestRequest.h:78
Aws
Definition: AccessManagementClient.h:15
DeviceFarm_EXPORTS.h
Aws::DeviceFarm::Model::GetTestRequest::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::GetTestRequest::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: GetTestRequest.h:48