AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BatchDeleteImportDataResult.h
1
6#pragma once
7#include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/discovery/model/BatchDeleteImportDataError.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace ApplicationDiscoveryService
26{
27namespace Model
28{
30 {
31 public:
32 AWS_APPLICATIONDISCOVERYSERVICE_API BatchDeleteImportDataResult() = default;
35
36
38
42 inline const Aws::Vector<BatchDeleteImportDataError>& GetErrors() const { return m_errors; }
43 template<typename ErrorsT = Aws::Vector<BatchDeleteImportDataError>>
44 void SetErrors(ErrorsT&& value) { m_errorsHasBeenSet = true; m_errors = std::forward<ErrorsT>(value); }
45 template<typename ErrorsT = Aws::Vector<BatchDeleteImportDataError>>
46 BatchDeleteImportDataResult& WithErrors(ErrorsT&& value) { SetErrors(std::forward<ErrorsT>(value)); return *this;}
47 template<typename ErrorsT = BatchDeleteImportDataError>
48 BatchDeleteImportDataResult& AddErrors(ErrorsT&& value) { m_errorsHasBeenSet = true; m_errors.emplace_back(std::forward<ErrorsT>(value)); return *this; }
50
52
53 inline const Aws::String& GetRequestId() const { return m_requestId; }
54 template<typename RequestIdT = Aws::String>
55 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
56 template<typename RequestIdT = Aws::String>
57 BatchDeleteImportDataResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
59 private:
60
62 bool m_errorsHasBeenSet = false;
63
64 Aws::String m_requestId;
65 bool m_requestIdHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace ApplicationDiscoveryService
70} // namespace Aws
AWS_APPLICATIONDISCOVERYSERVICE_API BatchDeleteImportDataResult()=default
AWS_APPLICATIONDISCOVERYSERVICE_API BatchDeleteImportDataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< BatchDeleteImportDataError > & GetErrors() const
AWS_APPLICATIONDISCOVERYSERVICE_API BatchDeleteImportDataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue