AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
TerminateStreamSessionRequest.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 TerminateStreamSessionRequest() = 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 "TerminateStreamSession"; }
28
29 AWS_GAMELIFTSTREAMS_API Aws::String SerializePayload() const override;
30
32
41 inline const Aws::String& GetIdentifier() const { return m_identifier; }
42 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
43 template <typename IdentifierT = Aws::String>
44 void SetIdentifier(IdentifierT&& value) {
45 m_identifierHasBeenSet = true;
46 m_identifier = std::forward<IdentifierT>(value);
47 }
48 template <typename IdentifierT = Aws::String>
50 SetIdentifier(std::forward<IdentifierT>(value));
51 return *this;
52 }
54
56
64 inline const Aws::String& GetStreamSessionIdentifier() const { return m_streamSessionIdentifier; }
65 inline bool StreamSessionIdentifierHasBeenSet() const { return m_streamSessionIdentifierHasBeenSet; }
66 template <typename StreamSessionIdentifierT = Aws::String>
67 void SetStreamSessionIdentifier(StreamSessionIdentifierT&& value) {
68 m_streamSessionIdentifierHasBeenSet = true;
69 m_streamSessionIdentifier = std::forward<StreamSessionIdentifierT>(value);
70 }
71 template <typename StreamSessionIdentifierT = Aws::String>
73 SetStreamSessionIdentifier(std::forward<StreamSessionIdentifierT>(value));
74 return *this;
75 }
77 private:
78 Aws::String m_identifier;
79
80 Aws::String m_streamSessionIdentifier;
81 bool m_identifierHasBeenSet = false;
82 bool m_streamSessionIdentifierHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace GameLiftStreams
87} // namespace Aws
AWS_GAMELIFTSTREAMS_API Aws::String SerializePayload() const override
TerminateStreamSessionRequest & WithIdentifier(IdentifierT &&value)
TerminateStreamSessionRequest & WithStreamSessionIdentifier(StreamSessionIdentifierT &&value)
AWS_GAMELIFTSTREAMS_API TerminateStreamSessionRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String