AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ModifyDBParameterGroupRequest.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:
26 AWS_NEPTUNE_API ModifyDBParameterGroupRequest() = default;
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 "ModifyDBParameterGroup"; }
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 template<typename DBParameterGroupNameT = Aws::String>
49 void SetDBParameterGroupName(DBParameterGroupNameT&& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = std::forward<DBParameterGroupNameT>(value); }
50 template<typename DBParameterGroupNameT = Aws::String>
51 ModifyDBParameterGroupRequest& WithDBParameterGroupName(DBParameterGroupNameT&& value) { SetDBParameterGroupName(std::forward<DBParameterGroupNameT>(value)); return *this;}
53
55
65 inline const Aws::Vector<Parameter>& GetParameters() const { return m_parameters; }
66 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
67 template<typename ParametersT = Aws::Vector<Parameter>>
68 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters = std::forward<ParametersT>(value); }
69 template<typename ParametersT = Aws::Vector<Parameter>>
70 ModifyDBParameterGroupRequest& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
71 template<typename ParametersT = Parameter>
72 ModifyDBParameterGroupRequest& AddParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters.emplace_back(std::forward<ParametersT>(value)); return *this; }
74 private:
75
76 Aws::String m_dBParameterGroupName;
77 bool m_dBParameterGroupNameHasBeenSet = false;
78
79 Aws::Vector<Parameter> m_parameters;
80 bool m_parametersHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace Neptune
85} // namespace Aws
ModifyDBParameterGroupRequest & WithDBParameterGroupName(DBParameterGroupNameT &&value)
AWS_NEPTUNE_API Aws::String SerializePayload() const override
AWS_NEPTUNE_API ModifyDBParameterGroupRequest()=default
ModifyDBParameterGroupRequest & WithParameters(ParametersT &&value)
AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyDBParameterGroupRequest & AddParameters(ParametersT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector