AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RepositoryCatalogData.h
1
6#pragma once
7#include <aws/ecr-public/ECRPublic_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 ECRPublic
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ECRPUBLIC_API RepositoryCatalogData();
39 AWS_ECRPUBLIC_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetDescription() const{ return m_description; }
47 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
48 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
49 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
50 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
51 inline RepositoryCatalogData& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
52 inline RepositoryCatalogData& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
53 inline RepositoryCatalogData& WithDescription(const char* value) { SetDescription(value); return *this;}
55
57
63 inline const Aws::Vector<Aws::String>& GetArchitectures() const{ return m_architectures; }
64 inline bool ArchitecturesHasBeenSet() const { return m_architecturesHasBeenSet; }
65 inline void SetArchitectures(const Aws::Vector<Aws::String>& value) { m_architecturesHasBeenSet = true; m_architectures = value; }
66 inline void SetArchitectures(Aws::Vector<Aws::String>&& value) { m_architecturesHasBeenSet = true; m_architectures = std::move(value); }
68 inline RepositoryCatalogData& WithArchitectures(Aws::Vector<Aws::String>&& value) { SetArchitectures(std::move(value)); return *this;}
69 inline RepositoryCatalogData& AddArchitectures(const Aws::String& value) { m_architecturesHasBeenSet = true; m_architectures.push_back(value); return *this; }
70 inline RepositoryCatalogData& AddArchitectures(Aws::String&& value) { m_architecturesHasBeenSet = true; m_architectures.push_back(std::move(value)); return *this; }
71 inline RepositoryCatalogData& AddArchitectures(const char* value) { m_architecturesHasBeenSet = true; m_architectures.push_back(value); return *this; }
73
75
81 inline const Aws::Vector<Aws::String>& GetOperatingSystems() const{ return m_operatingSystems; }
82 inline bool OperatingSystemsHasBeenSet() const { return m_operatingSystemsHasBeenSet; }
83 inline void SetOperatingSystems(const Aws::Vector<Aws::String>& value) { m_operatingSystemsHasBeenSet = true; m_operatingSystems = value; }
84 inline void SetOperatingSystems(Aws::Vector<Aws::String>&& value) { m_operatingSystemsHasBeenSet = true; m_operatingSystems = std::move(value); }
87 inline RepositoryCatalogData& AddOperatingSystems(const Aws::String& value) { m_operatingSystemsHasBeenSet = true; m_operatingSystems.push_back(value); return *this; }
88 inline RepositoryCatalogData& AddOperatingSystems(Aws::String&& value) { m_operatingSystemsHasBeenSet = true; m_operatingSystems.push_back(std::move(value)); return *this; }
89 inline RepositoryCatalogData& AddOperatingSystems(const char* value) { m_operatingSystemsHasBeenSet = true; m_operatingSystems.push_back(value); return *this; }
91
93
96 inline const Aws::String& GetLogoUrl() const{ return m_logoUrl; }
97 inline bool LogoUrlHasBeenSet() const { return m_logoUrlHasBeenSet; }
98 inline void SetLogoUrl(const Aws::String& value) { m_logoUrlHasBeenSet = true; m_logoUrl = value; }
99 inline void SetLogoUrl(Aws::String&& value) { m_logoUrlHasBeenSet = true; m_logoUrl = std::move(value); }
100 inline void SetLogoUrl(const char* value) { m_logoUrlHasBeenSet = true; m_logoUrl.assign(value); }
101 inline RepositoryCatalogData& WithLogoUrl(const Aws::String& value) { SetLogoUrl(value); return *this;}
102 inline RepositoryCatalogData& WithLogoUrl(Aws::String&& value) { SetLogoUrl(std::move(value)); return *this;}
103 inline RepositoryCatalogData& WithLogoUrl(const char* value) { SetLogoUrl(value); return *this;}
105
107
111 inline const Aws::String& GetAboutText() const{ return m_aboutText; }
112 inline bool AboutTextHasBeenSet() const { return m_aboutTextHasBeenSet; }
113 inline void SetAboutText(const Aws::String& value) { m_aboutTextHasBeenSet = true; m_aboutText = value; }
114 inline void SetAboutText(Aws::String&& value) { m_aboutTextHasBeenSet = true; m_aboutText = std::move(value); }
115 inline void SetAboutText(const char* value) { m_aboutTextHasBeenSet = true; m_aboutText.assign(value); }
116 inline RepositoryCatalogData& WithAboutText(const Aws::String& value) { SetAboutText(value); return *this;}
117 inline RepositoryCatalogData& WithAboutText(Aws::String&& value) { SetAboutText(std::move(value)); return *this;}
118 inline RepositoryCatalogData& WithAboutText(const char* value) { SetAboutText(value); return *this;}
120
122
126 inline const Aws::String& GetUsageText() const{ return m_usageText; }
127 inline bool UsageTextHasBeenSet() const { return m_usageTextHasBeenSet; }
128 inline void SetUsageText(const Aws::String& value) { m_usageTextHasBeenSet = true; m_usageText = value; }
129 inline void SetUsageText(Aws::String&& value) { m_usageTextHasBeenSet = true; m_usageText = std::move(value); }
130 inline void SetUsageText(const char* value) { m_usageTextHasBeenSet = true; m_usageText.assign(value); }
131 inline RepositoryCatalogData& WithUsageText(const Aws::String& value) { SetUsageText(value); return *this;}
132 inline RepositoryCatalogData& WithUsageText(Aws::String&& value) { SetUsageText(std::move(value)); return *this;}
133 inline RepositoryCatalogData& WithUsageText(const char* value) { SetUsageText(value); return *this;}
135
137
141 inline bool GetMarketplaceCertified() const{ return m_marketplaceCertified; }
142 inline bool MarketplaceCertifiedHasBeenSet() const { return m_marketplaceCertifiedHasBeenSet; }
143 inline void SetMarketplaceCertified(bool value) { m_marketplaceCertifiedHasBeenSet = true; m_marketplaceCertified = value; }
144 inline RepositoryCatalogData& WithMarketplaceCertified(bool value) { SetMarketplaceCertified(value); return *this;}
146 private:
147
148 Aws::String m_description;
149 bool m_descriptionHasBeenSet = false;
150
151 Aws::Vector<Aws::String> m_architectures;
152 bool m_architecturesHasBeenSet = false;
153
154 Aws::Vector<Aws::String> m_operatingSystems;
155 bool m_operatingSystemsHasBeenSet = false;
156
157 Aws::String m_logoUrl;
158 bool m_logoUrlHasBeenSet = false;
159
160 Aws::String m_aboutText;
161 bool m_aboutTextHasBeenSet = false;
162
163 Aws::String m_usageText;
164 bool m_usageTextHasBeenSet = false;
165
166 bool m_marketplaceCertified;
167 bool m_marketplaceCertifiedHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace ECRPublic
172} // namespace Aws
RepositoryCatalogData & WithOperatingSystems(const Aws::Vector< Aws::String > &value)
RepositoryCatalogData & WithLogoUrl(const Aws::String &value)
RepositoryCatalogData & AddOperatingSystems(const char *value)
RepositoryCatalogData & WithMarketplaceCertified(bool value)
void SetOperatingSystems(Aws::Vector< Aws::String > &&value)
RepositoryCatalogData & WithUsageText(Aws::String &&value)
RepositoryCatalogData & WithArchitectures(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetArchitectures() const
void SetArchitectures(const Aws::Vector< Aws::String > &value)
RepositoryCatalogData & AddArchitectures(const Aws::String &value)
RepositoryCatalogData & WithLogoUrl(const char *value)
RepositoryCatalogData & WithDescription(const char *value)
AWS_ECRPUBLIC_API Aws::Utils::Json::JsonValue Jsonize() const
RepositoryCatalogData & WithAboutText(const char *value)
RepositoryCatalogData & WithLogoUrl(Aws::String &&value)
RepositoryCatalogData & WithAboutText(const Aws::String &value)
void SetOperatingSystems(const Aws::Vector< Aws::String > &value)
AWS_ECRPUBLIC_API RepositoryCatalogData & operator=(Aws::Utils::Json::JsonView jsonValue)
RepositoryCatalogData & WithDescription(const Aws::String &value)
RepositoryCatalogData & AddArchitectures(const char *value)
RepositoryCatalogData & WithArchitectures(const Aws::Vector< Aws::String > &value)
RepositoryCatalogData & WithDescription(Aws::String &&value)
const Aws::Vector< Aws::String > & GetOperatingSystems() const
RepositoryCatalogData & WithAboutText(Aws::String &&value)
AWS_ECRPUBLIC_API RepositoryCatalogData(Aws::Utils::Json::JsonView jsonValue)
RepositoryCatalogData & WithUsageText(const char *value)
RepositoryCatalogData & WithOperatingSystems(Aws::Vector< Aws::String > &&value)
RepositoryCatalogData & AddOperatingSystems(Aws::String &&value)
void SetArchitectures(Aws::Vector< Aws::String > &&value)
RepositoryCatalogData & AddArchitectures(Aws::String &&value)
RepositoryCatalogData & AddOperatingSystems(const Aws::String &value)
RepositoryCatalogData & WithUsageText(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue