AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetTestGridSessionRequest.h
1
6#pragma once
7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/devicefarm/DeviceFarmRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace DeviceFarm
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_DEVICEFARM_API GetTestGridSessionRequest();
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 "GetTestGridSession"; }
31
32 AWS_DEVICEFARM_API Aws::String SerializePayload() const override;
33
35
36
38
42 inline const Aws::String& GetProjectArn() const{ return m_projectArn; }
43 inline bool ProjectArnHasBeenSet() const { return m_projectArnHasBeenSet; }
44 inline void SetProjectArn(const Aws::String& value) { m_projectArnHasBeenSet = true; m_projectArn = value; }
45 inline void SetProjectArn(Aws::String&& value) { m_projectArnHasBeenSet = true; m_projectArn = std::move(value); }
46 inline void SetProjectArn(const char* value) { m_projectArnHasBeenSet = true; m_projectArn.assign(value); }
47 inline GetTestGridSessionRequest& WithProjectArn(const Aws::String& value) { SetProjectArn(value); return *this;}
48 inline GetTestGridSessionRequest& WithProjectArn(Aws::String&& value) { SetProjectArn(std::move(value)); return *this;}
49 inline GetTestGridSessionRequest& WithProjectArn(const char* value) { SetProjectArn(value); return *this;}
51
53
56 inline const Aws::String& GetSessionId() const{ return m_sessionId; }
57 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
58 inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; }
59 inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); }
60 inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); }
61 inline GetTestGridSessionRequest& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
62 inline GetTestGridSessionRequest& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
63 inline GetTestGridSessionRequest& WithSessionId(const char* value) { SetSessionId(value); return *this;}
65
67
70 inline const Aws::String& GetSessionArn() const{ return m_sessionArn; }
71 inline bool SessionArnHasBeenSet() const { return m_sessionArnHasBeenSet; }
72 inline void SetSessionArn(const Aws::String& value) { m_sessionArnHasBeenSet = true; m_sessionArn = value; }
73 inline void SetSessionArn(Aws::String&& value) { m_sessionArnHasBeenSet = true; m_sessionArn = std::move(value); }
74 inline void SetSessionArn(const char* value) { m_sessionArnHasBeenSet = true; m_sessionArn.assign(value); }
75 inline GetTestGridSessionRequest& WithSessionArn(const Aws::String& value) { SetSessionArn(value); return *this;}
76 inline GetTestGridSessionRequest& WithSessionArn(Aws::String&& value) { SetSessionArn(std::move(value)); return *this;}
77 inline GetTestGridSessionRequest& WithSessionArn(const char* value) { SetSessionArn(value); return *this;}
79 private:
80
81 Aws::String m_projectArn;
82 bool m_projectArnHasBeenSet = false;
83
84 Aws::String m_sessionId;
85 bool m_sessionIdHasBeenSet = false;
86
87 Aws::String m_sessionArn;
88 bool m_sessionArnHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace DeviceFarm
93} // namespace Aws
GetTestGridSessionRequest & WithProjectArn(const char *value)
GetTestGridSessionRequest & WithProjectArn(Aws::String &&value)
AWS_DEVICEFARM_API Aws::String SerializePayload() const override
GetTestGridSessionRequest & WithSessionArn(const char *value)
AWS_DEVICEFARM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetTestGridSessionRequest & WithSessionId(Aws::String &&value)
GetTestGridSessionRequest & WithSessionArn(Aws::String &&value)
GetTestGridSessionRequest & WithSessionId(const char *value)
GetTestGridSessionRequest & WithSessionArn(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
GetTestGridSessionRequest & WithProjectArn(const Aws::String &value)
GetTestGridSessionRequest & WithSessionId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String