AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DBClusterSnapshotAttributesResult.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 <aws/rds/model/DBClusterSnapshotAttribute.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace RDS
24{
25namespace Model
26{
27
39 {
40 public:
44
45 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
46 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
47
48
50
54 inline const Aws::String& GetDBClusterSnapshotIdentifier() const{ return m_dBClusterSnapshotIdentifier; }
55 inline bool DBClusterSnapshotIdentifierHasBeenSet() const { return m_dBClusterSnapshotIdentifierHasBeenSet; }
56 inline void SetDBClusterSnapshotIdentifier(const Aws::String& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = value; }
57 inline void SetDBClusterSnapshotIdentifier(Aws::String&& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = std::move(value); }
58 inline void SetDBClusterSnapshotIdentifier(const char* value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier.assign(value); }
63
65
68 inline const Aws::Vector<DBClusterSnapshotAttribute>& GetDBClusterSnapshotAttributes() const{ return m_dBClusterSnapshotAttributes; }
69 inline bool DBClusterSnapshotAttributesHasBeenSet() const { return m_dBClusterSnapshotAttributesHasBeenSet; }
70 inline void SetDBClusterSnapshotAttributes(const Aws::Vector<DBClusterSnapshotAttribute>& value) { m_dBClusterSnapshotAttributesHasBeenSet = true; m_dBClusterSnapshotAttributes = value; }
71 inline void SetDBClusterSnapshotAttributes(Aws::Vector<DBClusterSnapshotAttribute>&& value) { m_dBClusterSnapshotAttributesHasBeenSet = true; m_dBClusterSnapshotAttributes = std::move(value); }
74 inline DBClusterSnapshotAttributesResult& AddDBClusterSnapshotAttributes(const DBClusterSnapshotAttribute& value) { m_dBClusterSnapshotAttributesHasBeenSet = true; m_dBClusterSnapshotAttributes.push_back(value); return *this; }
75 inline DBClusterSnapshotAttributesResult& AddDBClusterSnapshotAttributes(DBClusterSnapshotAttribute&& value) { m_dBClusterSnapshotAttributesHasBeenSet = true; m_dBClusterSnapshotAttributes.push_back(std::move(value)); return *this; }
77 private:
78
79 Aws::String m_dBClusterSnapshotIdentifier;
80 bool m_dBClusterSnapshotIdentifierHasBeenSet = false;
81
82 Aws::Vector<DBClusterSnapshotAttribute> m_dBClusterSnapshotAttributes;
83 bool m_dBClusterSnapshotAttributesHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace RDS
88} // namespace Aws
const Aws::Vector< DBClusterSnapshotAttribute > & GetDBClusterSnapshotAttributes() const
DBClusterSnapshotAttributesResult & WithDBClusterSnapshotIdentifier(const char *value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetDBClusterSnapshotAttributes(const Aws::Vector< DBClusterSnapshotAttribute > &value)
DBClusterSnapshotAttributesResult & AddDBClusterSnapshotAttributes(DBClusterSnapshotAttribute &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DBClusterSnapshotAttributesResult & AddDBClusterSnapshotAttributes(const DBClusterSnapshotAttribute &value)
void SetDBClusterSnapshotAttributes(Aws::Vector< DBClusterSnapshotAttribute > &&value)
DBClusterSnapshotAttributesResult & WithDBClusterSnapshotAttributes(Aws::Vector< DBClusterSnapshotAttribute > &&value)
DBClusterSnapshotAttributesResult & WithDBClusterSnapshotAttributes(const Aws::Vector< DBClusterSnapshotAttribute > &value)
DBClusterSnapshotAttributesResult & WithDBClusterSnapshotIdentifier(Aws::String &&value)
AWS_RDS_API DBClusterSnapshotAttributesResult & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_API DBClusterSnapshotAttributesResult(const Aws::Utils::Xml::XmlNode &xmlNode)
DBClusterSnapshotAttributesResult & WithDBClusterSnapshotIdentifier(const 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