AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResetCacheParameterGroupRequest.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 ResetCacheParameterGroupRequest();
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 "ResetCacheParameterGroup"; }
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
66 inline bool GetResetAllParameters() const{ return m_resetAllParameters; }
67 inline bool ResetAllParametersHasBeenSet() const { return m_resetAllParametersHasBeenSet; }
68 inline void SetResetAllParameters(bool value) { m_resetAllParametersHasBeenSet = true; m_resetAllParameters = value; }
71
73
80 inline const Aws::Vector<ParameterNameValue>& GetParameterNameValues() const{ return m_parameterNameValues; }
81 inline bool ParameterNameValuesHasBeenSet() const { return m_parameterNameValuesHasBeenSet; }
82 inline void SetParameterNameValues(const Aws::Vector<ParameterNameValue>& value) { m_parameterNameValuesHasBeenSet = true; m_parameterNameValues = value; }
83 inline void SetParameterNameValues(Aws::Vector<ParameterNameValue>&& value) { m_parameterNameValuesHasBeenSet = true; m_parameterNameValues = std::move(value); }
86 inline ResetCacheParameterGroupRequest& AddParameterNameValues(const ParameterNameValue& value) { m_parameterNameValuesHasBeenSet = true; m_parameterNameValues.push_back(value); return *this; }
87 inline ResetCacheParameterGroupRequest& AddParameterNameValues(ParameterNameValue&& value) { m_parameterNameValuesHasBeenSet = true; m_parameterNameValues.push_back(std::move(value)); return *this; }
89 private:
90
91 Aws::String m_cacheParameterGroupName;
92 bool m_cacheParameterGroupNameHasBeenSet = false;
93
94 bool m_resetAllParameters;
95 bool m_resetAllParametersHasBeenSet = false;
96
97 Aws::Vector<ParameterNameValue> m_parameterNameValues;
98 bool m_parameterNameValuesHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace ElastiCache
103} // namespace Aws
const Aws::Vector< ParameterNameValue > & GetParameterNameValues() const
void SetParameterNameValues(Aws::Vector< ParameterNameValue > &&value)
ResetCacheParameterGroupRequest & WithParameterNameValues(const Aws::Vector< ParameterNameValue > &value)
ResetCacheParameterGroupRequest & AddParameterNameValues(ParameterNameValue &&value)
ResetCacheParameterGroupRequest & WithParameterNameValues(Aws::Vector< ParameterNameValue > &&value)
ResetCacheParameterGroupRequest & WithCacheParameterGroupName(const Aws::String &value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ResetCacheParameterGroupRequest & AddParameterNameValues(const ParameterNameValue &value)
ResetCacheParameterGroupRequest & WithResetAllParameters(bool value)
ResetCacheParameterGroupRequest & WithCacheParameterGroupName(const char *value)
void SetParameterNameValues(const Aws::Vector< ParameterNameValue > &value)
ResetCacheParameterGroupRequest & WithCacheParameterGroupName(Aws::String &&value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector