AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
GetTestGridSessionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devicefarm/DeviceFarmRequest.h>
9#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace DeviceFarm {
15namespace Model {
16
20 public:
21 AWS_DEVICEFARM_API GetTestGridSessionRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetTestGridSession"; }
28
29 AWS_DEVICEFARM_API Aws::String SerializePayload() const override;
30
32
34
38 inline const Aws::String& GetProjectArn() const { return m_projectArn; }
39 inline bool ProjectArnHasBeenSet() const { return m_projectArnHasBeenSet; }
40 template <typename ProjectArnT = Aws::String>
41 void SetProjectArn(ProjectArnT&& value) {
42 m_projectArnHasBeenSet = true;
43 m_projectArn = std::forward<ProjectArnT>(value);
44 }
45 template <typename ProjectArnT = Aws::String>
47 SetProjectArn(std::forward<ProjectArnT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetSessionId() const { return m_sessionId; }
57 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
58 template <typename SessionIdT = Aws::String>
59 void SetSessionId(SessionIdT&& value) {
60 m_sessionIdHasBeenSet = true;
61 m_sessionId = std::forward<SessionIdT>(value);
62 }
63 template <typename SessionIdT = Aws::String>
65 SetSessionId(std::forward<SessionIdT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetSessionArn() const { return m_sessionArn; }
75 inline bool SessionArnHasBeenSet() const { return m_sessionArnHasBeenSet; }
76 template <typename SessionArnT = Aws::String>
77 void SetSessionArn(SessionArnT&& value) {
78 m_sessionArnHasBeenSet = true;
79 m_sessionArn = std::forward<SessionArnT>(value);
80 }
81 template <typename SessionArnT = Aws::String>
83 SetSessionArn(std::forward<SessionArnT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_projectArn;
89
90 Aws::String m_sessionId;
91
92 Aws::String m_sessionArn;
93 bool m_projectArnHasBeenSet = false;
94 bool m_sessionIdHasBeenSet = false;
95 bool m_sessionArnHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace DeviceFarm
100} // 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