AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
33 AWS_GLUE_API BatchDeleteConnectionResult() = default;
36
37
39
43 inline const Aws::Vector<Aws::String>& GetSucceeded() const { return m_succeeded; }
44 template<typename SucceededT = Aws::Vector<Aws::String>>
45 void SetSucceeded(SucceededT&& value) { m_succeededHasBeenSet = true; m_succeeded = std::forward<SucceededT>(value); }
46 template<typename SucceededT = Aws::Vector<Aws::String>>
47 BatchDeleteConnectionResult& WithSucceeded(SucceededT&& value) { SetSucceeded(std::forward<SucceededT>(value)); return *this;}
48 template<typename SucceededT = Aws::String>
49 BatchDeleteConnectionResult& AddSucceeded(SucceededT&& value) { m_succeededHasBeenSet = true; m_succeeded.emplace_back(std::forward<SucceededT>(value)); return *this; }
51
53
57 inline const Aws::Map<Aws::String, ErrorDetail>& GetErrors() const { return m_errors; }
58 template<typename ErrorsT = Aws::Map<Aws::String, ErrorDetail>>
59 void SetErrors(ErrorsT&& value) { m_errorsHasBeenSet = true; m_errors = std::forward<ErrorsT>(value); }
60 template<typename ErrorsT = Aws::Map<Aws::String, ErrorDetail>>
61 BatchDeleteConnectionResult& WithErrors(ErrorsT&& value) { SetErrors(std::forward<ErrorsT>(value)); return *this;}
62 template<typename ErrorsKeyT = Aws::String, typename ErrorsValueT = ErrorDetail>
63 BatchDeleteConnectionResult& AddErrors(ErrorsKeyT&& key, ErrorsValueT&& value) {
64 m_errorsHasBeenSet = true; m_errors.emplace(std::forward<ErrorsKeyT>(key), std::forward<ErrorsValueT>(value)); return *this;
65 }
67
69
70 inline const Aws::String& GetRequestId() const { return m_requestId; }
71 template<typename RequestIdT = Aws::String>
72 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
73 template<typename RequestIdT = Aws::String>
74 BatchDeleteConnectionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
76 private:
77
78 Aws::Vector<Aws::String> m_succeeded;
79 bool m_succeededHasBeenSet = false;
80
82 bool m_errorsHasBeenSet = false;
83
84 Aws::String m_requestId;
85 bool m_requestIdHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Glue
90} // 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