AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PackageGroupSummary.h
1
6#pragma once
7#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/codeartifact/model/PackageGroupOriginConfiguration.h>
11#include <aws/codeartifact/model/PackageGroupReference.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace CodeArtifact
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_CODEARTIFACT_API PackageGroupSummary() = default;
38 AWS_CODEARTIFACT_API PackageGroupSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetArn() const { return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 template<typename ArnT = Aws::String>
50 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
51 template<typename ArnT = Aws::String>
52 PackageGroupSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
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) { m_patternHasBeenSet = true; m_pattern = std::forward<PatternT>(value); }
64 template<typename PatternT = Aws::String>
65 PackageGroupSummary& WithPattern(PatternT&& value) { SetPattern(std::forward<PatternT>(value)); return *this;}
67
69
72 inline const Aws::String& GetDomainName() const { return m_domainName; }
73 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
74 template<typename DomainNameT = Aws::String>
75 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
76 template<typename DomainNameT = Aws::String>
77 PackageGroupSummary& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
79
81
85 inline const Aws::String& GetDomainOwner() const { return m_domainOwner; }
86 inline bool DomainOwnerHasBeenSet() const { return m_domainOwnerHasBeenSet; }
87 template<typename DomainOwnerT = Aws::String>
88 void SetDomainOwner(DomainOwnerT&& value) { m_domainOwnerHasBeenSet = true; m_domainOwner = std::forward<DomainOwnerT>(value); }
89 template<typename DomainOwnerT = Aws::String>
90 PackageGroupSummary& WithDomainOwner(DomainOwnerT&& value) { SetDomainOwner(std::forward<DomainOwnerT>(value)); return *this;}
92
94
97 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
98 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
99 template<typename CreatedTimeT = Aws::Utils::DateTime>
100 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
101 template<typename CreatedTimeT = Aws::Utils::DateTime>
102 PackageGroupSummary& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
104
106
109 inline const Aws::String& GetContactInfo() const { return m_contactInfo; }
110 inline bool ContactInfoHasBeenSet() const { return m_contactInfoHasBeenSet; }
111 template<typename ContactInfoT = Aws::String>
112 void SetContactInfo(ContactInfoT&& value) { m_contactInfoHasBeenSet = true; m_contactInfo = std::forward<ContactInfoT>(value); }
113 template<typename ContactInfoT = Aws::String>
114 PackageGroupSummary& WithContactInfo(ContactInfoT&& value) { SetContactInfo(std::forward<ContactInfoT>(value)); return *this;}
116
118
121 inline const Aws::String& GetDescription() const { return m_description; }
122 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
123 template<typename DescriptionT = Aws::String>
124 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
125 template<typename DescriptionT = Aws::String>
126 PackageGroupSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
128
130
133 inline const PackageGroupOriginConfiguration& GetOriginConfiguration() const { return m_originConfiguration; }
134 inline bool OriginConfigurationHasBeenSet() const { return m_originConfigurationHasBeenSet; }
135 template<typename OriginConfigurationT = PackageGroupOriginConfiguration>
136 void SetOriginConfiguration(OriginConfigurationT&& value) { m_originConfigurationHasBeenSet = true; m_originConfiguration = std::forward<OriginConfigurationT>(value); }
137 template<typename OriginConfigurationT = PackageGroupOriginConfiguration>
138 PackageGroupSummary& WithOriginConfiguration(OriginConfigurationT&& value) { SetOriginConfiguration(std::forward<OriginConfigurationT>(value)); return *this;}
140
142
145 inline const PackageGroupReference& GetParent() const { return m_parent; }
146 inline bool ParentHasBeenSet() const { return m_parentHasBeenSet; }
147 template<typename ParentT = PackageGroupReference>
148 void SetParent(ParentT&& value) { m_parentHasBeenSet = true; m_parent = std::forward<ParentT>(value); }
149 template<typename ParentT = PackageGroupReference>
150 PackageGroupSummary& WithParent(ParentT&& value) { SetParent(std::forward<ParentT>(value)); return *this;}
152 private:
153
154 Aws::String m_arn;
155 bool m_arnHasBeenSet = false;
156
157 Aws::String m_pattern;
158 bool m_patternHasBeenSet = false;
159
160 Aws::String m_domainName;
161 bool m_domainNameHasBeenSet = false;
162
163 Aws::String m_domainOwner;
164 bool m_domainOwnerHasBeenSet = false;
165
166 Aws::Utils::DateTime m_createdTime{};
167 bool m_createdTimeHasBeenSet = false;
168
169 Aws::String m_contactInfo;
170 bool m_contactInfoHasBeenSet = false;
171
172 Aws::String m_description;
173 bool m_descriptionHasBeenSet = false;
174
175 PackageGroupOriginConfiguration m_originConfiguration;
176 bool m_originConfigurationHasBeenSet = false;
177
178 PackageGroupReference m_parent;
179 bool m_parentHasBeenSet = false;
180 };
181
182} // namespace Model
183} // namespace CodeArtifact
184} // namespace Aws
PackageGroupSummary & WithDomainName(DomainNameT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
AWS_CODEARTIFACT_API PackageGroupSummary()=default
AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const
PackageGroupSummary & WithDescription(DescriptionT &&value)
PackageGroupSummary & WithDomainOwner(DomainOwnerT &&value)
const PackageGroupReference & GetParent() const
AWS_CODEARTIFACT_API PackageGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEARTIFACT_API PackageGroupSummary(Aws::Utils::Json::JsonView jsonValue)
void SetOriginConfiguration(OriginConfigurationT &&value)
PackageGroupSummary & WithParent(ParentT &&value)
PackageGroupSummary & WithContactInfo(ContactInfoT &&value)
PackageGroupSummary & WithArn(ArnT &&value)
const PackageGroupOriginConfiguration & GetOriginConfiguration() const
PackageGroupSummary & WithPattern(PatternT &&value)
PackageGroupSummary & WithOriginConfiguration(OriginConfigurationT &&value)
PackageGroupSummary & WithCreatedTime(CreatedTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue