AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
BatchDeleteConnectionResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glue/Glue_EXPORTS.h>
11#include <aws/glue/model/ErrorDetail.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Glue {
25namespace Model {
27 public:
28 AWS_GLUE_API BatchDeleteConnectionResult() = default;
31
33
37 inline const Aws::Vector<Aws::String>& GetSucceeded() const { return m_succeeded; }
38 template <typename SucceededT = Aws::Vector<Aws::String>>
39 void SetSucceeded(SucceededT&& value) {
40 m_succeededHasBeenSet = true;
41 m_succeeded = std::forward<SucceededT>(value);
42 }
43 template <typename SucceededT = Aws::Vector<Aws::String>>
45 SetSucceeded(std::forward<SucceededT>(value));
46 return *this;
47 }
48 template <typename SucceededT = Aws::String>
50 m_succeededHasBeenSet = true;
51 m_succeeded.emplace_back(std::forward<SucceededT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::Map<Aws::String, ErrorDetail>& GetErrors() const { return m_errors; }
62 template <typename ErrorsT = Aws::Map<Aws::String, ErrorDetail>>
63 void SetErrors(ErrorsT&& value) {
64 m_errorsHasBeenSet = true;
65 m_errors = std::forward<ErrorsT>(value);
66 }
67 template <typename ErrorsT = Aws::Map<Aws::String, ErrorDetail>>
69 SetErrors(std::forward<ErrorsT>(value));
70 return *this;
71 }
72 template <typename ErrorsKeyT = Aws::String, typename ErrorsValueT = ErrorDetail>
73 BatchDeleteConnectionResult& AddErrors(ErrorsKeyT&& key, ErrorsValueT&& value) {
74 m_errorsHasBeenSet = true;
75 m_errors.emplace(std::forward<ErrorsKeyT>(key), std::forward<ErrorsValueT>(value));
76 return *this;
77 }
79
81
82 inline const Aws::String& GetRequestId() const { return m_requestId; }
83 template <typename RequestIdT = Aws::String>
84 void SetRequestId(RequestIdT&& value) {
85 m_requestIdHasBeenSet = true;
86 m_requestId = std::forward<RequestIdT>(value);
87 }
88 template <typename RequestIdT = Aws::String>
90 SetRequestId(std::forward<RequestIdT>(value));
91 return *this;
92 }
94 private:
95 Aws::Vector<Aws::String> m_succeeded;
96
98
99 Aws::String m_requestId;
100 bool m_succeededHasBeenSet = false;
101 bool m_errorsHasBeenSet = false;
102 bool m_requestIdHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace Glue
107} // namespace Aws
BatchDeleteConnectionResult & WithSucceeded(SucceededT &&value)
BatchDeleteConnectionResult & AddSucceeded(SucceededT &&value)
AWS_GLUE_API BatchDeleteConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchDeleteConnectionResult & WithErrors(ErrorsT &&value)
AWS_GLUE_API BatchDeleteConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchDeleteConnectionResult & AddErrors(ErrorsKeyT &&key, ErrorsValueT &&value)
BatchDeleteConnectionResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< Aws::String > & GetSucceeded() const
AWS_GLUE_API BatchDeleteConnectionResult()=default
const Aws::Map< Aws::String, ErrorDetail > & GetErrors() const
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