AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchDescribeModelPackageResult.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/BatchDescribeModelPackageSummary.h>
11#include <aws/sagemaker/model/BatchDescribeModelPackageError.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 SageMaker
27{
28namespace Model
29{
31 {
32 public:
36
37
39
42 inline const Aws::Map<Aws::String, BatchDescribeModelPackageSummary>& GetModelPackageSummaries() const{ return m_modelPackageSummaries; }
43 inline void SetModelPackageSummaries(const Aws::Map<Aws::String, BatchDescribeModelPackageSummary>& value) { m_modelPackageSummaries = value; }
44 inline void SetModelPackageSummaries(Aws::Map<Aws::String, BatchDescribeModelPackageSummary>&& value) { m_modelPackageSummaries = std::move(value); }
47 inline BatchDescribeModelPackageResult& AddModelPackageSummaries(const Aws::String& key, const BatchDescribeModelPackageSummary& value) { m_modelPackageSummaries.emplace(key, value); return *this; }
48 inline BatchDescribeModelPackageResult& AddModelPackageSummaries(Aws::String&& key, const BatchDescribeModelPackageSummary& value) { m_modelPackageSummaries.emplace(std::move(key), value); return *this; }
49 inline BatchDescribeModelPackageResult& AddModelPackageSummaries(const Aws::String& key, BatchDescribeModelPackageSummary&& value) { m_modelPackageSummaries.emplace(key, std::move(value)); return *this; }
50 inline BatchDescribeModelPackageResult& AddModelPackageSummaries(Aws::String&& key, BatchDescribeModelPackageSummary&& value) { m_modelPackageSummaries.emplace(std::move(key), std::move(value)); return *this; }
51 inline BatchDescribeModelPackageResult& AddModelPackageSummaries(const char* key, BatchDescribeModelPackageSummary&& value) { m_modelPackageSummaries.emplace(key, std::move(value)); return *this; }
52 inline BatchDescribeModelPackageResult& AddModelPackageSummaries(const char* key, const BatchDescribeModelPackageSummary& value) { m_modelPackageSummaries.emplace(key, value); return *this; }
54
56
60 inline const Aws::Map<Aws::String, BatchDescribeModelPackageError>& GetBatchDescribeModelPackageErrorMap() const{ return m_batchDescribeModelPackageErrorMap; }
61 inline void SetBatchDescribeModelPackageErrorMap(const Aws::Map<Aws::String, BatchDescribeModelPackageError>& value) { m_batchDescribeModelPackageErrorMap = value; }
62 inline void SetBatchDescribeModelPackageErrorMap(Aws::Map<Aws::String, BatchDescribeModelPackageError>&& value) { m_batchDescribeModelPackageErrorMap = std::move(value); }
65 inline BatchDescribeModelPackageResult& AddBatchDescribeModelPackageErrorMap(const Aws::String& key, const BatchDescribeModelPackageError& value) { m_batchDescribeModelPackageErrorMap.emplace(key, value); return *this; }
66 inline BatchDescribeModelPackageResult& AddBatchDescribeModelPackageErrorMap(Aws::String&& key, const BatchDescribeModelPackageError& value) { m_batchDescribeModelPackageErrorMap.emplace(std::move(key), value); return *this; }
67 inline BatchDescribeModelPackageResult& AddBatchDescribeModelPackageErrorMap(const Aws::String& key, BatchDescribeModelPackageError&& value) { m_batchDescribeModelPackageErrorMap.emplace(key, std::move(value)); return *this; }
68 inline BatchDescribeModelPackageResult& AddBatchDescribeModelPackageErrorMap(Aws::String&& key, BatchDescribeModelPackageError&& value) { m_batchDescribeModelPackageErrorMap.emplace(std::move(key), std::move(value)); return *this; }
69 inline BatchDescribeModelPackageResult& AddBatchDescribeModelPackageErrorMap(const char* key, BatchDescribeModelPackageError&& value) { m_batchDescribeModelPackageErrorMap.emplace(key, std::move(value)); return *this; }
70 inline BatchDescribeModelPackageResult& AddBatchDescribeModelPackageErrorMap(const char* key, const BatchDescribeModelPackageError& value) { m_batchDescribeModelPackageErrorMap.emplace(key, value); return *this; }
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline BatchDescribeModelPackageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline BatchDescribeModelPackageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline BatchDescribeModelPackageResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
86
87 Aws::Map<Aws::String, BatchDescribeModelPackageError> m_batchDescribeModelPackageErrorMap;
88
89 Aws::String m_requestId;
90 };
91
92} // namespace Model
93} // namespace SageMaker
94} // namespace Aws
BatchDescribeModelPackageResult & WithRequestId(Aws::String &&value)
AWS_SAGEMAKER_API BatchDescribeModelPackageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchDescribeModelPackageResult & AddBatchDescribeModelPackageErrorMap(Aws::String &&key, const BatchDescribeModelPackageError &value)
void SetModelPackageSummaries(const Aws::Map< Aws::String, BatchDescribeModelPackageSummary > &value)
AWS_SAGEMAKER_API BatchDescribeModelPackageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchDescribeModelPackageResult & AddModelPackageSummaries(Aws::String &&key, const BatchDescribeModelPackageSummary &value)
BatchDescribeModelPackageResult & WithBatchDescribeModelPackageErrorMap(Aws::Map< Aws::String, BatchDescribeModelPackageError > &&value)
const Aws::Map< Aws::String, BatchDescribeModelPackageSummary > & GetModelPackageSummaries() const
void SetBatchDescribeModelPackageErrorMap(const Aws::Map< Aws::String, BatchDescribeModelPackageError > &value)
BatchDescribeModelPackageResult & AddBatchDescribeModelPackageErrorMap(Aws::String &&key, BatchDescribeModelPackageError &&value)
const Aws::Map< Aws::String, BatchDescribeModelPackageError > & GetBatchDescribeModelPackageErrorMap() const
void SetModelPackageSummaries(Aws::Map< Aws::String, BatchDescribeModelPackageSummary > &&value)
BatchDescribeModelPackageResult & AddModelPackageSummaries(const Aws::String &key, const BatchDescribeModelPackageSummary &value)
BatchDescribeModelPackageResult & AddBatchDescribeModelPackageErrorMap(const char *key, const BatchDescribeModelPackageError &value)
BatchDescribeModelPackageResult & AddModelPackageSummaries(const char *key, BatchDescribeModelPackageSummary &&value)
BatchDescribeModelPackageResult & WithRequestId(const char *value)
BatchDescribeModelPackageResult & AddBatchDescribeModelPackageErrorMap(const Aws::String &key, const BatchDescribeModelPackageError &value)
BatchDescribeModelPackageResult & AddBatchDescribeModelPackageErrorMap(const char *key, BatchDescribeModelPackageError &&value)
BatchDescribeModelPackageResult & WithModelPackageSummaries(Aws::Map< Aws::String, BatchDescribeModelPackageSummary > &&value)
BatchDescribeModelPackageResult & AddModelPackageSummaries(const char *key, const BatchDescribeModelPackageSummary &value)
BatchDescribeModelPackageResult & AddModelPackageSummaries(Aws::String &&key, BatchDescribeModelPackageSummary &&value)
BatchDescribeModelPackageResult & WithModelPackageSummaries(const Aws::Map< Aws::String, BatchDescribeModelPackageSummary > &value)
BatchDescribeModelPackageResult & WithRequestId(const Aws::String &value)
BatchDescribeModelPackageResult & AddBatchDescribeModelPackageErrorMap(const Aws::String &key, BatchDescribeModelPackageError &&value)
BatchDescribeModelPackageResult & AddModelPackageSummaries(const Aws::String &key, BatchDescribeModelPackageSummary &&value)
BatchDescribeModelPackageResult & WithBatchDescribeModelPackageErrorMap(const Aws::Map< Aws::String, BatchDescribeModelPackageError > &value)
void SetBatchDescribeModelPackageErrorMap(Aws::Map< Aws::String, BatchDescribeModelPackageError > &&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