AWS SDK for C++  1.9.153
AWS SDK for C++
UpdatePackageVersionsStatusResult.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 
42  inline const Aws::Map<Aws::String, SuccessfulPackageVersionInfo>& GetSuccessfulVersions() const{ return m_successfulVersions; }
43 
48  inline void SetSuccessfulVersions(const Aws::Map<Aws::String, SuccessfulPackageVersionInfo>& value) { m_successfulVersions = value; }
49 
54  inline void SetSuccessfulVersions(Aws::Map<Aws::String, SuccessfulPackageVersionInfo>&& value) { m_successfulVersions = std::move(value); }
55 
60  inline UpdatePackageVersionsStatusResult& WithSuccessfulVersions(const Aws::Map<Aws::String, SuccessfulPackageVersionInfo>& value) { SetSuccessfulVersions(value); return *this;}
61 
66  inline UpdatePackageVersionsStatusResult& WithSuccessfulVersions(Aws::Map<Aws::String, SuccessfulPackageVersionInfo>&& value) { SetSuccessfulVersions(std::move(value)); return *this;}
67 
72  inline UpdatePackageVersionsStatusResult& AddSuccessfulVersions(const Aws::String& key, const SuccessfulPackageVersionInfo& value) { m_successfulVersions.emplace(key, value); return *this; }
73 
78  inline UpdatePackageVersionsStatusResult& AddSuccessfulVersions(Aws::String&& key, const SuccessfulPackageVersionInfo& value) { m_successfulVersions.emplace(std::move(key), value); return *this; }
79 
84  inline UpdatePackageVersionsStatusResult& AddSuccessfulVersions(const Aws::String& key, SuccessfulPackageVersionInfo&& value) { m_successfulVersions.emplace(key, std::move(value)); return *this; }
85 
90  inline UpdatePackageVersionsStatusResult& AddSuccessfulVersions(Aws::String&& key, SuccessfulPackageVersionInfo&& value) { m_successfulVersions.emplace(std::move(key), std::move(value)); return *this; }
91 
96  inline UpdatePackageVersionsStatusResult& AddSuccessfulVersions(const char* key, SuccessfulPackageVersionInfo&& value) { m_successfulVersions.emplace(key, std::move(value)); return *this; }
97 
102  inline UpdatePackageVersionsStatusResult& AddSuccessfulVersions(const char* key, const SuccessfulPackageVersionInfo& value) { m_successfulVersions.emplace(key, value); return *this; }
103 
104 
109  inline const Aws::Map<Aws::String, PackageVersionError>& GetFailedVersions() const{ return m_failedVersions; }
110 
115  inline void SetFailedVersions(const Aws::Map<Aws::String, PackageVersionError>& value) { m_failedVersions = value; }
116 
121  inline void SetFailedVersions(Aws::Map<Aws::String, PackageVersionError>&& value) { m_failedVersions = std::move(value); }
122 
127  inline UpdatePackageVersionsStatusResult& WithFailedVersions(const Aws::Map<Aws::String, PackageVersionError>& value) { SetFailedVersions(value); return *this;}
128 
133  inline UpdatePackageVersionsStatusResult& WithFailedVersions(Aws::Map<Aws::String, PackageVersionError>&& value) { SetFailedVersions(std::move(value)); return *this;}
134 
139  inline UpdatePackageVersionsStatusResult& AddFailedVersions(const Aws::String& key, const PackageVersionError& value) { m_failedVersions.emplace(key, value); return *this; }
140 
145  inline UpdatePackageVersionsStatusResult& AddFailedVersions(Aws::String&& key, const PackageVersionError& value) { m_failedVersions.emplace(std::move(key), value); return *this; }
146 
151  inline UpdatePackageVersionsStatusResult& AddFailedVersions(const Aws::String& key, PackageVersionError&& value) { m_failedVersions.emplace(key, std::move(value)); return *this; }
152 
157  inline UpdatePackageVersionsStatusResult& AddFailedVersions(Aws::String&& key, PackageVersionError&& value) { m_failedVersions.emplace(std::move(key), std::move(value)); return *this; }
158 
163  inline UpdatePackageVersionsStatusResult& AddFailedVersions(const char* key, PackageVersionError&& value) { m_failedVersions.emplace(key, std::move(value)); return *this; }
164 
169  inline UpdatePackageVersionsStatusResult& AddFailedVersions(const char* key, const PackageVersionError& value) { m_failedVersions.emplace(key, value); return *this; }
170 
171  private:
172 
174 
176  };
177 
178 } // namespace Model
179 } // namespace CodeArtifact
180 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
CodeArtifact_EXPORTS.h
Aws::CodeArtifact::Model::SuccessfulPackageVersionInfo
Definition: SuccessfulPackageVersionInfo.h:34
Aws::CodeArtifact::Model::UpdatePackageVersionsStatusResult::AddFailedVersions
UpdatePackageVersionsStatusResult & AddFailedVersions(const Aws::String &key, const PackageVersionError &value)
Definition: UpdatePackageVersionsStatusResult.h:139
Aws::CodeArtifact::Model::UpdatePackageVersionsStatusResult::AddFailedVersions
UpdatePackageVersionsStatusResult & AddFailedVersions(Aws::String &&key, const PackageVersionError &value)
Definition: UpdatePackageVersionsStatusResult.h:145
Aws::CodeArtifact::Model::UpdatePackageVersionsStatusResult::GetFailedVersions
const Aws::Map< Aws::String, PackageVersionError > & GetFailedVersions() const
Definition: UpdatePackageVersionsStatusResult.h:109
Aws::CodeArtifact::Model::UpdatePackageVersionsStatusResult::AddSuccessfulVersions
UpdatePackageVersionsStatusResult & AddSuccessfulVersions(const Aws::String &key, const SuccessfulPackageVersionInfo &value)
Definition: UpdatePackageVersionsStatusResult.h:72
Aws::CodeArtifact::Model::UpdatePackageVersionsStatusResult::WithFailedVersions
UpdatePackageVersionsStatusResult & WithFailedVersions(const Aws::Map< Aws::String, PackageVersionError > &value)
Definition: UpdatePackageVersionsStatusResult.h:127
SuccessfulPackageVersionInfo.h
Aws::CodeArtifact::Model::UpdatePackageVersionsStatusResult::UpdatePackageVersionsStatusResult
UpdatePackageVersionsStatusResult()
Aws::CodeArtifact::Model::UpdatePackageVersionsStatusResult::UpdatePackageVersionsStatusResult
UpdatePackageVersionsStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeArtifact::Model::UpdatePackageVersionsStatusResult::AddSuccessfulVersions
UpdatePackageVersionsStatusResult & AddSuccessfulVersions(const Aws::String &key, SuccessfulPackageVersionInfo &&value)
Definition: UpdatePackageVersionsStatusResult.h:84
Aws::CodeArtifact::Model::UpdatePackageVersionsStatusResult::AddSuccessfulVersions
UpdatePackageVersionsStatusResult & AddSuccessfulVersions(const char *key, SuccessfulPackageVersionInfo &&value)
Definition: UpdatePackageVersionsStatusResult.h:96
Aws::CodeArtifact::Model::UpdatePackageVersionsStatusResult::AddFailedVersions
UpdatePackageVersionsStatusResult & AddFailedVersions(const char *key, const PackageVersionError &value)
Definition: UpdatePackageVersionsStatusResult.h:169
Aws::CodeArtifact::Model::UpdatePackageVersionsStatusResult
Definition: UpdatePackageVersionsStatusResult.h:31
Aws::CodeArtifact::Model::UpdatePackageVersionsStatusResult::AddSuccessfulVersions
UpdatePackageVersionsStatusResult & AddSuccessfulVersions(Aws::String &&key, SuccessfulPackageVersionInfo &&value)
Definition: UpdatePackageVersionsStatusResult.h:90
Aws::CodeArtifact::Model::UpdatePackageVersionsStatusResult::SetFailedVersions
void SetFailedVersions(const Aws::Map< Aws::String, PackageVersionError > &value)
Definition: UpdatePackageVersionsStatusResult.h:115
Aws::CodeArtifact::Model::UpdatePackageVersionsStatusResult::GetSuccessfulVersions
const Aws::Map< Aws::String, SuccessfulPackageVersionInfo > & GetSuccessfulVersions() const
Definition: UpdatePackageVersionsStatusResult.h:42
Aws::CodeArtifact::Model::PackageVersionError
Definition: PackageVersionError.h:33
Aws::CodeArtifact::Model::UpdatePackageVersionsStatusResult::AddSuccessfulVersions
UpdatePackageVersionsStatusResult & AddSuccessfulVersions(Aws::String &&key, const SuccessfulPackageVersionInfo &value)
Definition: UpdatePackageVersionsStatusResult.h:78
AWSString.h
Aws::CodeArtifact::Model::UpdatePackageVersionsStatusResult::WithFailedVersions
UpdatePackageVersionsStatusResult & WithFailedVersions(Aws::Map< Aws::String, PackageVersionError > &&value)
Definition: UpdatePackageVersionsStatusResult.h:133
Aws::CodeArtifact::Model::UpdatePackageVersionsStatusResult::SetSuccessfulVersions
void SetSuccessfulVersions(const Aws::Map< Aws::String, SuccessfulPackageVersionInfo > &value)
Definition: UpdatePackageVersionsStatusResult.h:48
PackageVersionError.h
Aws::CodeArtifact::Model::UpdatePackageVersionsStatusResult::WithSuccessfulVersions
UpdatePackageVersionsStatusResult & WithSuccessfulVersions(const Aws::Map< Aws::String, SuccessfulPackageVersionInfo > &value)
Definition: UpdatePackageVersionsStatusResult.h:60
Aws::CodeArtifact::Model::UpdatePackageVersionsStatusResult::operator=
UpdatePackageVersionsStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeArtifact::Model::UpdatePackageVersionsStatusResult::SetSuccessfulVersions
void SetSuccessfulVersions(Aws::Map< Aws::String, SuccessfulPackageVersionInfo > &&value)
Definition: UpdatePackageVersionsStatusResult.h:54
Aws::CodeArtifact::Model::UpdatePackageVersionsStatusResult::WithSuccessfulVersions
UpdatePackageVersionsStatusResult & WithSuccessfulVersions(Aws::Map< Aws::String, SuccessfulPackageVersionInfo > &&value)
Definition: UpdatePackageVersionsStatusResult.h:66
AWS_CODEARTIFACT_API
#define AWS_CODEARTIFACT_API
Definition: CodeArtifact_EXPORTS.h:28
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::CodeArtifact::Model::UpdatePackageVersionsStatusResult::AddSuccessfulVersions
UpdatePackageVersionsStatusResult & AddSuccessfulVersions(const char *key, const SuccessfulPackageVersionInfo &value)
Definition: UpdatePackageVersionsStatusResult.h:102
Aws
Definition: AccessManagementClient.h:15
Aws::CodeArtifact::Model::UpdatePackageVersionsStatusResult::AddFailedVersions
UpdatePackageVersionsStatusResult & AddFailedVersions(const char *key, PackageVersionError &&value)
Definition: UpdatePackageVersionsStatusResult.h:163
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeArtifact::Model::UpdatePackageVersionsStatusResult::SetFailedVersions
void SetFailedVersions(Aws::Map< Aws::String, PackageVersionError > &&value)
Definition: UpdatePackageVersionsStatusResult.h:121
Aws::CodeArtifact::Model::UpdatePackageVersionsStatusResult::AddFailedVersions
UpdatePackageVersionsStatusResult & AddFailedVersions(const Aws::String &key, PackageVersionError &&value)
Definition: UpdatePackageVersionsStatusResult.h:151
AWSMap.h
Aws::CodeArtifact::Model::UpdatePackageVersionsStatusResult::AddFailedVersions
UpdatePackageVersionsStatusResult & AddFailedVersions(Aws::String &&key, PackageVersionError &&value)
Definition: UpdatePackageVersionsStatusResult.h:157
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19