AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateChannelResult.h
1
6#pragma once
7#include <aws/ivs/IVS_EXPORTS.h>
8#include <aws/ivs/model/Channel.h>
9#include <aws/ivs/model/StreamKey.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace IVS
26{
27namespace Model
28{
30 {
31 public:
32 AWS_IVS_API CreateChannelResult();
35
36
38
41 inline const Channel& GetChannel() const{ return m_channel; }
42 inline void SetChannel(const Channel& value) { m_channel = value; }
43 inline void SetChannel(Channel&& value) { m_channel = std::move(value); }
44 inline CreateChannelResult& WithChannel(const Channel& value) { SetChannel(value); return *this;}
45 inline CreateChannelResult& WithChannel(Channel&& value) { SetChannel(std::move(value)); return *this;}
47
49
52 inline const StreamKey& GetStreamKey() const{ return m_streamKey; }
53 inline void SetStreamKey(const StreamKey& value) { m_streamKey = value; }
54 inline void SetStreamKey(StreamKey&& value) { m_streamKey = std::move(value); }
55 inline CreateChannelResult& WithStreamKey(const StreamKey& value) { SetStreamKey(value); return *this;}
56 inline CreateChannelResult& WithStreamKey(StreamKey&& value) { SetStreamKey(std::move(value)); return *this;}
58
60
61 inline const Aws::String& GetRequestId() const{ return m_requestId; }
62 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
63 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
64 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
65 inline CreateChannelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
66 inline CreateChannelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
67 inline CreateChannelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
69 private:
70
71 Channel m_channel;
72
73 StreamKey m_streamKey;
74
75 Aws::String m_requestId;
76 };
77
78} // namespace Model
79} // namespace IVS
80} // namespace Aws
CreateChannelResult & WithChannel(const Channel &value)
CreateChannelResult & WithRequestId(Aws::String &&value)
CreateChannelResult & WithStreamKey(StreamKey &&value)
void SetStreamKey(const StreamKey &value)
const Aws::String & GetRequestId() const
CreateChannelResult & WithChannel(Channel &&value)
CreateChannelResult & WithRequestId(const char *value)
void SetChannel(const Channel &value)
CreateChannelResult & WithStreamKey(const StreamKey &value)
AWS_IVS_API CreateChannelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateChannelResult & WithRequestId(const Aws::String &value)
void SetRequestId(const Aws::String &value)
AWS_IVS_API CreateChannelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue