AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetDBSnapshotIdentifier(const Aws::String& value) { m_dBSnapshotIdentifierHasBeenSet = true; m_dBSnapshotIdentifier = value; }
55 inline void SetDBSnapshotIdentifier(Aws::String&& value) { m_dBSnapshotIdentifierHasBeenSet = true; m_dBSnapshotIdentifier = std::move(value); }
56 inline void SetDBSnapshotIdentifier(const char* value) { m_dBSnapshotIdentifierHasBeenSet = true; m_dBSnapshotIdentifier.assign(value); }
59 inline DBSnapshotAttributesResult& WithDBSnapshotIdentifier(const char* value) { SetDBSnapshotIdentifier(value); return *this;}
61
63
66 inline const Aws::Vector<DBSnapshotAttribute>& GetDBSnapshotAttributes() const{ return m_dBSnapshotAttributes; }
67 inline bool DBSnapshotAttributesHasBeenSet() const { return m_dBSnapshotAttributesHasBeenSet; }
68 inline void SetDBSnapshotAttributes(const Aws::Vector<DBSnapshotAttribute>& value) { m_dBSnapshotAttributesHasBeenSet = true; m_dBSnapshotAttributes = value; }
69 inline void SetDBSnapshotAttributes(Aws::Vector<DBSnapshotAttribute>&& value) { m_dBSnapshotAttributesHasBeenSet = true; m_dBSnapshotAttributes = std::move(value); }
72 inline DBSnapshotAttributesResult& AddDBSnapshotAttributes(const DBSnapshotAttribute& value) { m_dBSnapshotAttributesHasBeenSet = true; m_dBSnapshotAttributes.push_back(value); return *this; }
73 inline DBSnapshotAttributesResult& AddDBSnapshotAttributes(DBSnapshotAttribute&& value) { m_dBSnapshotAttributesHasBeenSet = true; m_dBSnapshotAttributes.push_back(std::move(value)); return *this; }
75 private:
76
77 Aws::String m_dBSnapshotIdentifier;
78 bool m_dBSnapshotIdentifierHasBeenSet = false;
79
80 Aws::Vector<DBSnapshotAttribute> m_dBSnapshotAttributes;
81 bool m_dBSnapshotAttributesHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace RDS
86} // namespace Aws
DBSnapshotAttributesResult & AddDBSnapshotAttributes(const DBSnapshotAttribute &value)
DBSnapshotAttributesResult & AddDBSnapshotAttributes(DBSnapshotAttribute &&value)
DBSnapshotAttributesResult & WithDBSnapshotIdentifier(Aws::String &&value)
DBSnapshotAttributesResult & WithDBSnapshotIdentifier(const Aws::String &value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
DBSnapshotAttributesResult & WithDBSnapshotAttributes(const Aws::Vector< DBSnapshotAttribute > &value)
DBSnapshotAttributesResult & WithDBSnapshotIdentifier(const char *value)
AWS_RDS_API DBSnapshotAttributesResult(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< DBSnapshotAttribute > & GetDBSnapshotAttributes() const
void SetDBSnapshotAttributes(const Aws::Vector< DBSnapshotAttribute > &value)
DBSnapshotAttributesResult & WithDBSnapshotAttributes(Aws::Vector< DBSnapshotAttribute > &&value)
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
void SetDBSnapshotAttributes(Aws::Vector< DBSnapshotAttribute > &&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