AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchDeleteConnectionResult.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/glue/model/ErrorDetail.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 Glue
27{
28namespace Model
29{
31 {
32 public:
36
37
39
43 inline const Aws::Vector<Aws::String>& GetSucceeded() const{ return m_succeeded; }
44 inline void SetSucceeded(const Aws::Vector<Aws::String>& value) { m_succeeded = value; }
45 inline void SetSucceeded(Aws::Vector<Aws::String>&& value) { m_succeeded = std::move(value); }
47 inline BatchDeleteConnectionResult& WithSucceeded(Aws::Vector<Aws::String>&& value) { SetSucceeded(std::move(value)); return *this;}
48 inline BatchDeleteConnectionResult& AddSucceeded(const Aws::String& value) { m_succeeded.push_back(value); return *this; }
49 inline BatchDeleteConnectionResult& AddSucceeded(Aws::String&& value) { m_succeeded.push_back(std::move(value)); return *this; }
50 inline BatchDeleteConnectionResult& AddSucceeded(const char* value) { m_succeeded.push_back(value); return *this; }
52
54
58 inline const Aws::Map<Aws::String, ErrorDetail>& GetErrors() const{ return m_errors; }
59 inline void SetErrors(const Aws::Map<Aws::String, ErrorDetail>& value) { m_errors = value; }
60 inline void SetErrors(Aws::Map<Aws::String, ErrorDetail>&& value) { m_errors = std::move(value); }
62 inline BatchDeleteConnectionResult& WithErrors(Aws::Map<Aws::String, ErrorDetail>&& value) { SetErrors(std::move(value)); return *this;}
63 inline BatchDeleteConnectionResult& AddErrors(const Aws::String& key, const ErrorDetail& value) { m_errors.emplace(key, value); return *this; }
64 inline BatchDeleteConnectionResult& AddErrors(Aws::String&& key, const ErrorDetail& value) { m_errors.emplace(std::move(key), value); return *this; }
65 inline BatchDeleteConnectionResult& AddErrors(const Aws::String& key, ErrorDetail&& value) { m_errors.emplace(key, std::move(value)); return *this; }
66 inline BatchDeleteConnectionResult& AddErrors(Aws::String&& key, ErrorDetail&& value) { m_errors.emplace(std::move(key), std::move(value)); return *this; }
67 inline BatchDeleteConnectionResult& AddErrors(const char* key, ErrorDetail&& value) { m_errors.emplace(key, std::move(value)); return *this; }
68 inline BatchDeleteConnectionResult& AddErrors(const char* key, const ErrorDetail& value) { m_errors.emplace(key, value); return *this; }
70
72
73 inline const Aws::String& GetRequestId() const{ return m_requestId; }
74 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
75 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
76 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
77 inline BatchDeleteConnectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
78 inline BatchDeleteConnectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
79 inline BatchDeleteConnectionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
81 private:
82
83 Aws::Vector<Aws::String> m_succeeded;
84
86
87 Aws::String m_requestId;
88 };
89
90} // namespace Model
91} // namespace Glue
92} // namespace Aws
BatchDeleteConnectionResult & WithSucceeded(const Aws::Vector< Aws::String > &value)
BatchDeleteConnectionResult & AddErrors(Aws::String &&key, ErrorDetail &&value)
BatchDeleteConnectionResult & AddSucceeded(const Aws::String &value)
void SetSucceeded(const Aws::Vector< Aws::String > &value)
BatchDeleteConnectionResult & AddSucceeded(Aws::String &&value)
void SetErrors(Aws::Map< Aws::String, ErrorDetail > &&value)
BatchDeleteConnectionResult & WithRequestId(const Aws::String &value)
BatchDeleteConnectionResult & AddErrors(const Aws::String &key, ErrorDetail &&value)
AWS_GLUE_API BatchDeleteConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchDeleteConnectionResult & AddErrors(Aws::String &&key, const ErrorDetail &value)
BatchDeleteConnectionResult & AddErrors(const char *key, const ErrorDetail &value)
BatchDeleteConnectionResult & WithRequestId(const char *value)
BatchDeleteConnectionResult & WithErrors(const Aws::Map< Aws::String, ErrorDetail > &value)
BatchDeleteConnectionResult & AddSucceeded(const char *value)
AWS_GLUE_API BatchDeleteConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetSucceeded(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetSucceeded() const
BatchDeleteConnectionResult & WithSucceeded(Aws::Vector< Aws::String > &&value)
BatchDeleteConnectionResult & WithRequestId(Aws::String &&value)
BatchDeleteConnectionResult & WithErrors(Aws::Map< Aws::String, ErrorDetail > &&value)
const Aws::Map< Aws::String, ErrorDetail > & GetErrors() const
BatchDeleteConnectionResult & AddErrors(const char *key, ErrorDetail &&value)
BatchDeleteConnectionResult & AddErrors(const Aws::String &key, const ErrorDetail &value)
void SetErrors(const Aws::Map< Aws::String, ErrorDetail > &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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue