AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PublicKey.h
1
6#pragma once
7#include <aws/ivs-realtime/Ivsrealtime_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 ivsrealtime
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IVSREALTIME_API PublicKey();
37 AWS_IVSREALTIME_API PublicKey(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IVSREALTIME_API PublicKey& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
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 PublicKey& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline PublicKey& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline PublicKey& WithArn(const char* value) { SetArn(value); return *this;}
55
57
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
63 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
64 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 inline PublicKey& WithName(const Aws::String& value) { SetName(value); return *this;}
66 inline PublicKey& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 inline PublicKey& WithName(const char* value) { SetName(value); return *this;}
69
71
74 inline const Aws::String& GetPublicKeyMaterial() const{ return m_publicKeyMaterial; }
75 inline bool PublicKeyMaterialHasBeenSet() const { return m_publicKeyMaterialHasBeenSet; }
76 inline void SetPublicKeyMaterial(const Aws::String& value) { m_publicKeyMaterialHasBeenSet = true; m_publicKeyMaterial = value; }
77 inline void SetPublicKeyMaterial(Aws::String&& value) { m_publicKeyMaterialHasBeenSet = true; m_publicKeyMaterial = std::move(value); }
78 inline void SetPublicKeyMaterial(const char* value) { m_publicKeyMaterialHasBeenSet = true; m_publicKeyMaterial.assign(value); }
79 inline PublicKey& WithPublicKeyMaterial(const Aws::String& value) { SetPublicKeyMaterial(value); return *this;}
80 inline PublicKey& WithPublicKeyMaterial(Aws::String&& value) { SetPublicKeyMaterial(std::move(value)); return *this;}
81 inline PublicKey& WithPublicKeyMaterial(const char* value) { SetPublicKeyMaterial(value); return *this;}
83
85
89 inline const Aws::String& GetFingerprint() const{ return m_fingerprint; }
90 inline bool FingerprintHasBeenSet() const { return m_fingerprintHasBeenSet; }
91 inline void SetFingerprint(const Aws::String& value) { m_fingerprintHasBeenSet = true; m_fingerprint = value; }
92 inline void SetFingerprint(Aws::String&& value) { m_fingerprintHasBeenSet = true; m_fingerprint = std::move(value); }
93 inline void SetFingerprint(const char* value) { m_fingerprintHasBeenSet = true; m_fingerprint.assign(value); }
94 inline PublicKey& WithFingerprint(const Aws::String& value) { SetFingerprint(value); return *this;}
95 inline PublicKey& WithFingerprint(Aws::String&& value) { SetFingerprint(std::move(value)); return *this;}
96 inline PublicKey& WithFingerprint(const char* value) { SetFingerprint(value); return *this;}
98
100
109 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
110 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
111 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
112 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
113 inline PublicKey& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
114 inline PublicKey& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
115 inline PublicKey& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
116 inline PublicKey& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
117 inline PublicKey& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
118 inline PublicKey& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
119 inline PublicKey& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
120 inline PublicKey& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
121 inline PublicKey& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
123 private:
124
125 Aws::String m_arn;
126 bool m_arnHasBeenSet = false;
127
128 Aws::String m_name;
129 bool m_nameHasBeenSet = false;
130
131 Aws::String m_publicKeyMaterial;
132 bool m_publicKeyMaterialHasBeenSet = false;
133
134 Aws::String m_fingerprint;
135 bool m_fingerprintHasBeenSet = false;
136
138 bool m_tagsHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace ivsrealtime
143} // namespace Aws
PublicKey & WithPublicKeyMaterial(const Aws::String &value)
Definition PublicKey.h:79
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition PublicKey.h:111
void SetName(const char *value)
Definition PublicKey.h:64
PublicKey & WithName(const char *value)
Definition PublicKey.h:67
PublicKey & WithArn(Aws::String &&value)
Definition PublicKey.h:52
const Aws::String & GetName() const
Definition PublicKey.h:60
PublicKey & AddTags(const Aws::String &key, Aws::String &&value)
Definition PublicKey.h:117
AWS_IVSREALTIME_API PublicKey(Aws::Utils::Json::JsonView jsonValue)
PublicKey & AddTags(const char *key, Aws::String &&value)
Definition PublicKey.h:119
PublicKey & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition PublicKey.h:113
PublicKey & WithPublicKeyMaterial(const char *value)
Definition PublicKey.h:81
void SetPublicKeyMaterial(const Aws::String &value)
Definition PublicKey.h:76
AWS_IVSREALTIME_API PublicKey & operator=(Aws::Utils::Json::JsonView jsonValue)
PublicKey & AddTags(Aws::String &&key, const char *value)
Definition PublicKey.h:120
PublicKey & WithArn(const char *value)
Definition PublicKey.h:53
void SetName(const Aws::String &value)
Definition PublicKey.h:62
PublicKey & WithName(const Aws::String &value)
Definition PublicKey.h:65
PublicKey & AddTags(const char *key, const char *value)
Definition PublicKey.h:121
void SetArn(const char *value)
Definition PublicKey.h:50
PublicKey & WithFingerprint(Aws::String &&value)
Definition PublicKey.h:95
void SetFingerprint(const char *value)
Definition PublicKey.h:93
void SetName(Aws::String &&value)
Definition PublicKey.h:63
const Aws::String & GetPublicKeyMaterial() const
Definition PublicKey.h:74
PublicKey & WithArn(const Aws::String &value)
Definition PublicKey.h:51
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
PublicKey & AddTags(const Aws::String &key, const Aws::String &value)
Definition PublicKey.h:115
const Aws::String & GetFingerprint() const
Definition PublicKey.h:89
const Aws::String & GetArn() const
Definition PublicKey.h:46
void SetPublicKeyMaterial(const char *value)
Definition PublicKey.h:78
AWS_IVSREALTIME_API PublicKey()
PublicKey & WithName(Aws::String &&value)
Definition PublicKey.h:66
void SetArn(Aws::String &&value)
Definition PublicKey.h:49
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition PublicKey.h:109
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition PublicKey.h:112
PublicKey & AddTags(Aws::String &&key, Aws::String &&value)
Definition PublicKey.h:118
void SetFingerprint(Aws::String &&value)
Definition PublicKey.h:92
PublicKey & AddTags(Aws::String &&key, const Aws::String &value)
Definition PublicKey.h:116
PublicKey & WithPublicKeyMaterial(Aws::String &&value)
Definition PublicKey.h:80
PublicKey & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition PublicKey.h:114
void SetPublicKeyMaterial(Aws::String &&value)
Definition PublicKey.h:77
PublicKey & WithFingerprint(const Aws::String &value)
Definition PublicKey.h:94
PublicKey & WithFingerprint(const char *value)
Definition PublicKey.h:96
void SetArn(const Aws::String &value)
Definition PublicKey.h:48
void SetFingerprint(const Aws::String &value)
Definition PublicKey.h:91
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