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/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 <aws/docdb/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 DocDB
24{
25namespace Model
26{
27
35 {
36 public:
40
41 AWS_DOCDB_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_DOCDB_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
49 inline const Aws::String& GetDBClusterSnapshotIdentifier() const{ return m_dBClusterSnapshotIdentifier; }
50 inline bool DBClusterSnapshotIdentifierHasBeenSet() const { return m_dBClusterSnapshotIdentifierHasBeenSet; }
51 inline void SetDBClusterSnapshotIdentifier(const Aws::String& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = value; }
52 inline void SetDBClusterSnapshotIdentifier(Aws::String&& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = std::move(value); }
53 inline void SetDBClusterSnapshotIdentifier(const char* value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier.assign(value); }
58
60
63 inline const Aws::Vector<DBClusterSnapshotAttribute>& GetDBClusterSnapshotAttributes() const{ return m_dBClusterSnapshotAttributes; }
64 inline bool DBClusterSnapshotAttributesHasBeenSet() const { return m_dBClusterSnapshotAttributesHasBeenSet; }
65 inline void SetDBClusterSnapshotAttributes(const Aws::Vector<DBClusterSnapshotAttribute>& value) { m_dBClusterSnapshotAttributesHasBeenSet = true; m_dBClusterSnapshotAttributes = value; }
66 inline void SetDBClusterSnapshotAttributes(Aws::Vector<DBClusterSnapshotAttribute>&& value) { m_dBClusterSnapshotAttributesHasBeenSet = true; m_dBClusterSnapshotAttributes = std::move(value); }
69 inline DBClusterSnapshotAttributesResult& AddDBClusterSnapshotAttributes(const DBClusterSnapshotAttribute& value) { m_dBClusterSnapshotAttributesHasBeenSet = true; m_dBClusterSnapshotAttributes.push_back(value); return *this; }
70 inline DBClusterSnapshotAttributesResult& AddDBClusterSnapshotAttributes(DBClusterSnapshotAttribute&& value) { m_dBClusterSnapshotAttributesHasBeenSet = true; m_dBClusterSnapshotAttributes.push_back(std::move(value)); return *this; }
72 private:
73
74 Aws::String m_dBClusterSnapshotIdentifier;
75 bool m_dBClusterSnapshotIdentifierHasBeenSet = false;
76
77 Aws::Vector<DBClusterSnapshotAttribute> m_dBClusterSnapshotAttributes;
78 bool m_dBClusterSnapshotAttributesHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace DocDB
83} // namespace Aws
DBClusterSnapshotAttributesResult & WithDBClusterSnapshotIdentifier(const char *value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &oStream, const char *location) const
DBClusterSnapshotAttributesResult & AddDBClusterSnapshotAttributes(DBClusterSnapshotAttribute &&value)
void SetDBClusterSnapshotAttributes(Aws::Vector< DBClusterSnapshotAttribute > &&value)
const Aws::Vector< DBClusterSnapshotAttribute > & GetDBClusterSnapshotAttributes() const
DBClusterSnapshotAttributesResult & WithDBClusterSnapshotAttributes(const Aws::Vector< DBClusterSnapshotAttribute > &value)
DBClusterSnapshotAttributesResult & WithDBClusterSnapshotAttributes(Aws::Vector< DBClusterSnapshotAttribute > &&value)
AWS_DOCDB_API DBClusterSnapshotAttributesResult & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDBClusterSnapshotAttributes(const Aws::Vector< DBClusterSnapshotAttribute > &value)
DBClusterSnapshotAttributesResult & WithDBClusterSnapshotIdentifier(Aws::String &&value)
AWS_DOCDB_API DBClusterSnapshotAttributesResult(const Aws::Utils::Xml::XmlNode &xmlNode)
DBClusterSnapshotAttributesResult & AddDBClusterSnapshotAttributes(const DBClusterSnapshotAttribute &value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
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