AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeletePackageVersionsResult.h
1
6#pragma once
7#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codeartifact/model/SuccessfulPackageVersionInfo.h>
11#include <aws/codeartifact/model/PackageVersionError.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace CodeArtifact
27{
28namespace Model
29{
31 {
32 public:
33 AWS_CODEARTIFACT_API DeletePackageVersionsResult();
36
37
39
43 inline const Aws::Map<Aws::String, SuccessfulPackageVersionInfo>& GetSuccessfulVersions() const{ return m_successfulVersions; }
44 inline void SetSuccessfulVersions(const Aws::Map<Aws::String, SuccessfulPackageVersionInfo>& value) { m_successfulVersions = value; }
45 inline void SetSuccessfulVersions(Aws::Map<Aws::String, SuccessfulPackageVersionInfo>&& value) { m_successfulVersions = std::move(value); }
48 inline DeletePackageVersionsResult& AddSuccessfulVersions(const Aws::String& key, const SuccessfulPackageVersionInfo& value) { m_successfulVersions.emplace(key, value); return *this; }
49 inline DeletePackageVersionsResult& AddSuccessfulVersions(Aws::String&& key, const SuccessfulPackageVersionInfo& value) { m_successfulVersions.emplace(std::move(key), value); return *this; }
50 inline DeletePackageVersionsResult& AddSuccessfulVersions(const Aws::String& key, SuccessfulPackageVersionInfo&& value) { m_successfulVersions.emplace(key, std::move(value)); return *this; }
51 inline DeletePackageVersionsResult& AddSuccessfulVersions(Aws::String&& key, SuccessfulPackageVersionInfo&& value) { m_successfulVersions.emplace(std::move(key), std::move(value)); return *this; }
52 inline DeletePackageVersionsResult& AddSuccessfulVersions(const char* key, SuccessfulPackageVersionInfo&& value) { m_successfulVersions.emplace(key, std::move(value)); return *this; }
53 inline DeletePackageVersionsResult& AddSuccessfulVersions(const char* key, const SuccessfulPackageVersionInfo& value) { m_successfulVersions.emplace(key, value); return *this; }
55
57
66 inline const Aws::Map<Aws::String, PackageVersionError>& GetFailedVersions() const{ return m_failedVersions; }
67 inline void SetFailedVersions(const Aws::Map<Aws::String, PackageVersionError>& value) { m_failedVersions = value; }
68 inline void SetFailedVersions(Aws::Map<Aws::String, PackageVersionError>&& value) { m_failedVersions = std::move(value); }
71 inline DeletePackageVersionsResult& AddFailedVersions(const Aws::String& key, const PackageVersionError& value) { m_failedVersions.emplace(key, value); return *this; }
72 inline DeletePackageVersionsResult& AddFailedVersions(Aws::String&& key, const PackageVersionError& value) { m_failedVersions.emplace(std::move(key), value); return *this; }
73 inline DeletePackageVersionsResult& AddFailedVersions(const Aws::String& key, PackageVersionError&& value) { m_failedVersions.emplace(key, std::move(value)); return *this; }
74 inline DeletePackageVersionsResult& AddFailedVersions(Aws::String&& key, PackageVersionError&& value) { m_failedVersions.emplace(std::move(key), std::move(value)); return *this; }
75 inline DeletePackageVersionsResult& AddFailedVersions(const char* key, PackageVersionError&& value) { m_failedVersions.emplace(key, std::move(value)); return *this; }
76 inline DeletePackageVersionsResult& AddFailedVersions(const char* key, const PackageVersionError& value) { m_failedVersions.emplace(key, value); return *this; }
78
80
81 inline const Aws::String& GetRequestId() const{ return m_requestId; }
82 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
83 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
84 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
85 inline DeletePackageVersionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
86 inline DeletePackageVersionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
87 inline DeletePackageVersionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
89 private:
90
92
94
95 Aws::String m_requestId;
96 };
97
98} // namespace Model
99} // namespace CodeArtifact
100} // namespace Aws
void SetSuccessfulVersions(Aws::Map< Aws::String, SuccessfulPackageVersionInfo > &&value)
DeletePackageVersionsResult & AddSuccessfulVersions(const char *key, const SuccessfulPackageVersionInfo &value)
DeletePackageVersionsResult & WithSuccessfulVersions(const Aws::Map< Aws::String, SuccessfulPackageVersionInfo > &value)
AWS_CODEARTIFACT_API DeletePackageVersionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeletePackageVersionsResult & AddFailedVersions(const Aws::String &key, PackageVersionError &&value)
DeletePackageVersionsResult & AddSuccessfulVersions(const char *key, SuccessfulPackageVersionInfo &&value)
DeletePackageVersionsResult & AddFailedVersions(const Aws::String &key, const PackageVersionError &value)
DeletePackageVersionsResult & AddFailedVersions(const char *key, PackageVersionError &&value)
DeletePackageVersionsResult & WithRequestId(const char *value)
DeletePackageVersionsResult & AddFailedVersions(Aws::String &&key, const PackageVersionError &value)
DeletePackageVersionsResult & WithRequestId(Aws::String &&value)
void SetFailedVersions(const Aws::Map< Aws::String, PackageVersionError > &value)
DeletePackageVersionsResult & AddSuccessfulVersions(Aws::String &&key, const SuccessfulPackageVersionInfo &value)
const Aws::Map< Aws::String, SuccessfulPackageVersionInfo > & GetSuccessfulVersions() const
const Aws::Map< Aws::String, PackageVersionError > & GetFailedVersions() const
DeletePackageVersionsResult & WithFailedVersions(const Aws::Map< Aws::String, PackageVersionError > &value)
DeletePackageVersionsResult & WithSuccessfulVersions(Aws::Map< Aws::String, SuccessfulPackageVersionInfo > &&value)
void SetSuccessfulVersions(const Aws::Map< Aws::String, SuccessfulPackageVersionInfo > &value)
DeletePackageVersionsResult & AddSuccessfulVersions(Aws::String &&key, SuccessfulPackageVersionInfo &&value)
DeletePackageVersionsResult & AddFailedVersions(const char *key, const PackageVersionError &value)
DeletePackageVersionsResult & WithFailedVersions(Aws::Map< Aws::String, PackageVersionError > &&value)
DeletePackageVersionsResult & AddFailedVersions(Aws::String &&key, PackageVersionError &&value)
DeletePackageVersionsResult & WithRequestId(const Aws::String &value)
void SetFailedVersions(Aws::Map< Aws::String, PackageVersionError > &&value)
DeletePackageVersionsResult & AddSuccessfulVersions(const Aws::String &key, SuccessfulPackageVersionInfo &&value)
AWS_CODEARTIFACT_API DeletePackageVersionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeletePackageVersionsResult & AddSuccessfulVersions(const Aws::String &key, const SuccessfulPackageVersionInfo &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue