AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DBClusterSnapshotAttribute.h
1
6#pragma once
7#include <aws/neptune/Neptune_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace Neptune
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_NEPTUNE_API DBClusterSnapshotAttribute() = default;
42
43 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
44 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
45
46
48
54 inline const Aws::String& GetAttributeName() const { return m_attributeName; }
55 inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; }
56 template<typename AttributeNameT = Aws::String>
57 void SetAttributeName(AttributeNameT&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::forward<AttributeNameT>(value); }
58 template<typename AttributeNameT = Aws::String>
59 DBClusterSnapshotAttribute& WithAttributeName(AttributeNameT&& value) { SetAttributeName(std::forward<AttributeNameT>(value)); return *this;}
61
63
71 inline const Aws::Vector<Aws::String>& GetAttributeValues() const { return m_attributeValues; }
72 inline bool AttributeValuesHasBeenSet() const { return m_attributeValuesHasBeenSet; }
73 template<typename AttributeValuesT = Aws::Vector<Aws::String>>
74 void SetAttributeValues(AttributeValuesT&& value) { m_attributeValuesHasBeenSet = true; m_attributeValues = std::forward<AttributeValuesT>(value); }
75 template<typename AttributeValuesT = Aws::Vector<Aws::String>>
76 DBClusterSnapshotAttribute& WithAttributeValues(AttributeValuesT&& value) { SetAttributeValues(std::forward<AttributeValuesT>(value)); return *this;}
77 template<typename AttributeValuesT = Aws::String>
78 DBClusterSnapshotAttribute& AddAttributeValues(AttributeValuesT&& value) { m_attributeValuesHasBeenSet = true; m_attributeValues.emplace_back(std::forward<AttributeValuesT>(value)); return *this; }
80 private:
81
82 Aws::String m_attributeName;
83 bool m_attributeNameHasBeenSet = false;
84
85 Aws::Vector<Aws::String> m_attributeValues;
86 bool m_attributeValuesHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Neptune
91} // namespace Aws
AWS_NEPTUNE_API DBClusterSnapshotAttribute(const Aws::Utils::Xml::XmlNode &xmlNode)
DBClusterSnapshotAttribute & AddAttributeValues(AttributeValuesT &&value)
AWS_NEPTUNE_API DBClusterSnapshotAttribute & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DBClusterSnapshotAttribute & WithAttributeValues(AttributeValuesT &&value)
AWS_NEPTUNE_API DBClusterSnapshotAttribute()=default
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::Vector< Aws::String > & GetAttributeValues() const
DBClusterSnapshotAttribute & WithAttributeName(AttributeNameT &&value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream