AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CreateStreamSessionConnectionRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/gameliftstreams/GameLiftStreamsRequest.h>
10#include <aws/gameliftstreams/GameLiftStreams_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace GameLiftStreams {
16namespace Model {
17
21 public:
22 AWS_GAMELIFTSTREAMS_API CreateStreamSessionConnectionRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "CreateStreamSessionConnection"; }
29
30 AWS_GAMELIFTSTREAMS_API Aws::String SerializePayload() const override;
31
33
38 inline const Aws::String& GetClientToken() const { return m_clientToken; }
39 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
40 template <typename ClientTokenT = Aws::String>
41 void SetClientToken(ClientTokenT&& value) {
42 m_clientTokenHasBeenSet = true;
43 m_clientToken = std::forward<ClientTokenT>(value);
44 }
45 template <typename ClientTokenT = Aws::String>
47 SetClientToken(std::forward<ClientTokenT>(value));
48 return *this;
49 }
51
53
63 inline const Aws::String& GetIdentifier() const { return m_identifier; }
64 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
65 template <typename IdentifierT = Aws::String>
66 void SetIdentifier(IdentifierT&& value) {
67 m_identifierHasBeenSet = true;
68 m_identifier = std::forward<IdentifierT>(value);
69 }
70 template <typename IdentifierT = Aws::String>
72 SetIdentifier(std::forward<IdentifierT>(value));
73 return *this;
74 }
76
78
87 inline const Aws::String& GetStreamSessionIdentifier() const { return m_streamSessionIdentifier; }
88 inline bool StreamSessionIdentifierHasBeenSet() const { return m_streamSessionIdentifierHasBeenSet; }
89 template <typename StreamSessionIdentifierT = Aws::String>
90 void SetStreamSessionIdentifier(StreamSessionIdentifierT&& value) {
91 m_streamSessionIdentifierHasBeenSet = true;
92 m_streamSessionIdentifier = std::forward<StreamSessionIdentifierT>(value);
93 }
94 template <typename StreamSessionIdentifierT = Aws::String>
96 SetStreamSessionIdentifier(std::forward<StreamSessionIdentifierT>(value));
97 return *this;
98 }
100
102
108 inline const Aws::String& GetSignalRequest() const { return m_signalRequest; }
109 inline bool SignalRequestHasBeenSet() const { return m_signalRequestHasBeenSet; }
110 template <typename SignalRequestT = Aws::String>
111 void SetSignalRequest(SignalRequestT&& value) {
112 m_signalRequestHasBeenSet = true;
113 m_signalRequest = std::forward<SignalRequestT>(value);
114 }
115 template <typename SignalRequestT = Aws::String>
117 SetSignalRequest(std::forward<SignalRequestT>(value));
118 return *this;
119 }
121 private:
123
124 Aws::String m_identifier;
125
126 Aws::String m_streamSessionIdentifier;
127
128 Aws::String m_signalRequest;
129 bool m_clientTokenHasBeenSet = true;
130 bool m_identifierHasBeenSet = false;
131 bool m_streamSessionIdentifierHasBeenSet = false;
132 bool m_signalRequestHasBeenSet = false;
133};
134
135} // namespace Model
136} // namespace GameLiftStreams
137} // namespace Aws
AWS_GAMELIFTSTREAMS_API CreateStreamSessionConnectionRequest()=default
AWS_GAMELIFTSTREAMS_API Aws::String SerializePayload() const override
CreateStreamSessionConnectionRequest & WithIdentifier(IdentifierT &&value)
CreateStreamSessionConnectionRequest & WithSignalRequest(SignalRequestT &&value)
CreateStreamSessionConnectionRequest & WithClientToken(ClientTokenT &&value)
CreateStreamSessionConnectionRequest & WithStreamSessionIdentifier(StreamSessionIdentifierT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String