AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateStreamKeyRequest.h
1
6#pragma once
7#include <aws/ivs/IVS_EXPORTS.h>
8#include <aws/ivs/IVSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace IVS
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateStreamKey"; }
32
33 AWS_IVS_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetChannelArn() const{ return m_channelArn; }
41 inline bool ChannelArnHasBeenSet() const { return m_channelArnHasBeenSet; }
42 inline void SetChannelArn(const Aws::String& value) { m_channelArnHasBeenSet = true; m_channelArn = value; }
43 inline void SetChannelArn(Aws::String&& value) { m_channelArnHasBeenSet = true; m_channelArn = std::move(value); }
44 inline void SetChannelArn(const char* value) { m_channelArnHasBeenSet = true; m_channelArn.assign(value); }
45 inline CreateStreamKeyRequest& WithChannelArn(const Aws::String& value) { SetChannelArn(value); return *this;}
46 inline CreateStreamKeyRequest& WithChannelArn(Aws::String&& value) { SetChannelArn(std::move(value)); return *this;}
47 inline CreateStreamKeyRequest& WithChannelArn(const char* value) { SetChannelArn(value); return *this;}
49
51
60 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
61 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
62 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
63 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
64 inline CreateStreamKeyRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
65 inline CreateStreamKeyRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
66 inline CreateStreamKeyRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
67 inline CreateStreamKeyRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
68 inline CreateStreamKeyRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
69 inline CreateStreamKeyRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
70 inline CreateStreamKeyRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
71 inline CreateStreamKeyRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
72 inline CreateStreamKeyRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
74 private:
75
76 Aws::String m_channelArn;
77 bool m_channelArnHasBeenSet = false;
78
80 bool m_tagsHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace IVS
85} // namespace Aws
CreateStreamKeyRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateStreamKeyRequest & AddTags(const char *key, Aws::String &&value)
CreateStreamKeyRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateStreamKeyRequest & AddTags(Aws::String &&key, const Aws::String &value)
AWS_IVS_API Aws::String SerializePayload() const override
CreateStreamKeyRequest & WithChannelArn(Aws::String &&value)
CreateStreamKeyRequest & AddTags(Aws::String &&key, const char *value)
CreateStreamKeyRequest & AddTags(const char *key, const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateStreamKeyRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateStreamKeyRequest & WithChannelArn(const char *value)
void SetChannelArn(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
virtual const char * GetServiceRequestName() const override
CreateStreamKeyRequest & WithChannelArn(const Aws::String &value)
CreateStreamKeyRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateStreamKeyRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String