AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
43 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
44 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
45 inline BatchDeleteRecipeVersionRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
46 inline BatchDeleteRecipeVersionRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
47 inline BatchDeleteRecipeVersionRequest& WithName(const char* value) { SetName(value); return *this;}
49
51
56 inline const Aws::Vector<Aws::String>& GetRecipeVersions() const{ return m_recipeVersions; }
57 inline bool RecipeVersionsHasBeenSet() const { return m_recipeVersionsHasBeenSet; }
58 inline void SetRecipeVersions(const Aws::Vector<Aws::String>& value) { m_recipeVersionsHasBeenSet = true; m_recipeVersions = value; }
59 inline void SetRecipeVersions(Aws::Vector<Aws::String>&& value) { m_recipeVersionsHasBeenSet = true; m_recipeVersions = std::move(value); }
62 inline BatchDeleteRecipeVersionRequest& AddRecipeVersions(const Aws::String& value) { m_recipeVersionsHasBeenSet = true; m_recipeVersions.push_back(value); return *this; }
63 inline BatchDeleteRecipeVersionRequest& AddRecipeVersions(Aws::String&& value) { m_recipeVersionsHasBeenSet = true; m_recipeVersions.push_back(std::move(value)); return *this; }
64 inline BatchDeleteRecipeVersionRequest& AddRecipeVersions(const char* value) { m_recipeVersionsHasBeenSet = true; m_recipeVersions.push_back(value); return *this; }
66 private:
67
68 Aws::String m_name;
69 bool m_nameHasBeenSet = false;
70
71 Aws::Vector<Aws::String> m_recipeVersions;
72 bool m_recipeVersionsHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace GlueDataBrew
77} // namespace Aws
BatchDeleteRecipeVersionRequest & AddRecipeVersions(const char *value)
BatchDeleteRecipeVersionRequest & WithRecipeVersions(Aws::Vector< Aws::String > &&value)
BatchDeleteRecipeVersionRequest & AddRecipeVersions(const Aws::String &value)
BatchDeleteRecipeVersionRequest & WithName(const Aws::String &value)
AWS_GLUEDATABREW_API Aws::String SerializePayload() const override
BatchDeleteRecipeVersionRequest & WithName(Aws::String &&value)
BatchDeleteRecipeVersionRequest & WithName(const char *value)
BatchDeleteRecipeVersionRequest & WithRecipeVersions(const Aws::Vector< Aws::String > &value)
BatchDeleteRecipeVersionRequest & AddRecipeVersions(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector