AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyCacheParameterGroupRequest.h
1
6#pragma once
7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/elasticache/ElastiCacheRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticache/model/ParameterNameValue.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ElastiCache
17{
18namespace Model
19{
20
28 {
29 public:
30 AWS_ELASTICACHE_API ModifyCacheParameterGroupRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "ModifyCacheParameterGroup"; }
37
38 AWS_ELASTICACHE_API Aws::String SerializePayload() const override;
39
40 protected:
41 AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42
43 public:
44
46
49 inline const Aws::String& GetCacheParameterGroupName() const{ return m_cacheParameterGroupName; }
50 inline bool CacheParameterGroupNameHasBeenSet() const { return m_cacheParameterGroupNameHasBeenSet; }
51 inline void SetCacheParameterGroupName(const Aws::String& value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName = value; }
52 inline void SetCacheParameterGroupName(Aws::String&& value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName = std::move(value); }
53 inline void SetCacheParameterGroupName(const char* value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName.assign(value); }
58
60
65 inline const Aws::Vector<ParameterNameValue>& GetParameterNameValues() const{ return m_parameterNameValues; }
66 inline bool ParameterNameValuesHasBeenSet() const { return m_parameterNameValuesHasBeenSet; }
67 inline void SetParameterNameValues(const Aws::Vector<ParameterNameValue>& value) { m_parameterNameValuesHasBeenSet = true; m_parameterNameValues = value; }
68 inline void SetParameterNameValues(Aws::Vector<ParameterNameValue>&& value) { m_parameterNameValuesHasBeenSet = true; m_parameterNameValues = std::move(value); }
71 inline ModifyCacheParameterGroupRequest& AddParameterNameValues(const ParameterNameValue& value) { m_parameterNameValuesHasBeenSet = true; m_parameterNameValues.push_back(value); return *this; }
72 inline ModifyCacheParameterGroupRequest& AddParameterNameValues(ParameterNameValue&& value) { m_parameterNameValuesHasBeenSet = true; m_parameterNameValues.push_back(std::move(value)); return *this; }
74 private:
75
76 Aws::String m_cacheParameterGroupName;
77 bool m_cacheParameterGroupNameHasBeenSet = false;
78
79 Aws::Vector<ParameterNameValue> m_parameterNameValues;
80 bool m_parameterNameValuesHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace ElastiCache
85} // namespace Aws
ModifyCacheParameterGroupRequest & AddParameterNameValues(const ParameterNameValue &value)
ModifyCacheParameterGroupRequest & WithParameterNameValues(Aws::Vector< ParameterNameValue > &&value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
void SetParameterNameValues(Aws::Vector< ParameterNameValue > &&value)
const Aws::Vector< ParameterNameValue > & GetParameterNameValues() const
ModifyCacheParameterGroupRequest & WithCacheParameterGroupName(const Aws::String &value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyCacheParameterGroupRequest & AddParameterNameValues(ParameterNameValue &&value)
ModifyCacheParameterGroupRequest & WithCacheParameterGroupName(Aws::String &&value)
ModifyCacheParameterGroupRequest & WithParameterNameValues(const Aws::Vector< ParameterNameValue > &value)
ModifyCacheParameterGroupRequest & WithCacheParameterGroupName(const char *value)
void SetParameterNameValues(const Aws::Vector< ParameterNameValue > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector