AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateStreamSessionConnectionRequest.h
1
6#pragma once
7#include <aws/gameliftstreams/GameLiftStreams_EXPORTS.h>
8#include <aws/gameliftstreams/GameLiftStreamsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace GameLiftStreams
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GAMELIFTSTREAMS_API CreateStreamSessionConnectionRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateStreamSessionConnection"; }
32
33 AWS_GAMELIFTSTREAMS_API Aws::String SerializePayload() const override;
34
35
37
42 inline const Aws::String& GetClientToken() const { return m_clientToken; }
43 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
44 template<typename ClientTokenT = Aws::String>
45 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
46 template<typename ClientTokenT = Aws::String>
47 CreateStreamSessionConnectionRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
49
51
61 inline const Aws::String& GetIdentifier() const { return m_identifier; }
62 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
63 template<typename IdentifierT = Aws::String>
64 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
65 template<typename IdentifierT = Aws::String>
66 CreateStreamSessionConnectionRequest& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
68
70
76 inline const Aws::String& GetSignalRequest() const { return m_signalRequest; }
77 inline bool SignalRequestHasBeenSet() const { return m_signalRequestHasBeenSet; }
78 template<typename SignalRequestT = Aws::String>
79 void SetSignalRequest(SignalRequestT&& value) { m_signalRequestHasBeenSet = true; m_signalRequest = std::forward<SignalRequestT>(value); }
80 template<typename SignalRequestT = Aws::String>
81 CreateStreamSessionConnectionRequest& WithSignalRequest(SignalRequestT&& value) { SetSignalRequest(std::forward<SignalRequestT>(value)); return *this;}
83
85
94 inline const Aws::String& GetStreamSessionIdentifier() const { return m_streamSessionIdentifier; }
95 inline bool StreamSessionIdentifierHasBeenSet() const { return m_streamSessionIdentifierHasBeenSet; }
96 template<typename StreamSessionIdentifierT = Aws::String>
97 void SetStreamSessionIdentifier(StreamSessionIdentifierT&& value) { m_streamSessionIdentifierHasBeenSet = true; m_streamSessionIdentifier = std::forward<StreamSessionIdentifierT>(value); }
98 template<typename StreamSessionIdentifierT = Aws::String>
99 CreateStreamSessionConnectionRequest& WithStreamSessionIdentifier(StreamSessionIdentifierT&& value) { SetStreamSessionIdentifier(std::forward<StreamSessionIdentifierT>(value)); return *this;}
101 private:
102
104 bool m_clientTokenHasBeenSet = true;
105
106 Aws::String m_identifier;
107 bool m_identifierHasBeenSet = false;
108
109 Aws::String m_signalRequest;
110 bool m_signalRequestHasBeenSet = false;
111
112 Aws::String m_streamSessionIdentifier;
113 bool m_streamSessionIdentifierHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace GameLiftStreams
118} // 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