AWS SDK for C++

AWS SDK for C++ Version 1.11.935

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/memorydb/MemoryDBRequest.h>
10#include <aws/memorydb/MemoryDB_EXPORTS.h>
11#include <aws/memorydb/model/ParameterNameValue.h>
12
13#include <utility>
14
15namespace Aws {
16namespace MemoryDB {
17namespace Model {
18
22 public:
23 AWS_MEMORYDB_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_MEMORYDB_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
59 inline const Aws::Vector<ParameterNameValue>& GetParameterNameValues() const { return m_parameterNameValues; }
60 inline bool ParameterNameValuesHasBeenSet() const { return m_parameterNameValuesHasBeenSet; }
61 template <typename ParameterNameValuesT = Aws::Vector<ParameterNameValue>>
62 void SetParameterNameValues(ParameterNameValuesT&& value) {
63 m_parameterNameValuesHasBeenSet = true;
64 m_parameterNameValues = std::forward<ParameterNameValuesT>(value);
65 }
66 template <typename ParameterNameValuesT = Aws::Vector<ParameterNameValue>>
68 SetParameterNameValues(std::forward<ParameterNameValuesT>(value));
69 return *this;
70 }
71 template <typename ParameterNameValuesT = ParameterNameValue>
72 UpdateParameterGroupRequest& AddParameterNameValues(ParameterNameValuesT&& value) {
73 m_parameterNameValuesHasBeenSet = true;
74 m_parameterNameValues.emplace_back(std::forward<ParameterNameValuesT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_parameterGroupName;
80
81 Aws::Vector<ParameterNameValue> m_parameterNameValues;
82 bool m_parameterGroupNameHasBeenSet = false;
83 bool m_parameterNameValuesHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace MemoryDB
88} // namespace Aws
UpdateParameterGroupRequest & WithParameterGroupName(ParameterGroupNameT &&value)
UpdateParameterGroupRequest & AddParameterNameValues(ParameterNameValuesT &&value)
virtual const char * GetServiceRequestName() const override
AWS_MEMORYDB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateParameterGroupRequest & WithParameterNameValues(ParameterNameValuesT &&value)
AWS_MEMORYDB_API UpdateParameterGroupRequest()=default
const Aws::Vector< ParameterNameValue > & GetParameterNameValues() const
AWS_MEMORYDB_API Aws::String SerializePayload() const override
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