AWS SDK for C++

AWS SDK for C++ Version 1.11.868

Loading...
Searching...
No Matches
GetStreamUrlRequest.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 GetStreamUrlRequest() = 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 "GetStreamUrl"; }
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>
49 GetStreamUrlRequest& WithIdentifier(IdentifierT&& value) {
50 SetIdentifier(std::forward<IdentifierT>(value));
51 return *this;
52 }
54
56
62 inline const Aws::String& GetStreamUrlIdentifier() const { return m_streamUrlIdentifier; }
63 inline bool StreamUrlIdentifierHasBeenSet() const { return m_streamUrlIdentifierHasBeenSet; }
64 template <typename StreamUrlIdentifierT = Aws::String>
65 void SetStreamUrlIdentifier(StreamUrlIdentifierT&& value) {
66 m_streamUrlIdentifierHasBeenSet = true;
67 m_streamUrlIdentifier = std::forward<StreamUrlIdentifierT>(value);
68 }
69 template <typename StreamUrlIdentifierT = Aws::String>
70 GetStreamUrlRequest& WithStreamUrlIdentifier(StreamUrlIdentifierT&& value) {
71 SetStreamUrlIdentifier(std::forward<StreamUrlIdentifierT>(value));
72 return *this;
73 }
75 private:
76 Aws::String m_identifier;
77
78 Aws::String m_streamUrlIdentifier;
79 bool m_identifierHasBeenSet = false;
80 bool m_streamUrlIdentifierHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace GameLiftStreams
85} // namespace Aws
GetStreamUrlRequest & WithStreamUrlIdentifier(StreamUrlIdentifierT &&value)
GetStreamUrlRequest & WithIdentifier(IdentifierT &&value)
AWS_GAMELIFTSTREAMS_API GetStreamUrlRequest()=default
virtual const char * GetServiceRequestName() const override
void SetStreamUrlIdentifier(StreamUrlIdentifierT &&value)
AWS_GAMELIFTSTREAMS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String