AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
RegistrySummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/schemas/Schemas_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Schemas {
21namespace Model {
22
24 public:
25 AWS_SCHEMAS_API RegistrySummary() = default;
26 AWS_SCHEMAS_API RegistrySummary(Aws::Utils::Json::JsonView jsonValue);
28 AWS_SCHEMAS_API Aws::Utils::Json::JsonValue Jsonize() const;
29
31
34 inline const Aws::String& GetRegistryArn() const { return m_registryArn; }
35 inline bool RegistryArnHasBeenSet() const { return m_registryArnHasBeenSet; }
36 template <typename RegistryArnT = Aws::String>
37 void SetRegistryArn(RegistryArnT&& value) {
38 m_registryArnHasBeenSet = true;
39 m_registryArn = std::forward<RegistryArnT>(value);
40 }
41 template <typename RegistryArnT = Aws::String>
42 RegistrySummary& WithRegistryArn(RegistryArnT&& value) {
43 SetRegistryArn(std::forward<RegistryArnT>(value));
44 return *this;
45 }
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) {
56 m_registryNameHasBeenSet = true;
57 m_registryName = std::forward<RegistryNameT>(value);
58 }
59 template <typename RegistryNameT = Aws::String>
60 RegistrySummary& WithRegistryName(RegistryNameT&& value) {
61 SetRegistryName(std::forward<RegistryNameT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
71 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
72 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
73 void SetTags(TagsT&& value) {
74 m_tagsHasBeenSet = true;
75 m_tags = std::forward<TagsT>(value);
76 }
77 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
78 RegistrySummary& WithTags(TagsT&& value) {
79 SetTags(std::forward<TagsT>(value));
80 return *this;
81 }
82 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
83 RegistrySummary& AddTags(TagsKeyT&& key, TagsValueT&& value) {
84 m_tagsHasBeenSet = true;
85 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_registryArn;
91
92 Aws::String m_registryName;
93
95 bool m_registryArnHasBeenSet = false;
96 bool m_registryNameHasBeenSet = false;
97 bool m_tagsHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace Schemas
102} // 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