AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResetDBParameterGroupRequest.h
1
6#pragma once
7#include <aws/neptune/Neptune_EXPORTS.h>
8#include <aws/neptune/NeptuneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/neptune/model/Parameter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Neptune
17{
18namespace Model
19{
20
24 {
25 public:
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 "ResetDBParameterGroup"; }
33
34 AWS_NEPTUNE_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38
39 public:
40
42
46 inline const Aws::String& GetDBParameterGroupName() const{ return m_dBParameterGroupName; }
47 inline bool DBParameterGroupNameHasBeenSet() const { return m_dBParameterGroupNameHasBeenSet; }
48 inline void SetDBParameterGroupName(const Aws::String& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = value; }
49 inline void SetDBParameterGroupName(Aws::String&& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = std::move(value); }
50 inline void SetDBParameterGroupName(const char* value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName.assign(value); }
53 inline ResetDBParameterGroupRequest& WithDBParameterGroupName(const char* value) { SetDBParameterGroupName(value); return *this;}
55
57
62 inline bool GetResetAllParameters() const{ return m_resetAllParameters; }
63 inline bool ResetAllParametersHasBeenSet() const { return m_resetAllParametersHasBeenSet; }
64 inline void SetResetAllParameters(bool value) { m_resetAllParametersHasBeenSet = true; m_resetAllParameters = value; }
67
69
77 inline const Aws::Vector<Parameter>& GetParameters() const{ return m_parameters; }
78 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
79 inline void SetParameters(const Aws::Vector<Parameter>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
80 inline void SetParameters(Aws::Vector<Parameter>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
82 inline ResetDBParameterGroupRequest& WithParameters(Aws::Vector<Parameter>&& value) { SetParameters(std::move(value)); return *this;}
83 inline ResetDBParameterGroupRequest& AddParameters(const Parameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; }
84 inline ResetDBParameterGroupRequest& AddParameters(Parameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; }
86 private:
87
88 Aws::String m_dBParameterGroupName;
89 bool m_dBParameterGroupNameHasBeenSet = false;
90
91 bool m_resetAllParameters;
92 bool m_resetAllParametersHasBeenSet = false;
93
94 Aws::Vector<Parameter> m_parameters;
95 bool m_parametersHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace Neptune
100} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ResetDBParameterGroupRequest & WithDBParameterGroupName(const Aws::String &value)
ResetDBParameterGroupRequest & WithDBParameterGroupName(const char *value)
ResetDBParameterGroupRequest & WithDBParameterGroupName(Aws::String &&value)
ResetDBParameterGroupRequest & WithParameters(Aws::Vector< Parameter > &&value)
ResetDBParameterGroupRequest & AddParameters(const Parameter &value)
void SetParameters(const Aws::Vector< Parameter > &value)
ResetDBParameterGroupRequest & WithResetAllParameters(bool value)
AWS_NEPTUNE_API Aws::String SerializePayload() const override
ResetDBParameterGroupRequest & WithParameters(const Aws::Vector< Parameter > &value)
const Aws::Vector< Parameter > & GetParameters() const
ResetDBParameterGroupRequest & AddParameters(Parameter &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector