AWS SDK for C++  1.9.104
AWS SDK for C++
DBSnapshotAttributesResult.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 
38  {
39  public:
43 
44  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45  void OutputToStream(Aws::OStream& oStream, const char* location) const;
46 
47 
51  inline const Aws::String& GetDBSnapshotIdentifier() const{ return m_dBSnapshotIdentifier; }
52 
56  inline bool DBSnapshotIdentifierHasBeenSet() const { return m_dBSnapshotIdentifierHasBeenSet; }
57 
61  inline void SetDBSnapshotIdentifier(const Aws::String& value) { m_dBSnapshotIdentifierHasBeenSet = true; m_dBSnapshotIdentifier = value; }
62 
66  inline void SetDBSnapshotIdentifier(Aws::String&& value) { m_dBSnapshotIdentifierHasBeenSet = true; m_dBSnapshotIdentifier = std::move(value); }
67 
71  inline void SetDBSnapshotIdentifier(const char* value) { m_dBSnapshotIdentifierHasBeenSet = true; m_dBSnapshotIdentifier.assign(value); }
72 
76  inline DBSnapshotAttributesResult& WithDBSnapshotIdentifier(const Aws::String& value) { SetDBSnapshotIdentifier(value); return *this;}
77 
81  inline DBSnapshotAttributesResult& WithDBSnapshotIdentifier(Aws::String&& value) { SetDBSnapshotIdentifier(std::move(value)); return *this;}
82 
86  inline DBSnapshotAttributesResult& WithDBSnapshotIdentifier(const char* value) { SetDBSnapshotIdentifier(value); return *this;}
87 
88 
92  inline const Aws::Vector<DBSnapshotAttribute>& GetDBSnapshotAttributes() const{ return m_dBSnapshotAttributes; }
93 
97  inline bool DBSnapshotAttributesHasBeenSet() const { return m_dBSnapshotAttributesHasBeenSet; }
98 
102  inline void SetDBSnapshotAttributes(const Aws::Vector<DBSnapshotAttribute>& value) { m_dBSnapshotAttributesHasBeenSet = true; m_dBSnapshotAttributes = value; }
103 
107  inline void SetDBSnapshotAttributes(Aws::Vector<DBSnapshotAttribute>&& value) { m_dBSnapshotAttributesHasBeenSet = true; m_dBSnapshotAttributes = std::move(value); }
108 
112  inline DBSnapshotAttributesResult& WithDBSnapshotAttributes(const Aws::Vector<DBSnapshotAttribute>& value) { SetDBSnapshotAttributes(value); return *this;}
113 
117  inline DBSnapshotAttributesResult& WithDBSnapshotAttributes(Aws::Vector<DBSnapshotAttribute>&& value) { SetDBSnapshotAttributes(std::move(value)); return *this;}
118 
122  inline DBSnapshotAttributesResult& AddDBSnapshotAttributes(const DBSnapshotAttribute& value) { m_dBSnapshotAttributesHasBeenSet = true; m_dBSnapshotAttributes.push_back(value); return *this; }
123 
127  inline DBSnapshotAttributesResult& AddDBSnapshotAttributes(DBSnapshotAttribute&& value) { m_dBSnapshotAttributesHasBeenSet = true; m_dBSnapshotAttributes.push_back(std::move(value)); return *this; }
128 
129  private:
130 
131  Aws::String m_dBSnapshotIdentifier;
132  bool m_dBSnapshotIdentifierHasBeenSet;
133 
134  Aws::Vector<DBSnapshotAttribute> m_dBSnapshotAttributes;
135  bool m_dBSnapshotAttributesHasBeenSet;
136  };
137 
138 } // namespace Model
139 } // namespace RDS
140 } // namespace Aws
Aws::RDS::Model::DBSnapshotAttributesResult::GetDBSnapshotIdentifier
const Aws::String & GetDBSnapshotIdentifier() const
Definition: DBSnapshotAttributesResult.h:51
Aws::RDS::Model::DBSnapshotAttributesResult::DBSnapshotAttributesHasBeenSet
bool DBSnapshotAttributesHasBeenSet() const
Definition: DBSnapshotAttributesResult.h:97
Aws::RDS::Model::DBSnapshotAttribute
Definition: DBSnapshotAttribute.h:36
Aws::RDS::Model::DBSnapshotAttributesResult::WithDBSnapshotAttributes
DBSnapshotAttributesResult & WithDBSnapshotAttributes(const Aws::Vector< DBSnapshotAttribute > &value)
Definition: DBSnapshotAttributesResult.h:112
Aws::RDS::Model::DBSnapshotAttributesResult::AddDBSnapshotAttributes
DBSnapshotAttributesResult & AddDBSnapshotAttributes(DBSnapshotAttribute &&value)
Definition: DBSnapshotAttributesResult.h:127
Aws::RDS::Model::DBSnapshotAttributesResult::operator=
DBSnapshotAttributesResult & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSStreamFwd.h
AWSVector.h
Aws::RDS::Model::DBSnapshotAttributesResult::WithDBSnapshotIdentifier
DBSnapshotAttributesResult & WithDBSnapshotIdentifier(Aws::String &&value)
Definition: DBSnapshotAttributesResult.h:81
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::RDS::Model::DBSnapshotAttributesResult::SetDBSnapshotIdentifier
void SetDBSnapshotIdentifier(const Aws::String &value)
Definition: DBSnapshotAttributesResult.h:61
Aws::RDS::Model::DBSnapshotAttributesResult::WithDBSnapshotIdentifier
DBSnapshotAttributesResult & WithDBSnapshotIdentifier(const Aws::String &value)
Definition: DBSnapshotAttributesResult.h:76
RDS_EXPORTS.h
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
DBSnapshotAttribute.h
Aws::RDS::Model::DBSnapshotAttributesResult::SetDBSnapshotAttributes
void SetDBSnapshotAttributes(Aws::Vector< DBSnapshotAttribute > &&value)
Definition: DBSnapshotAttributesResult.h:107
Aws::RDS::Model::DBSnapshotAttributesResult::DBSnapshotIdentifierHasBeenSet
bool DBSnapshotIdentifierHasBeenSet() const
Definition: DBSnapshotAttributesResult.h:56
Aws::RDS::Model::DBSnapshotAttributesResult::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::RDS::Model::DBSnapshotAttributesResult::WithDBSnapshotAttributes
DBSnapshotAttributesResult & WithDBSnapshotAttributes(Aws::Vector< DBSnapshotAttribute > &&value)
Definition: DBSnapshotAttributesResult.h:117
Aws::RDS::Model::DBSnapshotAttributesResult::DBSnapshotAttributesResult
DBSnapshotAttributesResult()
AWSString.h
Aws::RDS::Model::DBSnapshotAttributesResult::SetDBSnapshotIdentifier
void SetDBSnapshotIdentifier(Aws::String &&value)
Definition: DBSnapshotAttributesResult.h:66
Aws::RDS::Model::DBSnapshotAttributesResult::SetDBSnapshotAttributes
void SetDBSnapshotAttributes(const Aws::Vector< DBSnapshotAttribute > &value)
Definition: DBSnapshotAttributesResult.h:102
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DBSnapshotAttributesResult::GetDBSnapshotAttributes
const Aws::Vector< DBSnapshotAttribute > & GetDBSnapshotAttributes() const
Definition: DBSnapshotAttributesResult.h:92
Aws::RDS::Model::DBSnapshotAttributesResult::AddDBSnapshotAttributes
DBSnapshotAttributesResult & AddDBSnapshotAttributes(const DBSnapshotAttribute &value)
Definition: DBSnapshotAttributesResult.h:122
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::DBSnapshotAttributesResult::DBSnapshotAttributesResult
DBSnapshotAttributesResult(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::DBSnapshotAttributesResult::WithDBSnapshotIdentifier
DBSnapshotAttributesResult & WithDBSnapshotIdentifier(const char *value)
Definition: DBSnapshotAttributesResult.h:86
Aws::RDS::Model::DBSnapshotAttributesResult::SetDBSnapshotIdentifier
void SetDBSnapshotIdentifier(const char *value)
Definition: DBSnapshotAttributesResult.h:71
index
int index
Definition: cJSON.h:181
Aws::RDS::Model::DBSnapshotAttributesResult
Definition: DBSnapshotAttributesResult.h:38
Aws::RDS::Model::DBSnapshotAttributesResult::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const