AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
PackageGroupDescription.h
1
6#pragma once
7#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
8#include <aws/codeartifact/model/PackageGroupOriginConfiguration.h>
9#include <aws/codeartifact/model/PackageGroupReference.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CodeArtifact {
23namespace Model {
24
31 public:
32 AWS_CODEARTIFACT_API PackageGroupDescription() = default;
33 AWS_CODEARTIFACT_API PackageGroupDescription(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
43 template <typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) {
45 m_arnHasBeenSet = true;
46 m_arn = std::forward<ArnT>(value);
47 }
48 template <typename ArnT = Aws::String>
50 SetArn(std::forward<ArnT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetPattern() const { return m_pattern; }
61 inline bool PatternHasBeenSet() const { return m_patternHasBeenSet; }
62 template <typename PatternT = Aws::String>
63 void SetPattern(PatternT&& value) {
64 m_patternHasBeenSet = true;
65 m_pattern = std::forward<PatternT>(value);
66 }
67 template <typename PatternT = Aws::String>
69 SetPattern(std::forward<PatternT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetDomainName() const { return m_domainName; }
79 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
80 template <typename DomainNameT = Aws::String>
81 void SetDomainName(DomainNameT&& value) {
82 m_domainNameHasBeenSet = true;
83 m_domainName = std::forward<DomainNameT>(value);
84 }
85 template <typename DomainNameT = Aws::String>
87 SetDomainName(std::forward<DomainNameT>(value));
88 return *this;
89 }
91
93
97 inline const Aws::String& GetDomainOwner() const { return m_domainOwner; }
98 inline bool DomainOwnerHasBeenSet() const { return m_domainOwnerHasBeenSet; }
99 template <typename DomainOwnerT = Aws::String>
100 void SetDomainOwner(DomainOwnerT&& value) {
101 m_domainOwnerHasBeenSet = true;
102 m_domainOwner = std::forward<DomainOwnerT>(value);
103 }
104 template <typename DomainOwnerT = Aws::String>
106 SetDomainOwner(std::forward<DomainOwnerT>(value));
107 return *this;
108 }
110
112
116 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
117 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
118 template <typename CreatedTimeT = Aws::Utils::DateTime>
119 void SetCreatedTime(CreatedTimeT&& value) {
120 m_createdTimeHasBeenSet = true;
121 m_createdTime = std::forward<CreatedTimeT>(value);
122 }
123 template <typename CreatedTimeT = Aws::Utils::DateTime>
125 SetCreatedTime(std::forward<CreatedTimeT>(value));
126 return *this;
127 }
129
131
134 inline const Aws::String& GetContactInfo() const { return m_contactInfo; }
135 inline bool ContactInfoHasBeenSet() const { return m_contactInfoHasBeenSet; }
136 template <typename ContactInfoT = Aws::String>
137 void SetContactInfo(ContactInfoT&& value) {
138 m_contactInfoHasBeenSet = true;
139 m_contactInfo = std::forward<ContactInfoT>(value);
140 }
141 template <typename ContactInfoT = Aws::String>
143 SetContactInfo(std::forward<ContactInfoT>(value));
144 return *this;
145 }
147
149
152 inline const Aws::String& GetDescription() const { return m_description; }
153 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
154 template <typename DescriptionT = Aws::String>
155 void SetDescription(DescriptionT&& value) {
156 m_descriptionHasBeenSet = true;
157 m_description = std::forward<DescriptionT>(value);
158 }
159 template <typename DescriptionT = Aws::String>
161 SetDescription(std::forward<DescriptionT>(value));
162 return *this;
163 }
165
167
171 inline const PackageGroupOriginConfiguration& GetOriginConfiguration() const { return m_originConfiguration; }
172 inline bool OriginConfigurationHasBeenSet() const { return m_originConfigurationHasBeenSet; }
173 template <typename OriginConfigurationT = PackageGroupOriginConfiguration>
174 void SetOriginConfiguration(OriginConfigurationT&& value) {
175 m_originConfigurationHasBeenSet = true;
176 m_originConfiguration = std::forward<OriginConfigurationT>(value);
177 }
178 template <typename OriginConfigurationT = PackageGroupOriginConfiguration>
179 PackageGroupDescription& WithOriginConfiguration(OriginConfigurationT&& value) {
180 SetOriginConfiguration(std::forward<OriginConfigurationT>(value));
181 return *this;
182 }
184
186
189 inline const PackageGroupReference& GetParent() const { return m_parent; }
190 inline bool ParentHasBeenSet() const { return m_parentHasBeenSet; }
191 template <typename ParentT = PackageGroupReference>
192 void SetParent(ParentT&& value) {
193 m_parentHasBeenSet = true;
194 m_parent = std::forward<ParentT>(value);
195 }
196 template <typename ParentT = PackageGroupReference>
198 SetParent(std::forward<ParentT>(value));
199 return *this;
200 }
202 private:
203 Aws::String m_arn;
204
205 Aws::String m_pattern;
206
207 Aws::String m_domainName;
208
209 Aws::String m_domainOwner;
210
211 Aws::Utils::DateTime m_createdTime{};
212
213 Aws::String m_contactInfo;
214
215 Aws::String m_description;
216
217 PackageGroupOriginConfiguration m_originConfiguration;
218
219 PackageGroupReference m_parent;
220 bool m_arnHasBeenSet = false;
221 bool m_patternHasBeenSet = false;
222 bool m_domainNameHasBeenSet = false;
223 bool m_domainOwnerHasBeenSet = false;
224 bool m_createdTimeHasBeenSet = false;
225 bool m_contactInfoHasBeenSet = false;
226 bool m_descriptionHasBeenSet = false;
227 bool m_originConfigurationHasBeenSet = false;
228 bool m_parentHasBeenSet = false;
229};
230
231} // namespace Model
232} // namespace CodeArtifact
233} // namespace Aws
PackageGroupDescription & WithParent(ParentT &&value)
PackageGroupDescription & WithDomainName(DomainNameT &&value)
PackageGroupDescription & WithDescription(DescriptionT &&value)
AWS_CODEARTIFACT_API PackageGroupDescription(Aws::Utils::Json::JsonView jsonValue)
PackageGroupDescription & WithContactInfo(ContactInfoT &&value)
AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const
PackageGroupDescription & WithOriginConfiguration(OriginConfigurationT &&value)
PackageGroupDescription & WithPattern(PatternT &&value)
PackageGroupDescription & WithArn(ArnT &&value)
const PackageGroupOriginConfiguration & GetOriginConfiguration() const
PackageGroupDescription & WithDomainOwner(DomainOwnerT &&value)
void SetOriginConfiguration(OriginConfigurationT &&value)
PackageGroupDescription & WithCreatedTime(CreatedTimeT &&value)
AWS_CODEARTIFACT_API PackageGroupDescription()=default
AWS_CODEARTIFACT_API PackageGroupDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue