AWS SDK for C++

AWS SDK for C++ Version 1.11.868

Loading...
Searching...
No Matches
RevokeStreamUrlRequest.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#include <aws/gameliftstreams/model/RevocationMode.h>
11
12#include <utility>
13
14namespace Aws {
15namespace GameLiftStreams {
16namespace Model {
17
21 public:
22 AWS_GAMELIFTSTREAMS_API RevokeStreamUrlRequest() = 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 "RevokeStreamUrl"; }
29
30 AWS_GAMELIFTSTREAMS_API Aws::String SerializePayload() const override;
31
33
42 inline const Aws::String& GetIdentifier() const { return m_identifier; }
43 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
44 template <typename IdentifierT = Aws::String>
45 void SetIdentifier(IdentifierT&& value) {
46 m_identifierHasBeenSet = true;
47 m_identifier = std::forward<IdentifierT>(value);
48 }
49 template <typename IdentifierT = Aws::String>
50 RevokeStreamUrlRequest& WithIdentifier(IdentifierT&& value) {
51 SetIdentifier(std::forward<IdentifierT>(value));
52 return *this;
53 }
55
57
63 inline const Aws::String& GetStreamUrlIdentifier() const { return m_streamUrlIdentifier; }
64 inline bool StreamUrlIdentifierHasBeenSet() const { return m_streamUrlIdentifierHasBeenSet; }
65 template <typename StreamUrlIdentifierT = Aws::String>
66 void SetStreamUrlIdentifier(StreamUrlIdentifierT&& value) {
67 m_streamUrlIdentifierHasBeenSet = true;
68 m_streamUrlIdentifier = std::forward<StreamUrlIdentifierT>(value);
69 }
70 template <typename StreamUrlIdentifierT = Aws::String>
71 RevokeStreamUrlRequest& WithStreamUrlIdentifier(StreamUrlIdentifierT&& value) {
72 SetStreamUrlIdentifier(std::forward<StreamUrlIdentifierT>(value));
73 return *this;
74 }
76
78
87 inline RevocationMode GetRevocationMode() const { return m_revocationMode; }
88 inline bool RevocationModeHasBeenSet() const { return m_revocationModeHasBeenSet; }
89 inline void SetRevocationMode(RevocationMode value) {
90 m_revocationModeHasBeenSet = true;
91 m_revocationMode = value;
92 }
94 SetRevocationMode(value);
95 return *this;
96 }
98 private:
99 Aws::String m_identifier;
100
101 Aws::String m_streamUrlIdentifier;
102
103 RevocationMode m_revocationMode{RevocationMode::NOT_SET};
104 bool m_identifierHasBeenSet = false;
105 bool m_streamUrlIdentifierHasBeenSet = false;
106 bool m_revocationModeHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace GameLiftStreams
111} // namespace Aws
RevokeStreamUrlRequest & WithRevocationMode(RevocationMode value)
RevokeStreamUrlRequest & WithStreamUrlIdentifier(StreamUrlIdentifierT &&value)
RevokeStreamUrlRequest & WithIdentifier(IdentifierT &&value)
AWS_GAMELIFTSTREAMS_API RevokeStreamUrlRequest()=default
void SetStreamUrlIdentifier(StreamUrlIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
AWS_GAMELIFTSTREAMS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String