AWS SDK for C++  1.9.153
AWS SDK for C++
DisposePackageVersionsResult.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 
41  inline const Aws::Map<Aws::String, SuccessfulPackageVersionInfo>& GetSuccessfulVersions() const{ return m_successfulVersions; }
42 
46  inline void SetSuccessfulVersions(const Aws::Map<Aws::String, SuccessfulPackageVersionInfo>& value) { m_successfulVersions = value; }
47 
51  inline void SetSuccessfulVersions(Aws::Map<Aws::String, SuccessfulPackageVersionInfo>&& value) { m_successfulVersions = std::move(value); }
52 
56  inline DisposePackageVersionsResult& WithSuccessfulVersions(const Aws::Map<Aws::String, SuccessfulPackageVersionInfo>& value) { SetSuccessfulVersions(value); return *this;}
57 
61  inline DisposePackageVersionsResult& WithSuccessfulVersions(Aws::Map<Aws::String, SuccessfulPackageVersionInfo>&& value) { SetSuccessfulVersions(std::move(value)); return *this;}
62 
66  inline DisposePackageVersionsResult& AddSuccessfulVersions(const Aws::String& key, const SuccessfulPackageVersionInfo& value) { m_successfulVersions.emplace(key, value); return *this; }
67 
71  inline DisposePackageVersionsResult& AddSuccessfulVersions(Aws::String&& key, const SuccessfulPackageVersionInfo& value) { m_successfulVersions.emplace(std::move(key), value); return *this; }
72 
76  inline DisposePackageVersionsResult& AddSuccessfulVersions(const Aws::String& key, SuccessfulPackageVersionInfo&& value) { m_successfulVersions.emplace(key, std::move(value)); return *this; }
77 
81  inline DisposePackageVersionsResult& AddSuccessfulVersions(Aws::String&& key, SuccessfulPackageVersionInfo&& value) { m_successfulVersions.emplace(std::move(key), std::move(value)); return *this; }
82 
86  inline DisposePackageVersionsResult& AddSuccessfulVersions(const char* key, SuccessfulPackageVersionInfo&& value) { m_successfulVersions.emplace(key, std::move(value)); return *this; }
87 
91  inline DisposePackageVersionsResult& AddSuccessfulVersions(const char* key, const SuccessfulPackageVersionInfo& value) { m_successfulVersions.emplace(key, value); return *this; }
92 
93 
103  inline const Aws::Map<Aws::String, PackageVersionError>& GetFailedVersions() const{ return m_failedVersions; }
104 
114  inline void SetFailedVersions(const Aws::Map<Aws::String, PackageVersionError>& value) { m_failedVersions = value; }
115 
125  inline void SetFailedVersions(Aws::Map<Aws::String, PackageVersionError>&& value) { m_failedVersions = std::move(value); }
126 
136  inline DisposePackageVersionsResult& WithFailedVersions(const Aws::Map<Aws::String, PackageVersionError>& value) { SetFailedVersions(value); return *this;}
137 
147  inline DisposePackageVersionsResult& WithFailedVersions(Aws::Map<Aws::String, PackageVersionError>&& value) { SetFailedVersions(std::move(value)); return *this;}
148 
158  inline DisposePackageVersionsResult& AddFailedVersions(const Aws::String& key, const PackageVersionError& value) { m_failedVersions.emplace(key, value); return *this; }
159 
169  inline DisposePackageVersionsResult& AddFailedVersions(Aws::String&& key, const PackageVersionError& value) { m_failedVersions.emplace(std::move(key), value); return *this; }
170 
180  inline DisposePackageVersionsResult& AddFailedVersions(const Aws::String& key, PackageVersionError&& value) { m_failedVersions.emplace(key, std::move(value)); return *this; }
181 
191  inline DisposePackageVersionsResult& AddFailedVersions(Aws::String&& key, PackageVersionError&& value) { m_failedVersions.emplace(std::move(key), std::move(value)); return *this; }
192 
202  inline DisposePackageVersionsResult& AddFailedVersions(const char* key, PackageVersionError&& value) { m_failedVersions.emplace(key, std::move(value)); return *this; }
203 
213  inline DisposePackageVersionsResult& AddFailedVersions(const char* key, const PackageVersionError& value) { m_failedVersions.emplace(key, value); return *this; }
214 
215  private:
216 
218 
220  };
221 
222 } // namespace Model
223 } // namespace CodeArtifact
224 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::CodeArtifact::Model::DisposePackageVersionsResult::operator=
DisposePackageVersionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeArtifact::Model::DisposePackageVersionsResult::DisposePackageVersionsResult
DisposePackageVersionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CodeArtifact_EXPORTS.h
Aws::CodeArtifact::Model::DisposePackageVersionsResult::WithSuccessfulVersions
DisposePackageVersionsResult & WithSuccessfulVersions(Aws::Map< Aws::String, SuccessfulPackageVersionInfo > &&value)
Definition: DisposePackageVersionsResult.h:61
Aws::CodeArtifact::Model::SuccessfulPackageVersionInfo
Definition: SuccessfulPackageVersionInfo.h:34
Aws::CodeArtifact::Model::DisposePackageVersionsResult::SetFailedVersions
void SetFailedVersions(const Aws::Map< Aws::String, PackageVersionError > &value)
Definition: DisposePackageVersionsResult.h:114
Aws::CodeArtifact::Model::DisposePackageVersionsResult::AddFailedVersions
DisposePackageVersionsResult & AddFailedVersions(Aws::String &&key, PackageVersionError &&value)
Definition: DisposePackageVersionsResult.h:191
SuccessfulPackageVersionInfo.h
Aws::CodeArtifact::Model::DisposePackageVersionsResult::WithSuccessfulVersions
DisposePackageVersionsResult & WithSuccessfulVersions(const Aws::Map< Aws::String, SuccessfulPackageVersionInfo > &value)
Definition: DisposePackageVersionsResult.h:56
Aws::CodeArtifact::Model::DisposePackageVersionsResult::AddSuccessfulVersions
DisposePackageVersionsResult & AddSuccessfulVersions(Aws::String &&key, SuccessfulPackageVersionInfo &&value)
Definition: DisposePackageVersionsResult.h:81
Aws::CodeArtifact::Model::DisposePackageVersionsResult::DisposePackageVersionsResult
DisposePackageVersionsResult()
Aws::CodeArtifact::Model::DisposePackageVersionsResult::GetFailedVersions
const Aws::Map< Aws::String, PackageVersionError > & GetFailedVersions() const
Definition: DisposePackageVersionsResult.h:103
Aws::CodeArtifact::Model::DisposePackageVersionsResult::GetSuccessfulVersions
const Aws::Map< Aws::String, SuccessfulPackageVersionInfo > & GetSuccessfulVersions() const
Definition: DisposePackageVersionsResult.h:41
Aws::CodeArtifact::Model::DisposePackageVersionsResult::AddSuccessfulVersions
DisposePackageVersionsResult & AddSuccessfulVersions(Aws::String &&key, const SuccessfulPackageVersionInfo &value)
Definition: DisposePackageVersionsResult.h:71
Aws::CodeArtifact::Model::DisposePackageVersionsResult::AddFailedVersions
DisposePackageVersionsResult & AddFailedVersions(const char *key, const PackageVersionError &value)
Definition: DisposePackageVersionsResult.h:213
Aws::CodeArtifact::Model::PackageVersionError
Definition: PackageVersionError.h:33
Aws::CodeArtifact::Model::DisposePackageVersionsResult
Definition: DisposePackageVersionsResult.h:31
Aws::CodeArtifact::Model::DisposePackageVersionsResult::AddSuccessfulVersions
DisposePackageVersionsResult & AddSuccessfulVersions(const char *key, const SuccessfulPackageVersionInfo &value)
Definition: DisposePackageVersionsResult.h:91
Aws::CodeArtifact::Model::DisposePackageVersionsResult::SetSuccessfulVersions
void SetSuccessfulVersions(const Aws::Map< Aws::String, SuccessfulPackageVersionInfo > &value)
Definition: DisposePackageVersionsResult.h:46
Aws::CodeArtifact::Model::DisposePackageVersionsResult::AddSuccessfulVersions
DisposePackageVersionsResult & AddSuccessfulVersions(const Aws::String &key, const SuccessfulPackageVersionInfo &value)
Definition: DisposePackageVersionsResult.h:66
AWSString.h
Aws::CodeArtifact::Model::DisposePackageVersionsResult::AddFailedVersions
DisposePackageVersionsResult & AddFailedVersions(const char *key, PackageVersionError &&value)
Definition: DisposePackageVersionsResult.h:202
PackageVersionError.h
Aws::CodeArtifact::Model::DisposePackageVersionsResult::AddFailedVersions
DisposePackageVersionsResult & AddFailedVersions(const Aws::String &key, const PackageVersionError &value)
Definition: DisposePackageVersionsResult.h:158
Aws::CodeArtifact::Model::DisposePackageVersionsResult::AddSuccessfulVersions
DisposePackageVersionsResult & AddSuccessfulVersions(const char *key, SuccessfulPackageVersionInfo &&value)
Definition: DisposePackageVersionsResult.h:86
AWS_CODEARTIFACT_API
#define AWS_CODEARTIFACT_API
Definition: CodeArtifact_EXPORTS.h:28
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::CodeArtifact::Model::DisposePackageVersionsResult::WithFailedVersions
DisposePackageVersionsResult & WithFailedVersions(const Aws::Map< Aws::String, PackageVersionError > &value)
Definition: DisposePackageVersionsResult.h:136
Aws
Definition: AccessManagementClient.h:15
Aws::CodeArtifact::Model::DisposePackageVersionsResult::WithFailedVersions
DisposePackageVersionsResult & WithFailedVersions(Aws::Map< Aws::String, PackageVersionError > &&value)
Definition: DisposePackageVersionsResult.h:147
Aws::CodeArtifact::Model::DisposePackageVersionsResult::SetFailedVersions
void SetFailedVersions(Aws::Map< Aws::String, PackageVersionError > &&value)
Definition: DisposePackageVersionsResult.h:125
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeArtifact::Model::DisposePackageVersionsResult::AddFailedVersions
DisposePackageVersionsResult & AddFailedVersions(Aws::String &&key, const PackageVersionError &value)
Definition: DisposePackageVersionsResult.h:169
Aws::CodeArtifact::Model::DisposePackageVersionsResult::SetSuccessfulVersions
void SetSuccessfulVersions(Aws::Map< Aws::String, SuccessfulPackageVersionInfo > &&value)
Definition: DisposePackageVersionsResult.h:51
Aws::CodeArtifact::Model::DisposePackageVersionsResult::AddFailedVersions
DisposePackageVersionsResult & AddFailedVersions(const Aws::String &key, PackageVersionError &&value)
Definition: DisposePackageVersionsResult.h:180
AWSMap.h
Aws::CodeArtifact::Model::DisposePackageVersionsResult::AddSuccessfulVersions
DisposePackageVersionsResult & AddSuccessfulVersions(const Aws::String &key, SuccessfulPackageVersionInfo &&value)
Definition: DisposePackageVersionsResult.h:76
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19