AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DBSnapshotAttributesResult.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/DBSnapshotAttribute.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
38 {
39 public:
40 AWS_RDS_API DBSnapshotAttributesResult() = default;
43
44 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
46
47
49
52 inline const Aws::String& GetDBSnapshotIdentifier() const { return m_dBSnapshotIdentifier; }
53 inline bool DBSnapshotIdentifierHasBeenSet() const { return m_dBSnapshotIdentifierHasBeenSet; }
54 template<typename DBSnapshotIdentifierT = Aws::String>
55 void SetDBSnapshotIdentifier(DBSnapshotIdentifierT&& value) { m_dBSnapshotIdentifierHasBeenSet = true; m_dBSnapshotIdentifier = std::forward<DBSnapshotIdentifierT>(value); }
56 template<typename DBSnapshotIdentifierT = Aws::String>
57 DBSnapshotAttributesResult& WithDBSnapshotIdentifier(DBSnapshotIdentifierT&& value) { SetDBSnapshotIdentifier(std::forward<DBSnapshotIdentifierT>(value)); return *this;}
59
61
64 inline const Aws::Vector<DBSnapshotAttribute>& GetDBSnapshotAttributes() const { return m_dBSnapshotAttributes; }
65 inline bool DBSnapshotAttributesHasBeenSet() const { return m_dBSnapshotAttributesHasBeenSet; }
66 template<typename DBSnapshotAttributesT = Aws::Vector<DBSnapshotAttribute>>
67 void SetDBSnapshotAttributes(DBSnapshotAttributesT&& value) { m_dBSnapshotAttributesHasBeenSet = true; m_dBSnapshotAttributes = std::forward<DBSnapshotAttributesT>(value); }
68 template<typename DBSnapshotAttributesT = Aws::Vector<DBSnapshotAttribute>>
69 DBSnapshotAttributesResult& WithDBSnapshotAttributes(DBSnapshotAttributesT&& value) { SetDBSnapshotAttributes(std::forward<DBSnapshotAttributesT>(value)); return *this;}
70 template<typename DBSnapshotAttributesT = DBSnapshotAttribute>
71 DBSnapshotAttributesResult& AddDBSnapshotAttributes(DBSnapshotAttributesT&& value) { m_dBSnapshotAttributesHasBeenSet = true; m_dBSnapshotAttributes.emplace_back(std::forward<DBSnapshotAttributesT>(value)); return *this; }
73 private:
74
75 Aws::String m_dBSnapshotIdentifier;
76 bool m_dBSnapshotIdentifierHasBeenSet = false;
77
78 Aws::Vector<DBSnapshotAttribute> m_dBSnapshotAttributes;
79 bool m_dBSnapshotAttributesHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace RDS
84} // namespace Aws
DBSnapshotAttributesResult & AddDBSnapshotAttributes(DBSnapshotAttributesT &&value)
DBSnapshotAttributesResult & WithDBSnapshotIdentifier(DBSnapshotIdentifierT &&value)
AWS_RDS_API DBSnapshotAttributesResult()=default
void SetDBSnapshotIdentifier(DBSnapshotIdentifierT &&value)
void SetDBSnapshotAttributes(DBSnapshotAttributesT &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
DBSnapshotAttributesResult & WithDBSnapshotAttributes(DBSnapshotAttributesT &&value)
AWS_RDS_API DBSnapshotAttributesResult(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< DBSnapshotAttribute > & GetDBSnapshotAttributes() const
AWS_RDS_API DBSnapshotAttributesResult & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_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