AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PublicKeySummary.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
33 {
34 public:
35 AWS_IVSREALTIME_API PublicKeySummary();
36 AWS_IVSREALTIME_API PublicKeySummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IVSREALTIME_API PublicKeySummary& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
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 PublicKeySummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
51 inline PublicKeySummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
52 inline PublicKeySummary& 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 PublicKeySummary& WithName(const Aws::String& value) { SetName(value); return *this;}
65 inline PublicKeySummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
66 inline PublicKeySummary& 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 PublicKeySummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
84 inline PublicKeySummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
85 inline PublicKeySummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
86 inline PublicKeySummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
87 inline PublicKeySummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
88 inline PublicKeySummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
89 inline PublicKeySummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
90 inline PublicKeySummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
91 inline PublicKeySummary& 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 ivsrealtime
107} // namespace Aws
PublicKeySummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
PublicKeySummary & WithArn(const char *value)
PublicKeySummary & AddTags(const char *key, const char *value)
AWS_IVSREALTIME_API PublicKeySummary(Aws::Utils::Json::JsonView jsonValue)
PublicKeySummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
PublicKeySummary & AddTags(Aws::String &&key, Aws::String &&value)
PublicKeySummary & AddTags(Aws::String &&key, const char *value)
PublicKeySummary & WithArn(Aws::String &&value)
PublicKeySummary & AddTags(const char *key, Aws::String &&value)
PublicKeySummary & AddTags(Aws::String &&key, const Aws::String &value)
void SetName(const Aws::String &value)
PublicKeySummary & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_IVSREALTIME_API PublicKeySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
PublicKeySummary & WithArn(const Aws::String &value)
PublicKeySummary & WithName(Aws::String &&value)
PublicKeySummary & WithName(const Aws::String &value)
void SetArn(const Aws::String &value)
PublicKeySummary & AddTags(const Aws::String &key, const Aws::String &value)
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
PublicKeySummary & WithName(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