AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetParameterGroupName(const Aws::String& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = value; }
46 inline void SetParameterGroupName(Aws::String&& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = std::move(value); }
47 inline void SetParameterGroupName(const char* value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName.assign(value); }
49 inline UpdateParameterGroupRequest& WithParameterGroupName(Aws::String&& value) { SetParameterGroupName(std::move(value)); return *this;}
50 inline UpdateParameterGroupRequest& WithParameterGroupName(const char* value) { SetParameterGroupName(value); return *this;}
52
54
62 inline const Aws::Vector<ParameterNameValue>& GetParameterNameValues() const{ return m_parameterNameValues; }
63 inline bool ParameterNameValuesHasBeenSet() const { return m_parameterNameValuesHasBeenSet; }
64 inline void SetParameterNameValues(const Aws::Vector<ParameterNameValue>& value) { m_parameterNameValuesHasBeenSet = true; m_parameterNameValues = value; }
65 inline void SetParameterNameValues(Aws::Vector<ParameterNameValue>&& value) { m_parameterNameValuesHasBeenSet = true; m_parameterNameValues = std::move(value); }
68 inline UpdateParameterGroupRequest& AddParameterNameValues(const ParameterNameValue& value) { m_parameterNameValuesHasBeenSet = true; m_parameterNameValues.push_back(value); return *this; }
69 inline UpdateParameterGroupRequest& AddParameterNameValues(ParameterNameValue&& value) { m_parameterNameValuesHasBeenSet = true; m_parameterNameValues.push_back(std::move(value)); return *this; }
71 private:
72
73 Aws::String m_parameterGroupName;
74 bool m_parameterGroupNameHasBeenSet = false;
75
76 Aws::Vector<ParameterNameValue> m_parameterNameValues;
77 bool m_parameterNameValuesHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace DAX
82} // namespace Aws
UpdateParameterGroupRequest & WithParameterGroupName(Aws::String &&value)
void SetParameterNameValues(Aws::Vector< ParameterNameValue > &&value)
UpdateParameterGroupRequest & AddParameterNameValues(const ParameterNameValue &value)
AWS_DAX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< ParameterNameValue > & GetParameterNameValues() const
UpdateParameterGroupRequest & WithParameterGroupName(const char *value)
AWS_DAX_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
UpdateParameterGroupRequest & AddParameterNameValues(ParameterNameValue &&value)
UpdateParameterGroupRequest & WithParameterNameValues(const Aws::Vector< ParameterNameValue > &value)
UpdateParameterGroupRequest & WithParameterGroupName(const Aws::String &value)
UpdateParameterGroupRequest & WithParameterNameValues(Aws::Vector< ParameterNameValue > &&value)
void SetParameterNameValues(const Aws::Vector< ParameterNameValue > &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