AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAttributeName(const Aws::String& value) { m_attributeNameHasBeenSet = true; m_attributeName = value; }
57 inline void SetAttributeName(Aws::String&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::move(value); }
58 inline void SetAttributeName(const char* value) { m_attributeNameHasBeenSet = true; m_attributeName.assign(value); }
59 inline DBClusterSnapshotAttribute& WithAttributeName(const Aws::String& value) { SetAttributeName(value); return *this;}
60 inline DBClusterSnapshotAttribute& WithAttributeName(Aws::String&& value) { SetAttributeName(std::move(value)); return *this;}
61 inline DBClusterSnapshotAttribute& WithAttributeName(const char* value) { SetAttributeName(value); return *this;}
63
65
73 inline const Aws::Vector<Aws::String>& GetAttributeValues() const{ return m_attributeValues; }
74 inline bool AttributeValuesHasBeenSet() const { return m_attributeValuesHasBeenSet; }
75 inline void SetAttributeValues(const Aws::Vector<Aws::String>& value) { m_attributeValuesHasBeenSet = true; m_attributeValues = value; }
76 inline void SetAttributeValues(Aws::Vector<Aws::String>&& value) { m_attributeValuesHasBeenSet = true; m_attributeValues = std::move(value); }
79 inline DBClusterSnapshotAttribute& AddAttributeValues(const Aws::String& value) { m_attributeValuesHasBeenSet = true; m_attributeValues.push_back(value); return *this; }
80 inline DBClusterSnapshotAttribute& AddAttributeValues(Aws::String&& value) { m_attributeValuesHasBeenSet = true; m_attributeValues.push_back(std::move(value)); return *this; }
81 inline DBClusterSnapshotAttribute& AddAttributeValues(const char* value) { m_attributeValuesHasBeenSet = true; m_attributeValues.push_back(value); return *this; }
83 private:
84
85 Aws::String m_attributeName;
86 bool m_attributeNameHasBeenSet = false;
87
88 Aws::Vector<Aws::String> m_attributeValues;
89 bool m_attributeValuesHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Neptune
94} // namespace Aws
DBClusterSnapshotAttribute & WithAttributeValues(Aws::Vector< Aws::String > &&value)
AWS_NEPTUNE_API DBClusterSnapshotAttribute(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_NEPTUNE_API DBClusterSnapshotAttribute & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DBClusterSnapshotAttribute & AddAttributeValues(Aws::String &&value)
DBClusterSnapshotAttribute & AddAttributeValues(const char *value)
DBClusterSnapshotAttribute & WithAttributeName(const Aws::String &value)
DBClusterSnapshotAttribute & WithAttributeValues(const Aws::Vector< Aws::String > &value)
DBClusterSnapshotAttribute & AddAttributeValues(const Aws::String &value)
void SetAttributeValues(const Aws::Vector< Aws::String > &value)
void SetAttributeValues(Aws::Vector< Aws::String > &&value)
DBClusterSnapshotAttribute & WithAttributeName(Aws::String &&value)
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(const char *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