AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename RegistryArnT = Aws::String>
43 void SetRegistryArn(RegistryArnT&& value) { m_registryArnHasBeenSet = true; m_registryArn = std::forward<RegistryArnT>(value); }
44 template<typename RegistryArnT = Aws::String>
45 RegistrySummary& WithRegistryArn(RegistryArnT&& value) { SetRegistryArn(std::forward<RegistryArnT>(value)); return *this;}
47
49
52 inline const Aws::String& GetRegistryName() const { return m_registryName; }
53 inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
54 template<typename RegistryNameT = Aws::String>
55 void SetRegistryName(RegistryNameT&& value) { m_registryNameHasBeenSet = true; m_registryName = std::forward<RegistryNameT>(value); }
56 template<typename RegistryNameT = Aws::String>
57 RegistrySummary& WithRegistryName(RegistryNameT&& value) { SetRegistryName(std::forward<RegistryNameT>(value)); return *this;}
59
61
64 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
65 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
66 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
67 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
68 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
69 RegistrySummary& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
70 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
71 RegistrySummary& AddTags(TagsKeyT&& key, TagsValueT&& value) {
72 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
73 }
75 private:
76
77 Aws::String m_registryArn;
78 bool m_registryArnHasBeenSet = false;
79
80 Aws::String m_registryName;
81 bool m_registryNameHasBeenSet = false;
82
84 bool m_tagsHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Schemas
89} // namespace Aws
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)
AWS_SCHEMAS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SCHEMAS_API RegistrySummary()=default
const Aws::String & GetRegistryName() const
void SetRegistryName(RegistryNameT &&value)
RegistrySummary & WithTags(TagsT &&value)
RegistrySummary & WithRegistryName(RegistryNameT &&value)
void SetRegistryArn(RegistryArnT &&value)
RegistrySummary & WithRegistryArn(RegistryArnT &&value)
const Aws::String & GetRegistryArn() const
RegistrySummary & AddTags(TagsKeyT &&key, TagsValueT &&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