AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename ProjectArnT = Aws::String>
45 void SetProjectArn(ProjectArnT&& value) { m_projectArnHasBeenSet = true; m_projectArn = std::forward<ProjectArnT>(value); }
46 template<typename ProjectArnT = Aws::String>
47 GetTestGridSessionRequest& WithProjectArn(ProjectArnT&& value) { SetProjectArn(std::forward<ProjectArnT>(value)); return *this;}
49
51
54 inline const Aws::String& GetSessionId() const { return m_sessionId; }
55 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
56 template<typename SessionIdT = Aws::String>
57 void SetSessionId(SessionIdT&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::forward<SessionIdT>(value); }
58 template<typename SessionIdT = Aws::String>
59 GetTestGridSessionRequest& WithSessionId(SessionIdT&& value) { SetSessionId(std::forward<SessionIdT>(value)); return *this;}
61
63
66 inline const Aws::String& GetSessionArn() const { return m_sessionArn; }
67 inline bool SessionArnHasBeenSet() const { return m_sessionArnHasBeenSet; }
68 template<typename SessionArnT = Aws::String>
69 void SetSessionArn(SessionArnT&& value) { m_sessionArnHasBeenSet = true; m_sessionArn = std::forward<SessionArnT>(value); }
70 template<typename SessionArnT = Aws::String>
71 GetTestGridSessionRequest& WithSessionArn(SessionArnT&& value) { SetSessionArn(std::forward<SessionArnT>(value)); return *this;}
73 private:
74
75 Aws::String m_projectArn;
76 bool m_projectArnHasBeenSet = false;
77
78 Aws::String m_sessionId;
79 bool m_sessionIdHasBeenSet = false;
80
81 Aws::String m_sessionArn;
82 bool m_sessionArnHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace DeviceFarm
87} // namespace Aws
AWS_DEVICEFARM_API Aws::String SerializePayload() const override
AWS_DEVICEFARM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetTestGridSessionRequest & WithProjectArn(ProjectArnT &&value)
AWS_DEVICEFARM_API GetTestGridSessionRequest()=default
GetTestGridSessionRequest & WithSessionArn(SessionArnT &&value)
virtual const char * GetServiceRequestName() const override
GetTestGridSessionRequest & WithSessionId(SessionIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String