AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PlaybackKeyPair.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
34 {
35 public:
36 AWS_IVS_API PlaybackKeyPair();
40
41
43
46 inline const Aws::String& GetArn() const{ return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline PlaybackKeyPair& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline PlaybackKeyPair& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline PlaybackKeyPair& WithArn(const char* value) { SetArn(value); return *this;}
55
57
60 inline const Aws::String& GetFingerprint() const{ return m_fingerprint; }
61 inline bool FingerprintHasBeenSet() const { return m_fingerprintHasBeenSet; }
62 inline void SetFingerprint(const Aws::String& value) { m_fingerprintHasBeenSet = true; m_fingerprint = value; }
63 inline void SetFingerprint(Aws::String&& value) { m_fingerprintHasBeenSet = true; m_fingerprint = std::move(value); }
64 inline void SetFingerprint(const char* value) { m_fingerprintHasBeenSet = true; m_fingerprint.assign(value); }
65 inline PlaybackKeyPair& WithFingerprint(const Aws::String& value) { SetFingerprint(value); return *this;}
66 inline PlaybackKeyPair& WithFingerprint(Aws::String&& value) { SetFingerprint(std::move(value)); return *this;}
67 inline PlaybackKeyPair& WithFingerprint(const char* value) { SetFingerprint(value); return *this;}
69
71
74 inline const Aws::String& GetName() const{ return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
77 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
78 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
79 inline PlaybackKeyPair& WithName(const Aws::String& value) { SetName(value); return *this;}
80 inline PlaybackKeyPair& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
81 inline PlaybackKeyPair& WithName(const char* value) { SetName(value); return *this;}
83
85
94 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
95 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
96 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
97 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
98 inline PlaybackKeyPair& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
99 inline PlaybackKeyPair& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
100 inline PlaybackKeyPair& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
101 inline PlaybackKeyPair& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
102 inline PlaybackKeyPair& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
103 inline PlaybackKeyPair& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
104 inline PlaybackKeyPair& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
105 inline PlaybackKeyPair& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
106 inline PlaybackKeyPair& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
108 private:
109
110 Aws::String m_arn;
111 bool m_arnHasBeenSet = false;
112
113 Aws::String m_fingerprint;
114 bool m_fingerprintHasBeenSet = false;
115
116 Aws::String m_name;
117 bool m_nameHasBeenSet = false;
118
120 bool m_tagsHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace IVS
125} // namespace Aws
PlaybackKeyPair & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
PlaybackKeyPair & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetArn(const Aws::String &value)
const Aws::String & GetName() const
PlaybackKeyPair & AddTags(const char *key, Aws::String &&value)
PlaybackKeyPair & AddTags(Aws::String &&key, const Aws::String &value)
PlaybackKeyPair & AddTags(Aws::String &&key, const char *value)
PlaybackKeyPair & WithArn(const Aws::String &value)
PlaybackKeyPair & WithFingerprint(Aws::String &&value)
PlaybackKeyPair & WithName(const Aws::String &value)
void SetName(Aws::String &&value)
const Aws::String & GetFingerprint() const
PlaybackKeyPair & AddTags(Aws::String &&key, Aws::String &&value)
PlaybackKeyPair & AddTags(const Aws::String &key, const Aws::String &value)
AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const
PlaybackKeyPair & WithArn(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
PlaybackKeyPair & WithName(Aws::String &&value)
AWS_IVS_API PlaybackKeyPair & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
void SetArn(const char *value)
PlaybackKeyPair & WithFingerprint(const char *value)
void SetFingerprint(const char *value)
PlaybackKeyPair & WithFingerprint(const Aws::String &value)
PlaybackKeyPair & AddTags(const Aws::String &key, Aws::String &&value)
void SetName(const Aws::String &value)
PlaybackKeyPair & WithArn(const char *value)
AWS_IVS_API PlaybackKeyPair(Aws::Utils::Json::JsonView jsonValue)
PlaybackKeyPair & AddTags(const char *key, const char *value)
PlaybackKeyPair & WithName(const char *value)
void SetFingerprint(const Aws::String &value)
void SetArn(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetName(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetFingerprint(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