AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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 PackageGroupDescription& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline PackageGroupDescription& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline PackageGroupDescription& 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 PackageGroupDescription& WithPattern(const Aws::String& value) { SetPattern(value); return *this;}
68 inline PackageGroupDescription& WithPattern(Aws::String&& value) { SetPattern(std::move(value)); return *this;}
69 inline PackageGroupDescription& 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 PackageGroupDescription& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
82 inline PackageGroupDescription& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
83 inline PackageGroupDescription& 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 PackageGroupDescription& WithDomainOwner(const Aws::String& value) { SetDomainOwner(value); return *this;}
97 inline PackageGroupDescription& WithDomainOwner(Aws::String&& value) { SetDomainOwner(std::move(value)); return *this;}
98 inline PackageGroupDescription& WithDomainOwner(const char* value) { SetDomainOwner(value); return *this;}
100
102
106 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
107 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
108 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
109 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
110 inline PackageGroupDescription& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
111 inline PackageGroupDescription& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
113
115
118 inline const Aws::String& GetContactInfo() const{ return m_contactInfo; }
119 inline bool ContactInfoHasBeenSet() const { return m_contactInfoHasBeenSet; }
120 inline void SetContactInfo(const Aws::String& value) { m_contactInfoHasBeenSet = true; m_contactInfo = value; }
121 inline void SetContactInfo(Aws::String&& value) { m_contactInfoHasBeenSet = true; m_contactInfo = std::move(value); }
122 inline void SetContactInfo(const char* value) { m_contactInfoHasBeenSet = true; m_contactInfo.assign(value); }
123 inline PackageGroupDescription& WithContactInfo(const Aws::String& value) { SetContactInfo(value); return *this;}
124 inline PackageGroupDescription& WithContactInfo(Aws::String&& value) { SetContactInfo(std::move(value)); return *this;}
125 inline PackageGroupDescription& WithContactInfo(const char* value) { SetContactInfo(value); return *this;}
127
129
132 inline const Aws::String& GetDescription() const{ return m_description; }
133 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
134 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
135 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
136 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
137 inline PackageGroupDescription& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
138 inline PackageGroupDescription& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
139 inline PackageGroupDescription& WithDescription(const char* value) { SetDescription(value); return *this;}
141
143
147 inline const PackageGroupOriginConfiguration& GetOriginConfiguration() const{ return m_originConfiguration; }
148 inline bool OriginConfigurationHasBeenSet() const { return m_originConfigurationHasBeenSet; }
149 inline void SetOriginConfiguration(const PackageGroupOriginConfiguration& value) { m_originConfigurationHasBeenSet = true; m_originConfiguration = value; }
150 inline void SetOriginConfiguration(PackageGroupOriginConfiguration&& value) { m_originConfigurationHasBeenSet = true; m_originConfiguration = std::move(value); }
154
156
159 inline const PackageGroupReference& GetParent() const{ return m_parent; }
160 inline bool ParentHasBeenSet() const { return m_parentHasBeenSet; }
161 inline void SetParent(const PackageGroupReference& value) { m_parentHasBeenSet = true; m_parent = value; }
162 inline void SetParent(PackageGroupReference&& value) { m_parentHasBeenSet = true; m_parent = std::move(value); }
163 inline PackageGroupDescription& WithParent(const PackageGroupReference& value) { SetParent(value); return *this;}
164 inline PackageGroupDescription& WithParent(PackageGroupReference&& value) { SetParent(std::move(value)); return *this;}
166 private:
167
168 Aws::String m_arn;
169 bool m_arnHasBeenSet = false;
170
171 Aws::String m_pattern;
172 bool m_patternHasBeenSet = false;
173
174 Aws::String m_domainName;
175 bool m_domainNameHasBeenSet = false;
176
177 Aws::String m_domainOwner;
178 bool m_domainOwnerHasBeenSet = false;
179
180 Aws::Utils::DateTime m_createdTime;
181 bool m_createdTimeHasBeenSet = false;
182
183 Aws::String m_contactInfo;
184 bool m_contactInfoHasBeenSet = false;
185
186 Aws::String m_description;
187 bool m_descriptionHasBeenSet = false;
188
189 PackageGroupOriginConfiguration m_originConfiguration;
190 bool m_originConfigurationHasBeenSet = false;
191
192 PackageGroupReference m_parent;
193 bool m_parentHasBeenSet = false;
194 };
195
196} // namespace Model
197} // namespace CodeArtifact
198} // namespace Aws
PackageGroupDescription & WithContactInfo(Aws::String &&value)
PackageGroupDescription & WithOriginConfiguration(PackageGroupOriginConfiguration &&value)
PackageGroupDescription & WithPattern(const char *value)
PackageGroupDescription & WithDescription(const Aws::String &value)
PackageGroupDescription & WithPattern(Aws::String &&value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
PackageGroupDescription & WithParent(const PackageGroupReference &value)
PackageGroupDescription & WithDescription(const char *value)
PackageGroupDescription & WithDomainName(Aws::String &&value)
PackageGroupDescription & WithDomainName(const char *value)
void SetOriginConfiguration(PackageGroupOriginConfiguration &&value)
PackageGroupDescription & WithDomainOwner(const char *value)
PackageGroupDescription & WithParent(PackageGroupReference &&value)
void SetParent(const PackageGroupReference &value)
AWS_CODEARTIFACT_API PackageGroupDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const
const PackageGroupOriginConfiguration & GetOriginConfiguration() const
PackageGroupDescription & WithPattern(const Aws::String &value)
PackageGroupDescription & WithDescription(Aws::String &&value)
PackageGroupDescription & WithArn(Aws::String &&value)
PackageGroupDescription & WithDomainOwner(const Aws::String &value)
PackageGroupDescription & WithCreatedTime(Aws::Utils::DateTime &&value)
PackageGroupDescription & WithOriginConfiguration(const PackageGroupOriginConfiguration &value)
PackageGroupDescription & WithContactInfo(const Aws::String &value)
PackageGroupDescription & WithDomainOwner(Aws::String &&value)
PackageGroupDescription & WithContactInfo(const char *value)
PackageGroupDescription & WithArn(const char *value)
PackageGroupDescription & WithDomainName(const Aws::String &value)
PackageGroupDescription & WithCreatedTime(const Aws::Utils::DateTime &value)
AWS_CODEARTIFACT_API PackageGroupDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
PackageGroupDescription & WithArn(const Aws::String &value)
void SetOriginConfiguration(const PackageGroupOriginConfiguration &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue