AWS SDK for C++  1.9.153
AWS SDK for C++
ListPackageVersionDependenciesResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24 } // namespace Json
25 } // namespace Utils
26 namespace CodeArtifact
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
44  inline const PackageFormat& GetFormat() const{ return m_format; }
45 
52  inline void SetFormat(const PackageFormat& value) { m_format = value; }
53 
60  inline void SetFormat(PackageFormat&& value) { m_format = std::move(value); }
61 
68  inline ListPackageVersionDependenciesResult& WithFormat(const PackageFormat& value) { SetFormat(value); return *this;}
69 
76  inline ListPackageVersionDependenciesResult& WithFormat(PackageFormat&& value) { SetFormat(std::move(value)); return *this;}
77 
78 
87  inline const Aws::String& GetNamespace() const{ return m_namespace; }
88 
97  inline void SetNamespace(const Aws::String& value) { m_namespace = value; }
98 
107  inline void SetNamespace(Aws::String&& value) { m_namespace = std::move(value); }
108 
117  inline void SetNamespace(const char* value) { m_namespace.assign(value); }
118 
127  inline ListPackageVersionDependenciesResult& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
128 
137  inline ListPackageVersionDependenciesResult& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
138 
147  inline ListPackageVersionDependenciesResult& WithNamespace(const char* value) { SetNamespace(value); return *this;}
148 
149 
154  inline const Aws::String& GetPackage() const{ return m_package; }
155 
160  inline void SetPackage(const Aws::String& value) { m_package = value; }
161 
166  inline void SetPackage(Aws::String&& value) { m_package = std::move(value); }
167 
172  inline void SetPackage(const char* value) { m_package.assign(value); }
173 
178  inline ListPackageVersionDependenciesResult& WithPackage(const Aws::String& value) { SetPackage(value); return *this;}
179 
184  inline ListPackageVersionDependenciesResult& WithPackage(Aws::String&& value) { SetPackage(std::move(value)); return *this;}
185 
190  inline ListPackageVersionDependenciesResult& WithPackage(const char* value) { SetPackage(value); return *this;}
191 
192 
196  inline const Aws::String& GetVersion() const{ return m_version; }
197 
201  inline void SetVersion(const Aws::String& value) { m_version = value; }
202 
206  inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
207 
211  inline void SetVersion(const char* value) { m_version.assign(value); }
212 
216  inline ListPackageVersionDependenciesResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
217 
221  inline ListPackageVersionDependenciesResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
222 
226  inline ListPackageVersionDependenciesResult& WithVersion(const char* value) { SetVersion(value); return *this;}
227 
228 
232  inline const Aws::String& GetVersionRevision() const{ return m_versionRevision; }
233 
237  inline void SetVersionRevision(const Aws::String& value) { m_versionRevision = value; }
238 
242  inline void SetVersionRevision(Aws::String&& value) { m_versionRevision = std::move(value); }
243 
247  inline void SetVersionRevision(const char* value) { m_versionRevision.assign(value); }
248 
252  inline ListPackageVersionDependenciesResult& WithVersionRevision(const Aws::String& value) { SetVersionRevision(value); return *this;}
253 
257  inline ListPackageVersionDependenciesResult& WithVersionRevision(Aws::String&& value) { SetVersionRevision(std::move(value)); return *this;}
258 
262  inline ListPackageVersionDependenciesResult& WithVersionRevision(const char* value) { SetVersionRevision(value); return *this;}
263 
264 
269  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
270 
275  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
276 
281  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
282 
287  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
288 
293  inline ListPackageVersionDependenciesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
294 
299  inline ListPackageVersionDependenciesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
300 
305  inline ListPackageVersionDependenciesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
306 
307 
313  inline const Aws::Vector<PackageDependency>& GetDependencies() const{ return m_dependencies; }
314 
320  inline void SetDependencies(const Aws::Vector<PackageDependency>& value) { m_dependencies = value; }
321 
327  inline void SetDependencies(Aws::Vector<PackageDependency>&& value) { m_dependencies = std::move(value); }
328 
334  inline ListPackageVersionDependenciesResult& WithDependencies(const Aws::Vector<PackageDependency>& value) { SetDependencies(value); return *this;}
335 
341  inline ListPackageVersionDependenciesResult& WithDependencies(Aws::Vector<PackageDependency>&& value) { SetDependencies(std::move(value)); return *this;}
342 
348  inline ListPackageVersionDependenciesResult& AddDependencies(const PackageDependency& value) { m_dependencies.push_back(value); return *this; }
349 
355  inline ListPackageVersionDependenciesResult& AddDependencies(PackageDependency&& value) { m_dependencies.push_back(std::move(value)); return *this; }
356 
357  private:
358 
359  PackageFormat m_format;
360 
361  Aws::String m_namespace;
362 
363  Aws::String m_package;
364 
365  Aws::String m_version;
366 
367  Aws::String m_versionRevision;
368 
369  Aws::String m_nextToken;
370 
371  Aws::Vector<PackageDependency> m_dependencies;
372  };
373 
374 } // namespace Model
375 } // namespace CodeArtifact
376 } // namespace Aws
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult
Definition: ListPackageVersionDependenciesResult.h:31
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::SetNamespace
void SetNamespace(Aws::String &&value)
Definition: ListPackageVersionDependenciesResult.h:107
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::WithNamespace
ListPackageVersionDependenciesResult & WithNamespace(const Aws::String &value)
Definition: ListPackageVersionDependenciesResult.h:127
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::WithPackage
ListPackageVersionDependenciesResult & WithPackage(const Aws::String &value)
Definition: ListPackageVersionDependenciesResult.h:178
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
CodeArtifact_EXPORTS.h
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::SetFormat
void SetFormat(const PackageFormat &value)
Definition: ListPackageVersionDependenciesResult.h:52
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::SetVersion
void SetVersion(const Aws::String &value)
Definition: ListPackageVersionDependenciesResult.h:201
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::WithVersion
ListPackageVersionDependenciesResult & WithVersion(const Aws::String &value)
Definition: ListPackageVersionDependenciesResult.h:216
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListPackageVersionDependenciesResult.h:287
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::WithPackage
ListPackageVersionDependenciesResult & WithPackage(const char *value)
Definition: ListPackageVersionDependenciesResult.h:190
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListPackageVersionDependenciesResult.h:269
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::WithFormat
ListPackageVersionDependenciesResult & WithFormat(const PackageFormat &value)
Definition: ListPackageVersionDependenciesResult.h:68
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::GetVersionRevision
const Aws::String & GetVersionRevision() const
Definition: ListPackageVersionDependenciesResult.h:232
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::SetDependencies
void SetDependencies(Aws::Vector< PackageDependency > &&value)
Definition: ListPackageVersionDependenciesResult.h:327
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::WithVersionRevision
ListPackageVersionDependenciesResult & WithVersionRevision(Aws::String &&value)
Definition: ListPackageVersionDependenciesResult.h:257
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::AddDependencies
ListPackageVersionDependenciesResult & AddDependencies(PackageDependency &&value)
Definition: ListPackageVersionDependenciesResult.h:355
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::GetDependencies
const Aws::Vector< PackageDependency > & GetDependencies() const
Definition: ListPackageVersionDependenciesResult.h:313
AWSVector.h
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::SetDependencies
void SetDependencies(const Aws::Vector< PackageDependency > &value)
Definition: ListPackageVersionDependenciesResult.h:320
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::SetNamespace
void SetNamespace(const Aws::String &value)
Definition: ListPackageVersionDependenciesResult.h:97
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::GetFormat
const PackageFormat & GetFormat() const
Definition: ListPackageVersionDependenciesResult.h:44
PackageDependency.h
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::GetNamespace
const Aws::String & GetNamespace() const
Definition: ListPackageVersionDependenciesResult.h:87
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListPackageVersionDependenciesResult.h:281
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::GetVersion
const Aws::String & GetVersion() const
Definition: ListPackageVersionDependenciesResult.h:196
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::WithVersion
ListPackageVersionDependenciesResult & WithVersion(Aws::String &&value)
Definition: ListPackageVersionDependenciesResult.h:221
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::SetVersion
void SetVersion(Aws::String &&value)
Definition: ListPackageVersionDependenciesResult.h:206
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::WithVersionRevision
ListPackageVersionDependenciesResult & WithVersionRevision(const char *value)
Definition: ListPackageVersionDependenciesResult.h:262
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::WithPackage
ListPackageVersionDependenciesResult & WithPackage(Aws::String &&value)
Definition: ListPackageVersionDependenciesResult.h:184
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::SetPackage
void SetPackage(const Aws::String &value)
Definition: ListPackageVersionDependenciesResult.h:160
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::WithNamespace
ListPackageVersionDependenciesResult & WithNamespace(Aws::String &&value)
Definition: ListPackageVersionDependenciesResult.h:137
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::operator=
ListPackageVersionDependenciesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PackageFormat.h
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::SetVersion
void SetVersion(const char *value)
Definition: ListPackageVersionDependenciesResult.h:211
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::GetPackage
const Aws::String & GetPackage() const
Definition: ListPackageVersionDependenciesResult.h:154
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::SetVersionRevision
void SetVersionRevision(const Aws::String &value)
Definition: ListPackageVersionDependenciesResult.h:237
AWSString.h
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::WithNextToken
ListPackageVersionDependenciesResult & WithNextToken(Aws::String &&value)
Definition: ListPackageVersionDependenciesResult.h:299
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::WithNextToken
ListPackageVersionDependenciesResult & WithNextToken(const Aws::String &value)
Definition: ListPackageVersionDependenciesResult.h:293
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::SetVersionRevision
void SetVersionRevision(const char *value)
Definition: ListPackageVersionDependenciesResult.h:247
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::SetVersionRevision
void SetVersionRevision(Aws::String &&value)
Definition: ListPackageVersionDependenciesResult.h:242
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::ListPackageVersionDependenciesResult
ListPackageVersionDependenciesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::SetPackage
void SetPackage(Aws::String &&value)
Definition: ListPackageVersionDependenciesResult.h:166
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::SetFormat
void SetFormat(PackageFormat &&value)
Definition: ListPackageVersionDependenciesResult.h:60
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::WithDependencies
ListPackageVersionDependenciesResult & WithDependencies(Aws::Vector< PackageDependency > &&value)
Definition: ListPackageVersionDependenciesResult.h:341
AWS_CODEARTIFACT_API
#define AWS_CODEARTIFACT_API
Definition: CodeArtifact_EXPORTS.h:28
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::WithNextToken
ListPackageVersionDependenciesResult & WithNextToken(const char *value)
Definition: ListPackageVersionDependenciesResult.h:305
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::SetPackage
void SetPackage(const char *value)
Definition: ListPackageVersionDependenciesResult.h:172
Aws
Definition: AccessManagementClient.h:15
Aws::CodeArtifact::Model::PackageFormat
PackageFormat
Definition: PackageFormat.h:17
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::AddDependencies
ListPackageVersionDependenciesResult & AddDependencies(const PackageDependency &value)
Definition: ListPackageVersionDependenciesResult.h:348
Aws::CodeArtifact::Model::PackageDependency
Definition: PackageDependency.h:32
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::ListPackageVersionDependenciesResult
ListPackageVersionDependenciesResult()
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::WithNamespace
ListPackageVersionDependenciesResult & WithNamespace(const char *value)
Definition: ListPackageVersionDependenciesResult.h:147
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListPackageVersionDependenciesResult.h:275
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::WithVersionRevision
ListPackageVersionDependenciesResult & WithVersionRevision(const Aws::String &value)
Definition: ListPackageVersionDependenciesResult.h:252
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::WithFormat
ListPackageVersionDependenciesResult & WithFormat(PackageFormat &&value)
Definition: ListPackageVersionDependenciesResult.h:76
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::WithDependencies
ListPackageVersionDependenciesResult & WithDependencies(const Aws::Vector< PackageDependency > &value)
Definition: ListPackageVersionDependenciesResult.h:334
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::SetNamespace
void SetNamespace(const char *value)
Definition: ListPackageVersionDependenciesResult.h:117
Aws::CodeArtifact::Model::ListPackageVersionDependenciesResult::WithVersion
ListPackageVersionDependenciesResult & WithVersion(const char *value)
Definition: ListPackageVersionDependenciesResult.h:226