AWS SDK for C++

AWS SDK for C++ Version 1.11.778

Loading...
Searching...
No Matches
BatchDeleteAgentsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
11#include <aws/discovery/model/BatchDeleteAgentError.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 ApplicationDiscoveryService {
25namespace Model {
27 public:
28 AWS_APPLICATIONDISCOVERYSERVICE_API BatchDeleteAgentsResult() = default;
30 AWS_APPLICATIONDISCOVERYSERVICE_API BatchDeleteAgentsResult& operator=(
32
34
38 inline const Aws::Vector<BatchDeleteAgentError>& GetErrors() const { return m_errors; }
39 template <typename ErrorsT = Aws::Vector<BatchDeleteAgentError>>
40 void SetErrors(ErrorsT&& value) {
41 m_errorsHasBeenSet = true;
42 m_errors = std::forward<ErrorsT>(value);
43 }
44 template <typename ErrorsT = Aws::Vector<BatchDeleteAgentError>>
46 SetErrors(std::forward<ErrorsT>(value));
47 return *this;
48 }
49 template <typename ErrorsT = BatchDeleteAgentError>
51 m_errorsHasBeenSet = true;
52 m_errors.emplace_back(std::forward<ErrorsT>(value));
53 return *this;
54 }
56
58
59 inline const Aws::String& GetRequestId() const { return m_requestId; }
60 template <typename RequestIdT = Aws::String>
61 void SetRequestId(RequestIdT&& value) {
62 m_requestIdHasBeenSet = true;
63 m_requestId = std::forward<RequestIdT>(value);
64 }
65 template <typename RequestIdT = Aws::String>
67 SetRequestId(std::forward<RequestIdT>(value));
68 return *this;
69 }
71 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
72
73 private:
75
76 Aws::String m_requestId;
77 Aws::Http::HttpResponseCode m_HttpResponseCode;
78 bool m_errorsHasBeenSet = false;
79 bool m_requestIdHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace ApplicationDiscoveryService
84} // namespace Aws
AWS_APPLICATIONDISCOVERYSERVICE_API BatchDeleteAgentsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APPLICATIONDISCOVERYSERVICE_API BatchDeleteAgentsResult()=default
const Aws::Vector< BatchDeleteAgentError > & GetErrors() const
AWS_APPLICATIONDISCOVERYSERVICE_API BatchDeleteAgentsResult(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