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/resource-explorer-2/ResourceExplorer2_EXPORTS.h>
11#include <aws/resource-explorer-2/model/BatchGetViewError.h>
12#include <aws/resource-explorer-2/model/View.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace ResourceExplorer2 {
39 template <
typename ViewsT = Aws::Vector<View>>
41 m_viewsHasBeenSet =
true;
42 m_views = std::forward<ViewsT>(value);
44 template <
typename ViewsT = Aws::Vector<View>>
46 SetViews(std::forward<ViewsT>(value));
49 template <
typename ViewsT = View>
51 m_viewsHasBeenSet =
true;
52 m_views.emplace_back(std::forward<ViewsT>(value));
63 template <
typename ErrorsT = Aws::Vector<BatchGetViewError>>
65 m_errorsHasBeenSet =
true;
66 m_errors = std::forward<ErrorsT>(value);
68 template <
typename ErrorsT = Aws::Vector<BatchGetViewError>>
73 template <
typename ErrorsT = BatchGetViewError>
75 m_errorsHasBeenSet =
true;
76 m_errors.emplace_back(std::forward<ErrorsT>(value));
84 template <
typename RequestIdT = Aws::String>
86 m_requestIdHasBeenSet =
true;
87 m_requestId = std::forward<RequestIdT>(value);
89 template <
typename RequestIdT = Aws::String>
104 bool m_viewsHasBeenSet =
false;
105 bool m_errorsHasBeenSet =
false;
106 bool m_requestIdHasBeenSet =
false;
AWS_RESOURCEEXPLORER2_API BatchGetViewResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Vector< View > & GetViews() const
void SetRequestId(RequestIdT &&value)
BatchGetViewResult & WithViews(ViewsT &&value)
void SetViews(ViewsT &&value)
const Aws::String & GetRequestId() const
BatchGetViewResult & WithRequestId(RequestIdT &&value)
AWS_RESOURCEEXPLORER2_API BatchGetViewResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetErrors(ErrorsT &&value)
BatchGetViewResult & AddViews(ViewsT &&value)
AWS_RESOURCEEXPLORER2_API BatchGetViewResult()=default
BatchGetViewResult & AddErrors(ErrorsT &&value)
BatchGetViewResult & WithErrors(ErrorsT &&value)
const Aws::Vector< BatchGetViewError > & GetErrors() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue