AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PackageGroupDescription.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 PackageGroupDescription() = default;
38 AWS_CODEARTIFACT_API PackageGroupDescription(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 PackageGroupDescription& 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 PackageGroupDescription& 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 PackageGroupDescription& 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 PackageGroupDescription& WithDomainOwner(DomainOwnerT&& value) { SetDomainOwner(std::forward<DomainOwnerT>(value)); return *this;}
92
94
98 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
99 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
100 template<typename CreatedTimeT = Aws::Utils::DateTime>
101 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
102 template<typename CreatedTimeT = Aws::Utils::DateTime>
103 PackageGroupDescription& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
105
107
110 inline const Aws::String& GetContactInfo() const { return m_contactInfo; }
111 inline bool ContactInfoHasBeenSet() const { return m_contactInfoHasBeenSet; }
112 template<typename ContactInfoT = Aws::String>
113 void SetContactInfo(ContactInfoT&& value) { m_contactInfoHasBeenSet = true; m_contactInfo = std::forward<ContactInfoT>(value); }
114 template<typename ContactInfoT = Aws::String>
115 PackageGroupDescription& WithContactInfo(ContactInfoT&& value) { SetContactInfo(std::forward<ContactInfoT>(value)); return *this;}
117
119
122 inline const Aws::String& GetDescription() const { return m_description; }
123 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
124 template<typename DescriptionT = Aws::String>
125 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
126 template<typename DescriptionT = Aws::String>
127 PackageGroupDescription& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
129
131
135 inline const PackageGroupOriginConfiguration& GetOriginConfiguration() const { return m_originConfiguration; }
136 inline bool OriginConfigurationHasBeenSet() const { return m_originConfigurationHasBeenSet; }
137 template<typename OriginConfigurationT = PackageGroupOriginConfiguration>
138 void SetOriginConfiguration(OriginConfigurationT&& value) { m_originConfigurationHasBeenSet = true; m_originConfiguration = std::forward<OriginConfigurationT>(value); }
139 template<typename OriginConfigurationT = PackageGroupOriginConfiguration>
140 PackageGroupDescription& WithOriginConfiguration(OriginConfigurationT&& value) { SetOriginConfiguration(std::forward<OriginConfigurationT>(value)); return *this;}
142
144
147 inline const PackageGroupReference& GetParent() const { return m_parent; }
148 inline bool ParentHasBeenSet() const { return m_parentHasBeenSet; }
149 template<typename ParentT = PackageGroupReference>
150 void SetParent(ParentT&& value) { m_parentHasBeenSet = true; m_parent = std::forward<ParentT>(value); }
151 template<typename ParentT = PackageGroupReference>
152 PackageGroupDescription& WithParent(ParentT&& value) { SetParent(std::forward<ParentT>(value)); return *this;}
154 private:
155
156 Aws::String m_arn;
157 bool m_arnHasBeenSet = false;
158
159 Aws::String m_pattern;
160 bool m_patternHasBeenSet = false;
161
162 Aws::String m_domainName;
163 bool m_domainNameHasBeenSet = false;
164
165 Aws::String m_domainOwner;
166 bool m_domainOwnerHasBeenSet = false;
167
168 Aws::Utils::DateTime m_createdTime{};
169 bool m_createdTimeHasBeenSet = false;
170
171 Aws::String m_contactInfo;
172 bool m_contactInfoHasBeenSet = false;
173
174 Aws::String m_description;
175 bool m_descriptionHasBeenSet = false;
176
177 PackageGroupOriginConfiguration m_originConfiguration;
178 bool m_originConfigurationHasBeenSet = false;
179
180 PackageGroupReference m_parent;
181 bool m_parentHasBeenSet = false;
182 };
183
184} // namespace Model
185} // namespace CodeArtifact
186} // namespace Aws
PackageGroupDescription & WithParent(ParentT &&value)
PackageGroupDescription & WithDomainName(DomainNameT &&value)
PackageGroupDescription & WithDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
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