AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
BatchDeleteRecipeVersionRequest.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/GlueDataBrewRequest.h>
10#include <aws/databrew/GlueDataBrew_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace GlueDataBrew {
16namespace Model {
17
21 public:
22 AWS_GLUEDATABREW_API BatchDeleteRecipeVersionRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "BatchDeleteRecipeVersion"; }
29
30 AWS_GLUEDATABREW_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetName() const { return m_name; }
37 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
38 template <typename NameT = Aws::String>
39 void SetName(NameT&& value) {
40 m_nameHasBeenSet = true;
41 m_name = std::forward<NameT>(value);
42 }
43 template <typename NameT = Aws::String>
45 SetName(std::forward<NameT>(value));
46 return *this;
47 }
49
51
56 inline const Aws::Vector<Aws::String>& GetRecipeVersions() const { return m_recipeVersions; }
57 inline bool RecipeVersionsHasBeenSet() const { return m_recipeVersionsHasBeenSet; }
58 template <typename RecipeVersionsT = Aws::Vector<Aws::String>>
59 void SetRecipeVersions(RecipeVersionsT&& value) {
60 m_recipeVersionsHasBeenSet = true;
61 m_recipeVersions = std::forward<RecipeVersionsT>(value);
62 }
63 template <typename RecipeVersionsT = Aws::Vector<Aws::String>>
65 SetRecipeVersions(std::forward<RecipeVersionsT>(value));
66 return *this;
67 }
68 template <typename RecipeVersionsT = Aws::String>
70 m_recipeVersionsHasBeenSet = true;
71 m_recipeVersions.emplace_back(std::forward<RecipeVersionsT>(value));
72 return *this;
73 }
75 private:
76 Aws::String m_name;
77
78 Aws::Vector<Aws::String> m_recipeVersions;
79 bool m_nameHasBeenSet = false;
80 bool m_recipeVersionsHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace GlueDataBrew
85} // namespace Aws
AWS_GLUEDATABREW_API BatchDeleteRecipeVersionRequest()=default
AWS_GLUEDATABREW_API Aws::String SerializePayload() const override
BatchDeleteRecipeVersionRequest & WithRecipeVersions(RecipeVersionsT &&value)
BatchDeleteRecipeVersionRequest & AddRecipeVersions(RecipeVersionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector