AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
BatchDeleteRecipeVersionResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/databrew/GlueDataBrew_EXPORTS.h>
10#include <aws/databrew/model/RecipeVersionErrorDetail.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace GlueDataBrew {
24namespace Model {
26 public:
27 AWS_GLUEDATABREW_API BatchDeleteRecipeVersionResult() = default;
30
32
35 inline const Aws::String& GetName() const { return m_name; }
36 template <typename NameT = Aws::String>
37 void SetName(NameT&& value) {
38 m_nameHasBeenSet = true;
39 m_name = std::forward<NameT>(value);
40 }
41 template <typename NameT = Aws::String>
43 SetName(std::forward<NameT>(value));
44 return *this;
45 }
47
49
53 inline const Aws::Vector<RecipeVersionErrorDetail>& GetErrors() const { return m_errors; }
54 template <typename ErrorsT = Aws::Vector<RecipeVersionErrorDetail>>
55 void SetErrors(ErrorsT&& value) {
56 m_errorsHasBeenSet = true;
57 m_errors = std::forward<ErrorsT>(value);
58 }
59 template <typename ErrorsT = Aws::Vector<RecipeVersionErrorDetail>>
61 SetErrors(std::forward<ErrorsT>(value));
62 return *this;
63 }
64 template <typename ErrorsT = RecipeVersionErrorDetail>
66 m_errorsHasBeenSet = true;
67 m_errors.emplace_back(std::forward<ErrorsT>(value));
68 return *this;
69 }
71
73
74 inline const Aws::String& GetRequestId() const { return m_requestId; }
75 template <typename RequestIdT = Aws::String>
76 void SetRequestId(RequestIdT&& value) {
77 m_requestIdHasBeenSet = true;
78 m_requestId = std::forward<RequestIdT>(value);
79 }
80 template <typename RequestIdT = Aws::String>
82 SetRequestId(std::forward<RequestIdT>(value));
83 return *this;
84 }
86 private:
87 Aws::String m_name;
88
90
91 Aws::String m_requestId;
92 bool m_nameHasBeenSet = false;
93 bool m_errorsHasBeenSet = false;
94 bool m_requestIdHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace GlueDataBrew
99} // namespace Aws
BatchDeleteRecipeVersionResult & AddErrors(ErrorsT &&value)
const Aws::Vector< RecipeVersionErrorDetail > & GetErrors() const
BatchDeleteRecipeVersionResult & WithRequestId(RequestIdT &&value)
AWS_GLUEDATABREW_API BatchDeleteRecipeVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchDeleteRecipeVersionResult & WithErrors(ErrorsT &&value)
AWS_GLUEDATABREW_API BatchDeleteRecipeVersionResult()=default
AWS_GLUEDATABREW_API BatchDeleteRecipeVersionResult & 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