AWS SDK for C++  1.9.108
AWS SDK for C++
DBClusterSnapshotAttributesResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlNode;
21 } // namespace Xml
22 } // namespace Utils
23 namespace RDS
24 {
25 namespace Model
26 {
27 
39  {
40  public:
44 
45  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
46  void OutputToStream(Aws::OStream& oStream, const char* location) const;
47 
48 
53  inline const Aws::String& GetDBClusterSnapshotIdentifier() const{ return m_dBClusterSnapshotIdentifier; }
54 
59  inline bool DBClusterSnapshotIdentifierHasBeenSet() const { return m_dBClusterSnapshotIdentifierHasBeenSet; }
60 
65  inline void SetDBClusterSnapshotIdentifier(const Aws::String& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = value; }
66 
71  inline void SetDBClusterSnapshotIdentifier(Aws::String&& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = std::move(value); }
72 
77  inline void SetDBClusterSnapshotIdentifier(const char* value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier.assign(value); }
78 
83  inline DBClusterSnapshotAttributesResult& WithDBClusterSnapshotIdentifier(const Aws::String& value) { SetDBClusterSnapshotIdentifier(value); return *this;}
84 
89  inline DBClusterSnapshotAttributesResult& WithDBClusterSnapshotIdentifier(Aws::String&& value) { SetDBClusterSnapshotIdentifier(std::move(value)); return *this;}
90 
95  inline DBClusterSnapshotAttributesResult& WithDBClusterSnapshotIdentifier(const char* value) { SetDBClusterSnapshotIdentifier(value); return *this;}
96 
97 
101  inline const Aws::Vector<DBClusterSnapshotAttribute>& GetDBClusterSnapshotAttributes() const{ return m_dBClusterSnapshotAttributes; }
102 
106  inline bool DBClusterSnapshotAttributesHasBeenSet() const { return m_dBClusterSnapshotAttributesHasBeenSet; }
107 
111  inline void SetDBClusterSnapshotAttributes(const Aws::Vector<DBClusterSnapshotAttribute>& value) { m_dBClusterSnapshotAttributesHasBeenSet = true; m_dBClusterSnapshotAttributes = value; }
112 
116  inline void SetDBClusterSnapshotAttributes(Aws::Vector<DBClusterSnapshotAttribute>&& value) { m_dBClusterSnapshotAttributesHasBeenSet = true; m_dBClusterSnapshotAttributes = std::move(value); }
117 
121  inline DBClusterSnapshotAttributesResult& WithDBClusterSnapshotAttributes(const Aws::Vector<DBClusterSnapshotAttribute>& value) { SetDBClusterSnapshotAttributes(value); return *this;}
122 
126  inline DBClusterSnapshotAttributesResult& WithDBClusterSnapshotAttributes(Aws::Vector<DBClusterSnapshotAttribute>&& value) { SetDBClusterSnapshotAttributes(std::move(value)); return *this;}
127 
131  inline DBClusterSnapshotAttributesResult& AddDBClusterSnapshotAttributes(const DBClusterSnapshotAttribute& value) { m_dBClusterSnapshotAttributesHasBeenSet = true; m_dBClusterSnapshotAttributes.push_back(value); return *this; }
132 
136  inline DBClusterSnapshotAttributesResult& AddDBClusterSnapshotAttributes(DBClusterSnapshotAttribute&& value) { m_dBClusterSnapshotAttributesHasBeenSet = true; m_dBClusterSnapshotAttributes.push_back(std::move(value)); return *this; }
137 
138  private:
139 
140  Aws::String m_dBClusterSnapshotIdentifier;
141  bool m_dBClusterSnapshotIdentifierHasBeenSet;
142 
143  Aws::Vector<DBClusterSnapshotAttribute> m_dBClusterSnapshotAttributes;
144  bool m_dBClusterSnapshotAttributesHasBeenSet;
145  };
146 
147 } // namespace Model
148 } // namespace RDS
149 } // namespace Aws
Aws::RDS::Model::DBClusterSnapshotAttributesResult::DBClusterSnapshotAttributesResult
DBClusterSnapshotAttributesResult(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::DBClusterSnapshotAttributesResult::DBClusterSnapshotAttributesResult
DBClusterSnapshotAttributesResult()
DBClusterSnapshotAttribute.h
Aws::RDS::Model::DBClusterSnapshotAttributesResult::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::RDS::Model::DBClusterSnapshotAttributesResult::SetDBClusterSnapshotIdentifier
void SetDBClusterSnapshotIdentifier(const char *value)
Definition: DBClusterSnapshotAttributesResult.h:77
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DBClusterSnapshotAttributesResult::DBClusterSnapshotAttributesHasBeenSet
bool DBClusterSnapshotAttributesHasBeenSet() const
Definition: DBClusterSnapshotAttributesResult.h:106
Aws::RDS::Model::DBClusterSnapshotAttributesResult::SetDBClusterSnapshotAttributes
void SetDBClusterSnapshotAttributes(const Aws::Vector< DBClusterSnapshotAttribute > &value)
Definition: DBClusterSnapshotAttributesResult.h:111
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::DBClusterSnapshotAttributesResult::SetDBClusterSnapshotIdentifier
void SetDBClusterSnapshotIdentifier(const Aws::String &value)
Definition: DBClusterSnapshotAttributesResult.h:65
Aws::RDS::Model::DBClusterSnapshotAttributesResult::SetDBClusterSnapshotAttributes
void SetDBClusterSnapshotAttributes(Aws::Vector< DBClusterSnapshotAttribute > &&value)
Definition: DBClusterSnapshotAttributesResult.h:116
AWSStreamFwd.h
AWSVector.h
Aws::RDS::Model::DBClusterSnapshotAttributesResult::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::RDS::Model::DBClusterSnapshotAttributesResult::WithDBClusterSnapshotAttributes
DBClusterSnapshotAttributesResult & WithDBClusterSnapshotAttributes(Aws::Vector< DBClusterSnapshotAttribute > &&value)
Definition: DBClusterSnapshotAttributesResult.h:126
Aws::RDS::Model::DBClusterSnapshotAttributesResult::WithDBClusterSnapshotIdentifier
DBClusterSnapshotAttributesResult & WithDBClusterSnapshotIdentifier(Aws::String &&value)
Definition: DBClusterSnapshotAttributesResult.h:89
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::RDS::Model::DBClusterSnapshotAttributesResult::SetDBClusterSnapshotIdentifier
void SetDBClusterSnapshotIdentifier(Aws::String &&value)
Definition: DBClusterSnapshotAttributesResult.h:71
RDS_EXPORTS.h
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::RDS::Model::DBClusterSnapshotAttribute
Definition: DBClusterSnapshotAttribute.h:37
AWSString.h
Aws::RDS::Model::DBClusterSnapshotAttributesResult::AddDBClusterSnapshotAttributes
DBClusterSnapshotAttributesResult & AddDBClusterSnapshotAttributes(const DBClusterSnapshotAttribute &value)
Definition: DBClusterSnapshotAttributesResult.h:131
Aws::RDS::Model::DBClusterSnapshotAttributesResult::WithDBClusterSnapshotAttributes
DBClusterSnapshotAttributesResult & WithDBClusterSnapshotAttributes(const Aws::Vector< DBClusterSnapshotAttribute > &value)
Definition: DBClusterSnapshotAttributesResult.h:121
Aws::RDS::Model::DBClusterSnapshotAttributesResult::DBClusterSnapshotIdentifierHasBeenSet
bool DBClusterSnapshotIdentifierHasBeenSet() const
Definition: DBClusterSnapshotAttributesResult.h:59
Aws::RDS::Model::DBClusterSnapshotAttributesResult::WithDBClusterSnapshotIdentifier
DBClusterSnapshotAttributesResult & WithDBClusterSnapshotIdentifier(const Aws::String &value)
Definition: DBClusterSnapshotAttributesResult.h:83
Aws::RDS::Model::DBClusterSnapshotAttributesResult::GetDBClusterSnapshotAttributes
const Aws::Vector< DBClusterSnapshotAttribute > & GetDBClusterSnapshotAttributes() const
Definition: DBClusterSnapshotAttributesResult.h:101
Aws::RDS::Model::DBClusterSnapshotAttributesResult::WithDBClusterSnapshotIdentifier
DBClusterSnapshotAttributesResult & WithDBClusterSnapshotIdentifier(const char *value)
Definition: DBClusterSnapshotAttributesResult.h:95
Aws::RDS::Model::DBClusterSnapshotAttributesResult::operator=
DBClusterSnapshotAttributesResult & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::DBClusterSnapshotAttributesResult::AddDBClusterSnapshotAttributes
DBClusterSnapshotAttributesResult & AddDBClusterSnapshotAttributes(DBClusterSnapshotAttribute &&value)
Definition: DBClusterSnapshotAttributesResult.h:136
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
Aws::RDS::Model::DBClusterSnapshotAttributesResult
Definition: DBClusterSnapshotAttributesResult.h:39
Aws::RDS::Model::DBClusterSnapshotAttributesResult::GetDBClusterSnapshotIdentifier
const Aws::String & GetDBClusterSnapshotIdentifier() const
Definition: DBClusterSnapshotAttributesResult.h:53