AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename DescriptionT = Aws::String>
49 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
50 template<typename DescriptionT = Aws::String>
51 RepositoryCatalogData& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
53
55
61 inline const Aws::Vector<Aws::String>& GetArchitectures() const { return m_architectures; }
62 inline bool ArchitecturesHasBeenSet() const { return m_architecturesHasBeenSet; }
63 template<typename ArchitecturesT = Aws::Vector<Aws::String>>
64 void SetArchitectures(ArchitecturesT&& value) { m_architecturesHasBeenSet = true; m_architectures = std::forward<ArchitecturesT>(value); }
65 template<typename ArchitecturesT = Aws::Vector<Aws::String>>
66 RepositoryCatalogData& WithArchitectures(ArchitecturesT&& value) { SetArchitectures(std::forward<ArchitecturesT>(value)); return *this;}
67 template<typename ArchitecturesT = Aws::String>
68 RepositoryCatalogData& AddArchitectures(ArchitecturesT&& value) { m_architecturesHasBeenSet = true; m_architectures.emplace_back(std::forward<ArchitecturesT>(value)); return *this; }
70
72
78 inline const Aws::Vector<Aws::String>& GetOperatingSystems() const { return m_operatingSystems; }
79 inline bool OperatingSystemsHasBeenSet() const { return m_operatingSystemsHasBeenSet; }
80 template<typename OperatingSystemsT = Aws::Vector<Aws::String>>
81 void SetOperatingSystems(OperatingSystemsT&& value) { m_operatingSystemsHasBeenSet = true; m_operatingSystems = std::forward<OperatingSystemsT>(value); }
82 template<typename OperatingSystemsT = Aws::Vector<Aws::String>>
83 RepositoryCatalogData& WithOperatingSystems(OperatingSystemsT&& value) { SetOperatingSystems(std::forward<OperatingSystemsT>(value)); return *this;}
84 template<typename OperatingSystemsT = Aws::String>
85 RepositoryCatalogData& AddOperatingSystems(OperatingSystemsT&& value) { m_operatingSystemsHasBeenSet = true; m_operatingSystems.emplace_back(std::forward<OperatingSystemsT>(value)); return *this; }
87
89
92 inline const Aws::String& GetLogoUrl() const { return m_logoUrl; }
93 inline bool LogoUrlHasBeenSet() const { return m_logoUrlHasBeenSet; }
94 template<typename LogoUrlT = Aws::String>
95 void SetLogoUrl(LogoUrlT&& value) { m_logoUrlHasBeenSet = true; m_logoUrl = std::forward<LogoUrlT>(value); }
96 template<typename LogoUrlT = Aws::String>
97 RepositoryCatalogData& WithLogoUrl(LogoUrlT&& value) { SetLogoUrl(std::forward<LogoUrlT>(value)); return *this;}
99
101
105 inline const Aws::String& GetAboutText() const { return m_aboutText; }
106 inline bool AboutTextHasBeenSet() const { return m_aboutTextHasBeenSet; }
107 template<typename AboutTextT = Aws::String>
108 void SetAboutText(AboutTextT&& value) { m_aboutTextHasBeenSet = true; m_aboutText = std::forward<AboutTextT>(value); }
109 template<typename AboutTextT = Aws::String>
110 RepositoryCatalogData& WithAboutText(AboutTextT&& value) { SetAboutText(std::forward<AboutTextT>(value)); return *this;}
112
114
118 inline const Aws::String& GetUsageText() const { return m_usageText; }
119 inline bool UsageTextHasBeenSet() const { return m_usageTextHasBeenSet; }
120 template<typename UsageTextT = Aws::String>
121 void SetUsageText(UsageTextT&& value) { m_usageTextHasBeenSet = true; m_usageText = std::forward<UsageTextT>(value); }
122 template<typename UsageTextT = Aws::String>
123 RepositoryCatalogData& WithUsageText(UsageTextT&& value) { SetUsageText(std::forward<UsageTextT>(value)); return *this;}
125
127
131 inline bool GetMarketplaceCertified() const { return m_marketplaceCertified; }
132 inline bool MarketplaceCertifiedHasBeenSet() const { return m_marketplaceCertifiedHasBeenSet; }
133 inline void SetMarketplaceCertified(bool value) { m_marketplaceCertifiedHasBeenSet = true; m_marketplaceCertified = value; }
134 inline RepositoryCatalogData& WithMarketplaceCertified(bool value) { SetMarketplaceCertified(value); return *this;}
136 private:
137
138 Aws::String m_description;
139 bool m_descriptionHasBeenSet = false;
140
141 Aws::Vector<Aws::String> m_architectures;
142 bool m_architecturesHasBeenSet = false;
143
144 Aws::Vector<Aws::String> m_operatingSystems;
145 bool m_operatingSystemsHasBeenSet = false;
146
147 Aws::String m_logoUrl;
148 bool m_logoUrlHasBeenSet = false;
149
150 Aws::String m_aboutText;
151 bool m_aboutTextHasBeenSet = false;
152
153 Aws::String m_usageText;
154 bool m_usageTextHasBeenSet = false;
155
156 bool m_marketplaceCertified{false};
157 bool m_marketplaceCertifiedHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace ECRPublic
162} // namespace Aws
RepositoryCatalogData & WithUsageText(UsageTextT &&value)
RepositoryCatalogData & WithAboutText(AboutTextT &&value)
RepositoryCatalogData & WithMarketplaceCertified(bool value)
const Aws::Vector< Aws::String > & GetArchitectures() const
void SetOperatingSystems(OperatingSystemsT &&value)
RepositoryCatalogData & WithOperatingSystems(OperatingSystemsT &&value)
RepositoryCatalogData & WithDescription(DescriptionT &&value)
RepositoryCatalogData & AddArchitectures(ArchitecturesT &&value)
AWS_ECRPUBLIC_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ECRPUBLIC_API RepositoryCatalogData & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ECRPUBLIC_API RepositoryCatalogData()=default
RepositoryCatalogData & AddOperatingSystems(OperatingSystemsT &&value)
const Aws::Vector< Aws::String > & GetOperatingSystems() const
RepositoryCatalogData & WithLogoUrl(LogoUrlT &&value)
AWS_ECRPUBLIC_API RepositoryCatalogData(Aws::Utils::Json::JsonView jsonValue)
RepositoryCatalogData & WithArchitectures(ArchitecturesT &&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