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/rds/RDS_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 RDS
23{
24namespace Model
25{
26
37 {
38 public:
42
43 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
44 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
45
46
48
55 inline const Aws::String& GetAttributeName() const{ return m_attributeName; }
56 inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; }
57 inline void SetAttributeName(const Aws::String& value) { m_attributeNameHasBeenSet = true; m_attributeName = value; }
58 inline void SetAttributeName(Aws::String&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::move(value); }
59 inline void SetAttributeName(const char* value) { m_attributeNameHasBeenSet = true; m_attributeName.assign(value); }
60 inline DBClusterSnapshotAttribute& WithAttributeName(const Aws::String& value) { SetAttributeName(value); return *this;}
61 inline DBClusterSnapshotAttribute& WithAttributeName(Aws::String&& value) { SetAttributeName(std::move(value)); return *this;}
62 inline DBClusterSnapshotAttribute& WithAttributeName(const char* value) { SetAttributeName(value); return *this;}
64
66
74 inline const Aws::Vector<Aws::String>& GetAttributeValues() const{ return m_attributeValues; }
75 inline bool AttributeValuesHasBeenSet() const { return m_attributeValuesHasBeenSet; }
76 inline void SetAttributeValues(const Aws::Vector<Aws::String>& value) { m_attributeValuesHasBeenSet = true; m_attributeValues = value; }
77 inline void SetAttributeValues(Aws::Vector<Aws::String>&& value) { m_attributeValuesHasBeenSet = true; m_attributeValues = std::move(value); }
80 inline DBClusterSnapshotAttribute& AddAttributeValues(const Aws::String& value) { m_attributeValuesHasBeenSet = true; m_attributeValues.push_back(value); return *this; }
81 inline DBClusterSnapshotAttribute& AddAttributeValues(Aws::String&& value) { m_attributeValuesHasBeenSet = true; m_attributeValues.push_back(std::move(value)); return *this; }
82 inline DBClusterSnapshotAttribute& AddAttributeValues(const char* value) { m_attributeValuesHasBeenSet = true; m_attributeValues.push_back(value); return *this; }
84 private:
85
86 Aws::String m_attributeName;
87 bool m_attributeNameHasBeenSet = false;
88
89 Aws::Vector<Aws::String> m_attributeValues;
90 bool m_attributeValuesHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace RDS
95} // namespace Aws
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DBClusterSnapshotAttribute & WithAttributeName(const char *value)
void SetAttributeValues(Aws::Vector< Aws::String > &&value)
AWS_RDS_API DBClusterSnapshotAttribute(const Aws::Utils::Xml::XmlNode &xmlNode)
DBClusterSnapshotAttribute & AddAttributeValues(const char *value)
DBClusterSnapshotAttribute & AddAttributeValues(Aws::String &&value)
DBClusterSnapshotAttribute & WithAttributeValues(Aws::Vector< Aws::String > &&value)
DBClusterSnapshotAttribute & WithAttributeName(const Aws::String &value)
const Aws::Vector< Aws::String > & GetAttributeValues() const
AWS_RDS_API DBClusterSnapshotAttribute & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAttributeValues(const Aws::Vector< Aws::String > &value)
DBClusterSnapshotAttribute & WithAttributeName(Aws::String &&value)
DBClusterSnapshotAttribute & AddAttributeValues(const Aws::String &value)
DBClusterSnapshotAttribute & WithAttributeValues(const Aws::Vector< Aws::String > &value)
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