AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
52 inline PackageGroupSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline PackageGroupSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline PackageGroupSummary& WithArn(const char* value) { SetArn(value); return *this;}
56
58
62 inline const Aws::String& GetPattern() const{ return m_pattern; }
63 inline bool PatternHasBeenSet() const { return m_patternHasBeenSet; }
64 inline void SetPattern(const Aws::String& value) { m_patternHasBeenSet = true; m_pattern = value; }
65 inline void SetPattern(Aws::String&& value) { m_patternHasBeenSet = true; m_pattern = std::move(value); }
66 inline void SetPattern(const char* value) { m_patternHasBeenSet = true; m_pattern.assign(value); }
67 inline PackageGroupSummary& WithPattern(const Aws::String& value) { SetPattern(value); return *this;}
68 inline PackageGroupSummary& WithPattern(Aws::String&& value) { SetPattern(std::move(value)); return *this;}
69 inline PackageGroupSummary& WithPattern(const char* value) { SetPattern(value); return *this;}
71
73
76 inline const Aws::String& GetDomainName() const{ return m_domainName; }
77 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
78 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
79 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
80 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
81 inline PackageGroupSummary& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
82 inline PackageGroupSummary& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
83 inline PackageGroupSummary& WithDomainName(const char* value) { SetDomainName(value); return *this;}
85
87
91 inline const Aws::String& GetDomainOwner() const{ return m_domainOwner; }
92 inline bool DomainOwnerHasBeenSet() const { return m_domainOwnerHasBeenSet; }
93 inline void SetDomainOwner(const Aws::String& value) { m_domainOwnerHasBeenSet = true; m_domainOwner = value; }
94 inline void SetDomainOwner(Aws::String&& value) { m_domainOwnerHasBeenSet = true; m_domainOwner = std::move(value); }
95 inline void SetDomainOwner(const char* value) { m_domainOwnerHasBeenSet = true; m_domainOwner.assign(value); }
96 inline PackageGroupSummary& WithDomainOwner(const Aws::String& value) { SetDomainOwner(value); return *this;}
97 inline PackageGroupSummary& WithDomainOwner(Aws::String&& value) { SetDomainOwner(std::move(value)); return *this;}
98 inline PackageGroupSummary& WithDomainOwner(const char* value) { SetDomainOwner(value); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
106 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
107 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
108 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
109 inline PackageGroupSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
110 inline PackageGroupSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
112
114
117 inline const Aws::String& GetContactInfo() const{ return m_contactInfo; }
118 inline bool ContactInfoHasBeenSet() const { return m_contactInfoHasBeenSet; }
119 inline void SetContactInfo(const Aws::String& value) { m_contactInfoHasBeenSet = true; m_contactInfo = value; }
120 inline void SetContactInfo(Aws::String&& value) { m_contactInfoHasBeenSet = true; m_contactInfo = std::move(value); }
121 inline void SetContactInfo(const char* value) { m_contactInfoHasBeenSet = true; m_contactInfo.assign(value); }
122 inline PackageGroupSummary& WithContactInfo(const Aws::String& value) { SetContactInfo(value); return *this;}
123 inline PackageGroupSummary& WithContactInfo(Aws::String&& value) { SetContactInfo(std::move(value)); return *this;}
124 inline PackageGroupSummary& WithContactInfo(const char* value) { SetContactInfo(value); return *this;}
126
128
131 inline const Aws::String& GetDescription() const{ return m_description; }
132 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
133 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
134 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
135 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
136 inline PackageGroupSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
137 inline PackageGroupSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
138 inline PackageGroupSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
140
142
145 inline const PackageGroupOriginConfiguration& GetOriginConfiguration() const{ return m_originConfiguration; }
146 inline bool OriginConfigurationHasBeenSet() const { return m_originConfigurationHasBeenSet; }
147 inline void SetOriginConfiguration(const PackageGroupOriginConfiguration& value) { m_originConfigurationHasBeenSet = true; m_originConfiguration = value; }
148 inline void SetOriginConfiguration(PackageGroupOriginConfiguration&& value) { m_originConfigurationHasBeenSet = true; m_originConfiguration = std::move(value); }
152
154
157 inline const PackageGroupReference& GetParent() const{ return m_parent; }
158 inline bool ParentHasBeenSet() const { return m_parentHasBeenSet; }
159 inline void SetParent(const PackageGroupReference& value) { m_parentHasBeenSet = true; m_parent = value; }
160 inline void SetParent(PackageGroupReference&& value) { m_parentHasBeenSet = true; m_parent = std::move(value); }
161 inline PackageGroupSummary& WithParent(const PackageGroupReference& value) { SetParent(value); return *this;}
162 inline PackageGroupSummary& WithParent(PackageGroupReference&& value) { SetParent(std::move(value)); return *this;}
164 private:
165
166 Aws::String m_arn;
167 bool m_arnHasBeenSet = false;
168
169 Aws::String m_pattern;
170 bool m_patternHasBeenSet = false;
171
172 Aws::String m_domainName;
173 bool m_domainNameHasBeenSet = false;
174
175 Aws::String m_domainOwner;
176 bool m_domainOwnerHasBeenSet = false;
177
178 Aws::Utils::DateTime m_createdTime;
179 bool m_createdTimeHasBeenSet = false;
180
181 Aws::String m_contactInfo;
182 bool m_contactInfoHasBeenSet = false;
183
184 Aws::String m_description;
185 bool m_descriptionHasBeenSet = false;
186
187 PackageGroupOriginConfiguration m_originConfiguration;
188 bool m_originConfigurationHasBeenSet = false;
189
190 PackageGroupReference m_parent;
191 bool m_parentHasBeenSet = false;
192 };
193
194} // namespace Model
195} // namespace CodeArtifact
196} // namespace Aws
PackageGroupSummary & WithCreatedTime(const Aws::Utils::DateTime &value)
PackageGroupSummary & WithCreatedTime(Aws::Utils::DateTime &&value)
PackageGroupSummary & WithArn(Aws::String &&value)
PackageGroupSummary & WithDomainName(const char *value)
const Aws::Utils::DateTime & GetCreatedTime() const
void SetCreatedTime(const Aws::Utils::DateTime &value)
AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const
PackageGroupSummary & WithDescription(Aws::String &&value)
PackageGroupSummary & WithArn(const char *value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
PackageGroupSummary & WithContactInfo(const Aws::String &value)
PackageGroupSummary & WithDescription(const char *value)
const PackageGroupReference & GetParent() const
PackageGroupSummary & WithParent(const PackageGroupReference &value)
AWS_CODEARTIFACT_API PackageGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
PackageGroupSummary & WithDomainName(const Aws::String &value)
AWS_CODEARTIFACT_API PackageGroupSummary(Aws::Utils::Json::JsonView jsonValue)
PackageGroupSummary & WithContactInfo(const char *value)
PackageGroupSummary & WithPattern(Aws::String &&value)
PackageGroupSummary & WithParent(PackageGroupReference &&value)
void SetOriginConfiguration(const PackageGroupOriginConfiguration &value)
PackageGroupSummary & WithOriginConfiguration(const PackageGroupOriginConfiguration &value)
void SetParent(PackageGroupReference &&value)
PackageGroupSummary & WithOriginConfiguration(PackageGroupOriginConfiguration &&value)
PackageGroupSummary & WithDomainOwner(Aws::String &&value)
PackageGroupSummary & WithArn(const Aws::String &value)
void SetParent(const PackageGroupReference &value)
PackageGroupSummary & WithDomainName(Aws::String &&value)
void SetOriginConfiguration(PackageGroupOriginConfiguration &&value)
PackageGroupSummary & WithContactInfo(Aws::String &&value)
PackageGroupSummary & WithDescription(const Aws::String &value)
PackageGroupSummary & WithPattern(const Aws::String &value)
const PackageGroupOriginConfiguration & GetOriginConfiguration() const
PackageGroupSummary & WithDomainOwner(const char *value)
PackageGroupSummary & WithPattern(const char *value)
PackageGroupSummary & WithDomainOwner(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue