AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StreamKeySummary.h
1
6#pragma once
7#include <aws/ivs/IVS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IVS
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_IVS_API StreamKeySummary();
39
40
42
45 inline const Aws::String& GetArn() const{ return m_arn; }
46 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
47 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
48 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
49 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
50 inline StreamKeySummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
51 inline StreamKeySummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
52 inline StreamKeySummary& WithArn(const char* value) { SetArn(value); return *this;}
54
56
59 inline const Aws::String& GetChannelArn() const{ return m_channelArn; }
60 inline bool ChannelArnHasBeenSet() const { return m_channelArnHasBeenSet; }
61 inline void SetChannelArn(const Aws::String& value) { m_channelArnHasBeenSet = true; m_channelArn = value; }
62 inline void SetChannelArn(Aws::String&& value) { m_channelArnHasBeenSet = true; m_channelArn = std::move(value); }
63 inline void SetChannelArn(const char* value) { m_channelArnHasBeenSet = true; m_channelArn.assign(value); }
64 inline StreamKeySummary& WithChannelArn(const Aws::String& value) { SetChannelArn(value); return *this;}
65 inline StreamKeySummary& WithChannelArn(Aws::String&& value) { SetChannelArn(std::move(value)); return *this;}
66 inline StreamKeySummary& WithChannelArn(const char* value) { SetChannelArn(value); return *this;}
68
70
79 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
80 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
81 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
82 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
83 inline StreamKeySummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
84 inline StreamKeySummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
85 inline StreamKeySummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
86 inline StreamKeySummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
87 inline StreamKeySummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
88 inline StreamKeySummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
89 inline StreamKeySummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
90 inline StreamKeySummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
91 inline StreamKeySummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
93 private:
94
95 Aws::String m_arn;
96 bool m_arnHasBeenSet = false;
97
98 Aws::String m_channelArn;
99 bool m_channelArnHasBeenSet = false;
100
102 bool m_tagsHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace IVS
107} // namespace Aws
StreamKeySummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
StreamKeySummary & AddTags(const char *key, Aws::String &&value)
StreamKeySummary & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::String & GetArn() const
AWS_IVS_API StreamKeySummary(Aws::Utils::Json::JsonView jsonValue)
AWS_IVS_API StreamKeySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
StreamKeySummary & AddTags(const char *key, const char *value)
StreamKeySummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const
StreamKeySummary & WithChannelArn(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetArn(const Aws::String &value)
StreamKeySummary & WithArn(const Aws::String &value)
const Aws::String & GetChannelArn() const
void SetChannelArn(const char *value)
StreamKeySummary & WithChannelArn(Aws::String &&value)
StreamKeySummary & WithArn(const char *value)
StreamKeySummary & AddTags(const Aws::String &key, const Aws::String &value)
void SetChannelArn(Aws::String &&value)
void SetChannelArn(const Aws::String &value)
StreamKeySummary & AddTags(Aws::String &&key, const Aws::String &value)
StreamKeySummary & WithChannelArn(const char *value)
StreamKeySummary & WithArn(Aws::String &&value)
StreamKeySummary & AddTags(Aws::String &&key, const char *value)
StreamKeySummary & AddTags(Aws::String &&key, Aws::String &&value)
void SetArn(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
Aws::Utils::Json::JsonValue JsonValue