AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DBClusterSnapshotAttributesResult.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 <aws/neptune/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 Neptune
24{
25namespace Model
26{
27
39 {
40 public:
41 AWS_NEPTUNE_API DBClusterSnapshotAttributesResult() = default;
44
45 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
46 AWS_NEPTUNE_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 template<typename DBClusterSnapshotIdentifierT = Aws::String>
57 void SetDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT&& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = std::forward<DBClusterSnapshotIdentifierT>(value); }
58 template<typename DBClusterSnapshotIdentifierT = Aws::String>
59 DBClusterSnapshotAttributesResult& WithDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT&& value) { SetDBClusterSnapshotIdentifier(std::forward<DBClusterSnapshotIdentifierT>(value)); return *this;}
61
63
66 inline const Aws::Vector<DBClusterSnapshotAttribute>& GetDBClusterSnapshotAttributes() const { return m_dBClusterSnapshotAttributes; }
67 inline bool DBClusterSnapshotAttributesHasBeenSet() const { return m_dBClusterSnapshotAttributesHasBeenSet; }
68 template<typename DBClusterSnapshotAttributesT = Aws::Vector<DBClusterSnapshotAttribute>>
69 void SetDBClusterSnapshotAttributes(DBClusterSnapshotAttributesT&& value) { m_dBClusterSnapshotAttributesHasBeenSet = true; m_dBClusterSnapshotAttributes = std::forward<DBClusterSnapshotAttributesT>(value); }
70 template<typename DBClusterSnapshotAttributesT = Aws::Vector<DBClusterSnapshotAttribute>>
71 DBClusterSnapshotAttributesResult& WithDBClusterSnapshotAttributes(DBClusterSnapshotAttributesT&& value) { SetDBClusterSnapshotAttributes(std::forward<DBClusterSnapshotAttributesT>(value)); return *this;}
72 template<typename DBClusterSnapshotAttributesT = DBClusterSnapshotAttribute>
73 DBClusterSnapshotAttributesResult& AddDBClusterSnapshotAttributes(DBClusterSnapshotAttributesT&& value) { m_dBClusterSnapshotAttributesHasBeenSet = true; m_dBClusterSnapshotAttributes.emplace_back(std::forward<DBClusterSnapshotAttributesT>(value)); return *this; }
75 private:
76
77 Aws::String m_dBClusterSnapshotIdentifier;
78 bool m_dBClusterSnapshotIdentifierHasBeenSet = false;
79
80 Aws::Vector<DBClusterSnapshotAttribute> m_dBClusterSnapshotAttributes;
81 bool m_dBClusterSnapshotAttributesHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace Neptune
86} // namespace Aws
DBClusterSnapshotAttributesResult & WithDBClusterSnapshotAttributes(DBClusterSnapshotAttributesT &&value)
AWS_NEPTUNE_API DBClusterSnapshotAttributesResult & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDBClusterSnapshotAttributes(DBClusterSnapshotAttributesT &&value)
const Aws::Vector< DBClusterSnapshotAttribute > & GetDBClusterSnapshotAttributes() const
DBClusterSnapshotAttributesResult & AddDBClusterSnapshotAttributes(DBClusterSnapshotAttributesT &&value)
DBClusterSnapshotAttributesResult & WithDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT &&value)
void SetDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT &&value)
AWS_NEPTUNE_API DBClusterSnapshotAttributesResult(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) 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