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>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
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>>
48 template<
typename SucceededT = Aws::String>
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>>
62 template<
typename ErrorsKeyT = Aws::String,
typename ErrorsValueT = ErrorDetail>
64 m_errorsHasBeenSet =
true; m_errors.emplace(std::forward<ErrorsKeyT>(key), std::forward<ErrorsValueT>(value));
return *
this;
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>
79 bool m_succeededHasBeenSet =
false;
82 bool m_errorsHasBeenSet =
false;
85 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
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)
void SetErrors(ErrorsT &&value)
void SetSucceeded(SucceededT &&value)
BatchDeleteConnectionResult & AddErrors(ErrorsKeyT &&key, ErrorsValueT &&value)
BatchDeleteConnectionResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< Aws::String > & GetSucceeded() const
AWS_GLUE_API BatchDeleteConnectionResult()=default
const Aws::String & GetRequestId() const
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