AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ParameterNameValue.h
1
6#pragma once
7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace ElastiCache
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_ELASTICACHE_API ParameterNameValue();
36 AWS_ELASTICACHE_API ParameterNameValue(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_ELASTICACHE_API ParameterNameValue& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetParameterName() const{ return m_parameterName; }
48 inline bool ParameterNameHasBeenSet() const { return m_parameterNameHasBeenSet; }
49 inline void SetParameterName(const Aws::String& value) { m_parameterNameHasBeenSet = true; m_parameterName = value; }
50 inline void SetParameterName(Aws::String&& value) { m_parameterNameHasBeenSet = true; m_parameterName = std::move(value); }
51 inline void SetParameterName(const char* value) { m_parameterNameHasBeenSet = true; m_parameterName.assign(value); }
52 inline ParameterNameValue& WithParameterName(const Aws::String& value) { SetParameterName(value); return *this;}
53 inline ParameterNameValue& WithParameterName(Aws::String&& value) { SetParameterName(std::move(value)); return *this;}
54 inline ParameterNameValue& WithParameterName(const char* value) { SetParameterName(value); return *this;}
56
58
61 inline const Aws::String& GetParameterValue() const{ return m_parameterValue; }
62 inline bool ParameterValueHasBeenSet() const { return m_parameterValueHasBeenSet; }
63 inline void SetParameterValue(const Aws::String& value) { m_parameterValueHasBeenSet = true; m_parameterValue = value; }
64 inline void SetParameterValue(Aws::String&& value) { m_parameterValueHasBeenSet = true; m_parameterValue = std::move(value); }
65 inline void SetParameterValue(const char* value) { m_parameterValueHasBeenSet = true; m_parameterValue.assign(value); }
66 inline ParameterNameValue& WithParameterValue(const Aws::String& value) { SetParameterValue(value); return *this;}
67 inline ParameterNameValue& WithParameterValue(Aws::String&& value) { SetParameterValue(std::move(value)); return *this;}
68 inline ParameterNameValue& WithParameterValue(const char* value) { SetParameterValue(value); return *this;}
70 private:
71
72 Aws::String m_parameterName;
73 bool m_parameterNameHasBeenSet = false;
74
75 Aws::String m_parameterValue;
76 bool m_parameterValueHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace ElastiCache
81} // namespace Aws
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ParameterNameValue & WithParameterName(Aws::String &&value)
void SetParameterValue(const Aws::String &value)
ParameterNameValue & WithParameterName(const char *value)
ParameterNameValue & WithParameterValue(const char *value)
AWS_ELASTICACHE_API ParameterNameValue(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICACHE_API ParameterNameValue & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ParameterNameValue & WithParameterName(const Aws::String &value)
ParameterNameValue & WithParameterValue(Aws::String &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetParameterName(const Aws::String &value)
ParameterNameValue & WithParameterValue(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream