AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeDBSnapshotsResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/rds/RDS_EXPORTS.h>
10#include <aws/rds/model/DBSnapshot.h>
11#include <aws/rds/model/ResponseMetadata.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Xml {
21class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace RDS {
25namespace Model {
33 public:
34 AWS_RDS_API DescribeDBSnapshotsResult() = default;
37
39
44 inline const Aws::String& GetMarker() const { return m_marker; }
45 template <typename MarkerT = Aws::String>
46 void SetMarker(MarkerT&& value) {
47 m_markerHasBeenSet = true;
48 m_marker = std::forward<MarkerT>(value);
49 }
50 template <typename MarkerT = Aws::String>
52 SetMarker(std::forward<MarkerT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::Vector<DBSnapshot>& GetDBSnapshots() const { return m_dBSnapshots; }
62 template <typename DBSnapshotsT = Aws::Vector<DBSnapshot>>
63 void SetDBSnapshots(DBSnapshotsT&& value) {
64 m_dBSnapshotsHasBeenSet = true;
65 m_dBSnapshots = std::forward<DBSnapshotsT>(value);
66 }
67 template <typename DBSnapshotsT = Aws::Vector<DBSnapshot>>
69 SetDBSnapshots(std::forward<DBSnapshotsT>(value));
70 return *this;
71 }
72 template <typename DBSnapshotsT = DBSnapshot>
74 m_dBSnapshotsHasBeenSet = true;
75 m_dBSnapshots.emplace_back(std::forward<DBSnapshotsT>(value));
76 return *this;
77 }
79
81
82 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
83 template <typename ResponseMetadataT = ResponseMetadata>
84 void SetResponseMetadata(ResponseMetadataT&& value) {
85 m_responseMetadataHasBeenSet = true;
86 m_responseMetadata = std::forward<ResponseMetadataT>(value);
87 }
88 template <typename ResponseMetadataT = ResponseMetadata>
89 DescribeDBSnapshotsResult& WithResponseMetadata(ResponseMetadataT&& value) {
90 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_marker;
96
97 Aws::Vector<DBSnapshot> m_dBSnapshots;
98
99 ResponseMetadata m_responseMetadata;
100 bool m_markerHasBeenSet = false;
101 bool m_dBSnapshotsHasBeenSet = false;
102 bool m_responseMetadataHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace RDS
107} // namespace Aws
DescribeDBSnapshotsResult & WithDBSnapshots(DBSnapshotsT &&value)
const Aws::Vector< DBSnapshot > & GetDBSnapshots() const
DescribeDBSnapshotsResult & WithResponseMetadata(ResponseMetadataT &&value)
void SetResponseMetadata(ResponseMetadataT &&value)
const ResponseMetadata & GetResponseMetadata() const
AWS_RDS_API DescribeDBSnapshotsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_RDS_API DescribeDBSnapshotsResult()=default
AWS_RDS_API DescribeDBSnapshotsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeDBSnapshotsResult & WithMarker(MarkerT &&value)
DescribeDBSnapshotsResult & AddDBSnapshots(DBSnapshotsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument