AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RegistrySummary.h
1
6#pragma once
7#include <aws/schemas/Schemas_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 Schemas
23{
24namespace Model
25{
26
28 {
29 public:
30 AWS_SCHEMAS_API RegistrySummary();
31 AWS_SCHEMAS_API RegistrySummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SCHEMAS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
35
37
40 inline const Aws::String& GetRegistryArn() const{ return m_registryArn; }
41 inline bool RegistryArnHasBeenSet() const { return m_registryArnHasBeenSet; }
42 inline void SetRegistryArn(const Aws::String& value) { m_registryArnHasBeenSet = true; m_registryArn = value; }
43 inline void SetRegistryArn(Aws::String&& value) { m_registryArnHasBeenSet = true; m_registryArn = std::move(value); }
44 inline void SetRegistryArn(const char* value) { m_registryArnHasBeenSet = true; m_registryArn.assign(value); }
45 inline RegistrySummary& WithRegistryArn(const Aws::String& value) { SetRegistryArn(value); return *this;}
46 inline RegistrySummary& WithRegistryArn(Aws::String&& value) { SetRegistryArn(std::move(value)); return *this;}
47 inline RegistrySummary& WithRegistryArn(const char* value) { SetRegistryArn(value); return *this;}
49
51
54 inline const Aws::String& GetRegistryName() const{ return m_registryName; }
55 inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
56 inline void SetRegistryName(const Aws::String& value) { m_registryNameHasBeenSet = true; m_registryName = value; }
57 inline void SetRegistryName(Aws::String&& value) { m_registryNameHasBeenSet = true; m_registryName = std::move(value); }
58 inline void SetRegistryName(const char* value) { m_registryNameHasBeenSet = true; m_registryName.assign(value); }
59 inline RegistrySummary& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;}
60 inline RegistrySummary& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;}
61 inline RegistrySummary& WithRegistryName(const char* value) { SetRegistryName(value); return *this;}
63
65
68 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
69 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
70 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
71 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
72 inline RegistrySummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
73 inline RegistrySummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
74 inline RegistrySummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
75 inline RegistrySummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
76 inline RegistrySummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
77 inline RegistrySummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
78 inline RegistrySummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
79 inline RegistrySummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
80 inline RegistrySummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
82 private:
83
84 Aws::String m_registryArn;
85 bool m_registryArnHasBeenSet = false;
86
87 Aws::String m_registryName;
88 bool m_registryNameHasBeenSet = false;
89
91 bool m_tagsHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Schemas
96} // namespace Aws
RegistrySummary & WithRegistryArn(const char *value)
void SetRegistryName(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_SCHEMAS_API RegistrySummary(Aws::Utils::Json::JsonView jsonValue)
AWS_SCHEMAS_API RegistrySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRegistryArn(Aws::String &&value)
RegistrySummary & WithRegistryName(const Aws::String &value)
AWS_SCHEMAS_API Aws::Utils::Json::JsonValue Jsonize() const
RegistrySummary & AddTags(Aws::String &&key, const char *value)
RegistrySummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetRegistryName(const Aws::String &value)
const Aws::String & GetRegistryName() const
RegistrySummary & AddTags(const Aws::String &key, Aws::String &&value)
RegistrySummary & AddTags(const Aws::String &key, const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
RegistrySummary & WithRegistryArn(Aws::String &&value)
void SetRegistryArn(const Aws::String &value)
RegistrySummary & AddTags(Aws::String &&key, Aws::String &&value)
RegistrySummary & AddTags(const char *key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
RegistrySummary & WithRegistryName(const char *value)
const Aws::String & GetRegistryArn() const
RegistrySummary & AddTags(Aws::String &&key, const Aws::String &value)
RegistrySummary & WithRegistryName(Aws::String &&value)
RegistrySummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
RegistrySummary & WithRegistryArn(const Aws::String &value)
RegistrySummary & AddTags(const char *key, const char *value)
void SetRegistryName(const char *value)
void SetRegistryArn(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