AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
DBClusterSnapshotAttribute.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/neptune/Neptune_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Xml {
17class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace Neptune {
21namespace Model {
22
33 public:
34 AWS_NEPTUNE_API DBClusterSnapshotAttribute() = default;
37
38 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
42
48 inline const Aws::String& GetAttributeName() const { return m_attributeName; }
49 inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; }
50 template <typename AttributeNameT = Aws::String>
51 void SetAttributeName(AttributeNameT&& value) {
52 m_attributeNameHasBeenSet = true;
53 m_attributeName = std::forward<AttributeNameT>(value);
54 }
55 template <typename AttributeNameT = Aws::String>
57 SetAttributeName(std::forward<AttributeNameT>(value));
58 return *this;
59 }
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) {
75 m_attributeValuesHasBeenSet = true;
76 m_attributeValues = std::forward<AttributeValuesT>(value);
77 }
78 template <typename AttributeValuesT = Aws::Vector<Aws::String>>
80 SetAttributeValues(std::forward<AttributeValuesT>(value));
81 return *this;
82 }
83 template <typename AttributeValuesT = Aws::String>
85 m_attributeValuesHasBeenSet = true;
86 m_attributeValues.emplace_back(std::forward<AttributeValuesT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_attributeName;
92 bool m_attributeNameHasBeenSet = false;
93
94 Aws::Vector<Aws::String> m_attributeValues;
95 bool m_attributeValuesHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace Neptune
100} // 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