AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
GetStreamSessionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/gameliftstreams/GameLiftStreamsRequest.h>
9#include <aws/gameliftstreams/GameLiftStreams_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace GameLiftStreams {
15namespace Model {
16
20 public:
21 AWS_GAMELIFTSTREAMS_API GetStreamSessionRequest() = 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 "GetStreamSession"; }
28
29 AWS_GAMELIFTSTREAMS_API Aws::String SerializePayload() const override;
30
32
40 inline const Aws::String& GetIdentifier() const { return m_identifier; }
41 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
42 template <typename IdentifierT = Aws::String>
43 void SetIdentifier(IdentifierT&& value) {
44 m_identifierHasBeenSet = true;
45 m_identifier = std::forward<IdentifierT>(value);
46 }
47 template <typename IdentifierT = Aws::String>
49 SetIdentifier(std::forward<IdentifierT>(value));
50 return *this;
51 }
53
55
63 inline const Aws::String& GetStreamSessionIdentifier() const { return m_streamSessionIdentifier; }
64 inline bool StreamSessionIdentifierHasBeenSet() const { return m_streamSessionIdentifierHasBeenSet; }
65 template <typename StreamSessionIdentifierT = Aws::String>
66 void SetStreamSessionIdentifier(StreamSessionIdentifierT&& value) {
67 m_streamSessionIdentifierHasBeenSet = true;
68 m_streamSessionIdentifier = std::forward<StreamSessionIdentifierT>(value);
69 }
70 template <typename StreamSessionIdentifierT = Aws::String>
71 GetStreamSessionRequest& WithStreamSessionIdentifier(StreamSessionIdentifierT&& value) {
72 SetStreamSessionIdentifier(std::forward<StreamSessionIdentifierT>(value));
73 return *this;
74 }
76 private:
77 Aws::String m_identifier;
78
79 Aws::String m_streamSessionIdentifier;
80 bool m_identifierHasBeenSet = false;
81 bool m_streamSessionIdentifierHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace GameLiftStreams
86} // namespace Aws
virtual const char * GetServiceRequestName() const override
GetStreamSessionRequest & WithIdentifier(IdentifierT &&value)
GetStreamSessionRequest & WithStreamSessionIdentifier(StreamSessionIdentifierT &&value)
AWS_GAMELIFTSTREAMS_API Aws::String SerializePayload() const override
AWS_GAMELIFTSTREAMS_API GetStreamSessionRequest()=default
void SetStreamSessionIdentifier(StreamSessionIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String