AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
UpdateParameterGroupRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/dax/DAXRequest.h>
10#include <aws/dax/DAX_EXPORTS.h>
11#include <aws/dax/model/ParameterNameValue.h>
12
13#include <utility>
14
15namespace Aws {
16namespace DAX {
17namespace Model {
18
22 public:
23 AWS_DAX_API UpdateParameterGroupRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateParameterGroup"; }
30
31 AWS_DAX_API Aws::String SerializePayload() const override;
32
34
36
39 inline const Aws::String& GetParameterGroupName() const { return m_parameterGroupName; }
40 inline bool ParameterGroupNameHasBeenSet() const { return m_parameterGroupNameHasBeenSet; }
41 template <typename ParameterGroupNameT = Aws::String>
42 void SetParameterGroupName(ParameterGroupNameT&& value) {
43 m_parameterGroupNameHasBeenSet = true;
44 m_parameterGroupName = std::forward<ParameterGroupNameT>(value);
45 }
46 template <typename ParameterGroupNameT = Aws::String>
48 SetParameterGroupName(std::forward<ParameterGroupNameT>(value));
49 return *this;
50 }
52
54
62 inline const Aws::Vector<ParameterNameValue>& GetParameterNameValues() const { return m_parameterNameValues; }
63 inline bool ParameterNameValuesHasBeenSet() const { return m_parameterNameValuesHasBeenSet; }
64 template <typename ParameterNameValuesT = Aws::Vector<ParameterNameValue>>
65 void SetParameterNameValues(ParameterNameValuesT&& value) {
66 m_parameterNameValuesHasBeenSet = true;
67 m_parameterNameValues = std::forward<ParameterNameValuesT>(value);
68 }
69 template <typename ParameterNameValuesT = Aws::Vector<ParameterNameValue>>
71 SetParameterNameValues(std::forward<ParameterNameValuesT>(value));
72 return *this;
73 }
74 template <typename ParameterNameValuesT = ParameterNameValue>
75 UpdateParameterGroupRequest& AddParameterNameValues(ParameterNameValuesT&& value) {
76 m_parameterNameValuesHasBeenSet = true;
77 m_parameterNameValues.emplace_back(std::forward<ParameterNameValuesT>(value));
78 return *this;
79 }
81 private:
82 Aws::String m_parameterGroupName;
83
84 Aws::Vector<ParameterNameValue> m_parameterNameValues;
85 bool m_parameterGroupNameHasBeenSet = false;
86 bool m_parameterNameValuesHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace DAX
91} // namespace Aws
UpdateParameterGroupRequest & WithParameterNameValues(ParameterNameValuesT &&value)
UpdateParameterGroupRequest & WithParameterGroupName(ParameterGroupNameT &&value)
AWS_DAX_API UpdateParameterGroupRequest()=default
UpdateParameterGroupRequest & AddParameterNameValues(ParameterNameValuesT &&value)
AWS_DAX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetParameterNameValues(ParameterNameValuesT &&value)
const Aws::Vector< ParameterNameValue > & GetParameterNameValues() const
AWS_DAX_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
void SetParameterGroupName(ParameterGroupNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector