AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 PublicKey& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template<typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
62 template<typename NameT = Aws::String>
63 PublicKey& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
65
67
70 inline const Aws::String& GetPublicKeyMaterial() const { return m_publicKeyMaterial; }
71 inline bool PublicKeyMaterialHasBeenSet() const { return m_publicKeyMaterialHasBeenSet; }
72 template<typename PublicKeyMaterialT = Aws::String>
73 void SetPublicKeyMaterial(PublicKeyMaterialT&& value) { m_publicKeyMaterialHasBeenSet = true; m_publicKeyMaterial = std::forward<PublicKeyMaterialT>(value); }
74 template<typename PublicKeyMaterialT = Aws::String>
75 PublicKey& WithPublicKeyMaterial(PublicKeyMaterialT&& value) { SetPublicKeyMaterial(std::forward<PublicKeyMaterialT>(value)); return *this;}
77
79
83 inline const Aws::String& GetFingerprint() const { return m_fingerprint; }
84 inline bool FingerprintHasBeenSet() const { return m_fingerprintHasBeenSet; }
85 template<typename FingerprintT = Aws::String>
86 void SetFingerprint(FingerprintT&& value) { m_fingerprintHasBeenSet = true; m_fingerprint = std::forward<FingerprintT>(value); }
87 template<typename FingerprintT = Aws::String>
88 PublicKey& WithFingerprint(FingerprintT&& value) { SetFingerprint(std::forward<FingerprintT>(value)); return *this;}
90
92
101 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
102 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
103 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
104 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
105 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
106 PublicKey& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
107 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
108 PublicKey& AddTags(TagsKeyT&& key, TagsValueT&& value) {
109 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
110 }
112 private:
113
114 Aws::String m_arn;
115 bool m_arnHasBeenSet = false;
116
117 Aws::String m_name;
118 bool m_nameHasBeenSet = false;
119
120 Aws::String m_publicKeyMaterial;
121 bool m_publicKeyMaterialHasBeenSet = false;
122
123 Aws::String m_fingerprint;
124 bool m_fingerprintHasBeenSet = false;
125
127 bool m_tagsHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace ivsrealtime
132} // namespace Aws
const Aws::String & GetName() const
Definition PublicKey.h:58
AWS_IVSREALTIME_API PublicKey(Aws::Utils::Json::JsonView jsonValue)
PublicKey & WithArn(ArnT &&value)
Definition PublicKey.h:51
AWS_IVSREALTIME_API PublicKey & operator=(Aws::Utils::Json::JsonView jsonValue)
PublicKey & WithName(NameT &&value)
Definition PublicKey.h:63
PublicKey & AddTags(TagsKeyT &&key, TagsValueT &&value)
Definition PublicKey.h:108
const Aws::String & GetPublicKeyMaterial() const
Definition PublicKey.h:70
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
PublicKey & WithTags(TagsT &&value)
Definition PublicKey.h:106
const Aws::String & GetFingerprint() const
Definition PublicKey.h:83
AWS_IVSREALTIME_API PublicKey()=default
const Aws::String & GetArn() const
Definition PublicKey.h:46
void SetName(NameT &&value)
Definition PublicKey.h:61
PublicKey & WithPublicKeyMaterial(PublicKeyMaterialT &&value)
Definition PublicKey.h:75
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition PublicKey.h:101
PublicKey & WithFingerprint(FingerprintT &&value)
Definition PublicKey.h:88
void SetFingerprint(FingerprintT &&value)
Definition PublicKey.h:86
void SetPublicKeyMaterial(PublicKeyMaterialT &&value)
Definition PublicKey.h:73
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