AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BatchDeleteRecipeVersionRequest.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/databrew/GlueDataBrewRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace GlueDataBrew
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GLUEDATABREW_API BatchDeleteRecipeVersionRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "BatchDeleteRecipeVersion"; }
32
33 AWS_GLUEDATABREW_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template<typename NameT = Aws::String>
43 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
44 template<typename NameT = Aws::String>
45 BatchDeleteRecipeVersionRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
47
49
54 inline const Aws::Vector<Aws::String>& GetRecipeVersions() const { return m_recipeVersions; }
55 inline bool RecipeVersionsHasBeenSet() const { return m_recipeVersionsHasBeenSet; }
56 template<typename RecipeVersionsT = Aws::Vector<Aws::String>>
57 void SetRecipeVersions(RecipeVersionsT&& value) { m_recipeVersionsHasBeenSet = true; m_recipeVersions = std::forward<RecipeVersionsT>(value); }
58 template<typename RecipeVersionsT = Aws::Vector<Aws::String>>
59 BatchDeleteRecipeVersionRequest& WithRecipeVersions(RecipeVersionsT&& value) { SetRecipeVersions(std::forward<RecipeVersionsT>(value)); return *this;}
60 template<typename RecipeVersionsT = Aws::String>
61 BatchDeleteRecipeVersionRequest& AddRecipeVersions(RecipeVersionsT&& value) { m_recipeVersionsHasBeenSet = true; m_recipeVersions.emplace_back(std::forward<RecipeVersionsT>(value)); return *this; }
63 private:
64
65 Aws::String m_name;
66 bool m_nameHasBeenSet = false;
67
68 Aws::Vector<Aws::String> m_recipeVersions;
69 bool m_recipeVersionsHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace GlueDataBrew
74} // 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