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/docdb/DocDB_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 DocDB
23{
24namespace Model
25{
26
36 {
37 public:
41
42 AWS_DOCDB_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_DOCDB_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
45
47
52 inline const Aws::String& GetAttributeName() const{ return m_attributeName; }
53 inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; }
54 inline void SetAttributeName(const Aws::String& value) { m_attributeNameHasBeenSet = true; m_attributeName = value; }
55 inline void SetAttributeName(Aws::String&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::move(value); }
56 inline void SetAttributeName(const char* value) { m_attributeNameHasBeenSet = true; m_attributeName.assign(value); }
57 inline DBClusterSnapshotAttribute& WithAttributeName(const Aws::String& value) { SetAttributeName(value); return *this;}
58 inline DBClusterSnapshotAttribute& WithAttributeName(Aws::String&& value) { SetAttributeName(std::move(value)); return *this;}
59 inline DBClusterSnapshotAttribute& WithAttributeName(const char* value) { SetAttributeName(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 inline void SetAttributeValues(const Aws::Vector<Aws::String>& value) { m_attributeValuesHasBeenSet = true; m_attributeValues = value; }
74 inline void SetAttributeValues(Aws::Vector<Aws::String>&& value) { m_attributeValuesHasBeenSet = true; m_attributeValues = std::move(value); }
77 inline DBClusterSnapshotAttribute& AddAttributeValues(const Aws::String& value) { m_attributeValuesHasBeenSet = true; m_attributeValues.push_back(value); return *this; }
78 inline DBClusterSnapshotAttribute& AddAttributeValues(Aws::String&& value) { m_attributeValuesHasBeenSet = true; m_attributeValues.push_back(std::move(value)); return *this; }
79 inline DBClusterSnapshotAttribute& AddAttributeValues(const char* value) { m_attributeValuesHasBeenSet = true; m_attributeValues.push_back(value); return *this; }
81 private:
82
83 Aws::String m_attributeName;
84 bool m_attributeNameHasBeenSet = false;
85
86 Aws::Vector<Aws::String> m_attributeValues;
87 bool m_attributeValuesHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace DocDB
92} // namespace Aws
DBClusterSnapshotAttribute & WithAttributeName(const Aws::String &value)
const Aws::Vector< Aws::String > & GetAttributeValues() const
void SetAttributeValues(Aws::Vector< Aws::String > &&value)
DBClusterSnapshotAttribute & WithAttributeName(const char *value)
DBClusterSnapshotAttribute & WithAttributeValues(const Aws::Vector< Aws::String > &value)
DBClusterSnapshotAttribute & AddAttributeValues(const Aws::String &value)
DBClusterSnapshotAttribute & AddAttributeValues(const char *value)
DBClusterSnapshotAttribute & WithAttributeValues(Aws::Vector< Aws::String > &&value)
void SetAttributeValues(const Aws::Vector< Aws::String > &value)
DBClusterSnapshotAttribute & AddAttributeValues(Aws::String &&value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_DOCDB_API DBClusterSnapshotAttribute & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DBClusterSnapshotAttribute & WithAttributeName(Aws::String &&value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_DOCDB_API DBClusterSnapshotAttribute(const Aws::Utils::Xml::XmlNode &xmlNode)
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