AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateParameterGroupRequest.h
1
6#pragma once
7#include <aws/dax/DAX_EXPORTS.h>
8#include <aws/dax/DAXRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/dax/model/ParameterNameValue.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DAX
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_DAX_API UpdateParameterGroupRequest() = 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 "UpdateParameterGroup"; }
33
34 AWS_DAX_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::String& GetParameterGroupName() const { return m_parameterGroupName; }
44 inline bool ParameterGroupNameHasBeenSet() const { return m_parameterGroupNameHasBeenSet; }
45 template<typename ParameterGroupNameT = Aws::String>
46 void SetParameterGroupName(ParameterGroupNameT&& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = std::forward<ParameterGroupNameT>(value); }
47 template<typename ParameterGroupNameT = Aws::String>
48 UpdateParameterGroupRequest& WithParameterGroupName(ParameterGroupNameT&& value) { SetParameterGroupName(std::forward<ParameterGroupNameT>(value)); return *this;}
50
52
60 inline const Aws::Vector<ParameterNameValue>& GetParameterNameValues() const { return m_parameterNameValues; }
61 inline bool ParameterNameValuesHasBeenSet() const { return m_parameterNameValuesHasBeenSet; }
62 template<typename ParameterNameValuesT = Aws::Vector<ParameterNameValue>>
63 void SetParameterNameValues(ParameterNameValuesT&& value) { m_parameterNameValuesHasBeenSet = true; m_parameterNameValues = std::forward<ParameterNameValuesT>(value); }
64 template<typename ParameterNameValuesT = Aws::Vector<ParameterNameValue>>
65 UpdateParameterGroupRequest& WithParameterNameValues(ParameterNameValuesT&& value) { SetParameterNameValues(std::forward<ParameterNameValuesT>(value)); return *this;}
66 template<typename ParameterNameValuesT = ParameterNameValue>
67 UpdateParameterGroupRequest& AddParameterNameValues(ParameterNameValuesT&& value) { m_parameterNameValuesHasBeenSet = true; m_parameterNameValues.emplace_back(std::forward<ParameterNameValuesT>(value)); return *this; }
69 private:
70
71 Aws::String m_parameterGroupName;
72 bool m_parameterGroupNameHasBeenSet = false;
73
74 Aws::Vector<ParameterNameValue> m_parameterNameValues;
75 bool m_parameterNameValuesHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace DAX
80} // 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