AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PlaybackKeyPairSummary.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:
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 PlaybackKeyPairSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
51 inline PlaybackKeyPairSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
52 inline PlaybackKeyPairSummary& WithArn(const char* value) { SetArn(value); return *this;}
54
56
59 inline const Aws::String& GetName() const{ return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
62 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
63 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
64 inline PlaybackKeyPairSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
65 inline PlaybackKeyPairSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
66 inline PlaybackKeyPairSummary& WithName(const char* value) { SetName(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 PlaybackKeyPairSummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
84 inline PlaybackKeyPairSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
85 inline PlaybackKeyPairSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
86 inline PlaybackKeyPairSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
87 inline PlaybackKeyPairSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
88 inline PlaybackKeyPairSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
89 inline PlaybackKeyPairSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
90 inline PlaybackKeyPairSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
91 inline PlaybackKeyPairSummary& 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_name;
99 bool m_nameHasBeenSet = false;
100
102 bool m_tagsHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace IVS
107} // namespace Aws
PlaybackKeyPairSummary & AddTags(const Aws::String &key, Aws::String &&value)
PlaybackKeyPairSummary & AddTags(const char *key, Aws::String &&value)
PlaybackKeyPairSummary & WithArn(Aws::String &&value)
AWS_IVS_API PlaybackKeyPairSummary(Aws::Utils::Json::JsonView jsonValue)
PlaybackKeyPairSummary & AddTags(Aws::String &&key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
PlaybackKeyPairSummary & WithArn(const char *value)
PlaybackKeyPairSummary & WithName(const char *value)
PlaybackKeyPairSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_IVS_API PlaybackKeyPairSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
PlaybackKeyPairSummary & AddTags(Aws::String &&key, const char *value)
PlaybackKeyPairSummary & AddTags(const Aws::String &key, const Aws::String &value)
PlaybackKeyPairSummary & AddTags(Aws::String &&key, Aws::String &&value)
PlaybackKeyPairSummary & WithArn(const Aws::String &value)
PlaybackKeyPairSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
PlaybackKeyPairSummary & WithName(const Aws::String &value)
AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const
PlaybackKeyPairSummary & WithName(Aws::String &&value)
PlaybackKeyPairSummary & AddTags(const char *key, const char *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