AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateRulesetRequest.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 <aws/databrew/model/Rule.h>
12#include <utility>
13
14namespace Aws
15{
16namespace GlueDataBrew
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_GLUEDATABREW_API UpdateRulesetRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateRuleset"; }
33
34 AWS_GLUEDATABREW_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetName() const{ return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
44 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
45 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
46 inline UpdateRulesetRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
47 inline UpdateRulesetRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
48 inline UpdateRulesetRequest& WithName(const char* value) { SetName(value); return *this;}
50
52
55 inline const Aws::String& GetDescription() const{ return m_description; }
56 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
57 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
58 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
59 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
60 inline UpdateRulesetRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
61 inline UpdateRulesetRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
62 inline UpdateRulesetRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
64
66
70 inline const Aws::Vector<Rule>& GetRules() const{ return m_rules; }
71 inline bool RulesHasBeenSet() const { return m_rulesHasBeenSet; }
72 inline void SetRules(const Aws::Vector<Rule>& value) { m_rulesHasBeenSet = true; m_rules = value; }
73 inline void SetRules(Aws::Vector<Rule>&& value) { m_rulesHasBeenSet = true; m_rules = std::move(value); }
74 inline UpdateRulesetRequest& WithRules(const Aws::Vector<Rule>& value) { SetRules(value); return *this;}
75 inline UpdateRulesetRequest& WithRules(Aws::Vector<Rule>&& value) { SetRules(std::move(value)); return *this;}
76 inline UpdateRulesetRequest& AddRules(const Rule& value) { m_rulesHasBeenSet = true; m_rules.push_back(value); return *this; }
77 inline UpdateRulesetRequest& AddRules(Rule&& value) { m_rulesHasBeenSet = true; m_rules.push_back(std::move(value)); return *this; }
79 private:
80
81 Aws::String m_name;
82 bool m_nameHasBeenSet = false;
83
84 Aws::String m_description;
85 bool m_descriptionHasBeenSet = false;
86
87 Aws::Vector<Rule> m_rules;
88 bool m_rulesHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace GlueDataBrew
93} // namespace Aws
UpdateRulesetRequest & WithDescription(const Aws::String &value)
UpdateRulesetRequest & AddRules(const Rule &value)
const Aws::Vector< Rule > & GetRules() const
UpdateRulesetRequest & WithName(const Aws::String &value)
void SetRules(const Aws::Vector< Rule > &value)
UpdateRulesetRequest & WithDescription(const char *value)
UpdateRulesetRequest & WithDescription(Aws::String &&value)
UpdateRulesetRequest & WithName(const char *value)
UpdateRulesetRequest & WithName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateRulesetRequest & WithRules(Aws::Vector< Rule > &&value)
UpdateRulesetRequest & WithRules(const Aws::Vector< Rule > &value)
UpdateRulesetRequest & AddRules(Rule &&value)
AWS_GLUEDATABREW_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector