AWS SDK for C++  1.9.110
AWS SDK for C++
DescribeTableRestoreStatusResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Xml
22 {
23  class XmlDocument;
24 } // namespace Xml
25 } // namespace Utils
26 namespace Redshift
27 {
28 namespace Model
29 {
36  {
37  public:
41 
42 
46  inline const Aws::Vector<TableRestoreStatus>& GetTableRestoreStatusDetails() const{ return m_tableRestoreStatusDetails; }
47 
51  inline void SetTableRestoreStatusDetails(const Aws::Vector<TableRestoreStatus>& value) { m_tableRestoreStatusDetails = value; }
52 
56  inline void SetTableRestoreStatusDetails(Aws::Vector<TableRestoreStatus>&& value) { m_tableRestoreStatusDetails = std::move(value); }
57 
61  inline DescribeTableRestoreStatusResult& WithTableRestoreStatusDetails(const Aws::Vector<TableRestoreStatus>& value) { SetTableRestoreStatusDetails(value); return *this;}
62 
66  inline DescribeTableRestoreStatusResult& WithTableRestoreStatusDetails(Aws::Vector<TableRestoreStatus>&& value) { SetTableRestoreStatusDetails(std::move(value)); return *this;}
67 
71  inline DescribeTableRestoreStatusResult& AddTableRestoreStatusDetails(const TableRestoreStatus& value) { m_tableRestoreStatusDetails.push_back(value); return *this; }
72 
76  inline DescribeTableRestoreStatusResult& AddTableRestoreStatusDetails(TableRestoreStatus&& value) { m_tableRestoreStatusDetails.push_back(std::move(value)); return *this; }
77 
78 
83  inline const Aws::String& GetMarker() const{ return m_marker; }
84 
89  inline void SetMarker(const Aws::String& value) { m_marker = value; }
90 
95  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
96 
101  inline void SetMarker(const char* value) { m_marker.assign(value); }
102 
107  inline DescribeTableRestoreStatusResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
108 
113  inline DescribeTableRestoreStatusResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
114 
119  inline DescribeTableRestoreStatusResult& WithMarker(const char* value) { SetMarker(value); return *this;}
120 
121 
122 
123  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
124 
125 
126  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
127 
128 
129  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
130 
131 
132  inline DescribeTableRestoreStatusResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
133 
134 
135  inline DescribeTableRestoreStatusResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
136 
137  private:
138 
139  Aws::Vector<TableRestoreStatus> m_tableRestoreStatusDetails;
140 
141  Aws::String m_marker;
142 
143  ResponseMetadata m_responseMetadata;
144  };
145 
146 } // namespace Model
147 } // namespace Redshift
148 } // namespace Aws
Aws::Redshift::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::Redshift::Model::DescribeTableRestoreStatusResult::AddTableRestoreStatusDetails
DescribeTableRestoreStatusResult & AddTableRestoreStatusDetails(TableRestoreStatus &&value)
Definition: DescribeTableRestoreStatusResult.h:76
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Redshift::Model::DescribeTableRestoreStatusResult::SetMarker
void SetMarker(const char *value)
Definition: DescribeTableRestoreStatusResult.h:101
Aws::Redshift::Model::DescribeTableRestoreStatusResult::WithTableRestoreStatusDetails
DescribeTableRestoreStatusResult & WithTableRestoreStatusDetails(Aws::Vector< TableRestoreStatus > &&value)
Definition: DescribeTableRestoreStatusResult.h:66
Aws::Redshift::Model::DescribeTableRestoreStatusResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeTableRestoreStatusResult.h:126
Aws::Redshift::Model::TableRestoreStatus
Definition: TableRestoreStatus.h:35
Aws::Redshift::Model::DescribeTableRestoreStatusResult::WithMarker
DescribeTableRestoreStatusResult & WithMarker(const char *value)
Definition: DescribeTableRestoreStatusResult.h:119
Aws::Redshift::Model::DescribeTableRestoreStatusResult::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeTableRestoreStatusResult.h:83
Aws::Redshift::Model::DescribeTableRestoreStatusResult::SetTableRestoreStatusDetails
void SetTableRestoreStatusDetails(Aws::Vector< TableRestoreStatus > &&value)
Definition: DescribeTableRestoreStatusResult.h:56
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Redshift::Model::DescribeTableRestoreStatusResult::GetTableRestoreStatusDetails
const Aws::Vector< TableRestoreStatus > & GetTableRestoreStatusDetails() const
Definition: DescribeTableRestoreStatusResult.h:46
Aws::Redshift::Model::DescribeTableRestoreStatusResult::WithResponseMetadata
DescribeTableRestoreStatusResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeTableRestoreStatusResult.h:132
Aws::Redshift::Model::DescribeTableRestoreStatusResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeTableRestoreStatusResult.h:95
Aws::Redshift::Model::DescribeTableRestoreStatusResult::SetTableRestoreStatusDetails
void SetTableRestoreStatusDetails(const Aws::Vector< TableRestoreStatus > &value)
Definition: DescribeTableRestoreStatusResult.h:51
Aws::Redshift::Model::DescribeTableRestoreStatusResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeTableRestoreStatusResult.h:89
Aws::Redshift::Model::DescribeTableRestoreStatusResult::DescribeTableRestoreStatusResult
DescribeTableRestoreStatusResult()
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DescribeTableRestoreStatusResult::DescribeTableRestoreStatusResult
DescribeTableRestoreStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::DescribeTableRestoreStatusResult::WithResponseMetadata
DescribeTableRestoreStatusResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeTableRestoreStatusResult.h:135
Aws::Redshift::Model::DescribeTableRestoreStatusResult
Definition: DescribeTableRestoreStatusResult.h:36
AWSString.h
Aws::Redshift::Model::DescribeTableRestoreStatusResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeTableRestoreStatusResult.h:123
Aws::Redshift::Model::DescribeTableRestoreStatusResult::WithMarker
DescribeTableRestoreStatusResult & WithMarker(Aws::String &&value)
Definition: DescribeTableRestoreStatusResult.h:113
TableRestoreStatus.h
Aws::Redshift::Model::DescribeTableRestoreStatusResult::AddTableRestoreStatusDetails
DescribeTableRestoreStatusResult & AddTableRestoreStatusDetails(const TableRestoreStatus &value)
Definition: DescribeTableRestoreStatusResult.h:71
Aws
Definition: AccessManagementClient.h:15
Aws::Redshift::Model::DescribeTableRestoreStatusResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeTableRestoreStatusResult.h:129
Redshift_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ResponseMetadata.h
Aws::Redshift::Model::DescribeTableRestoreStatusResult::WithMarker
DescribeTableRestoreStatusResult & WithMarker(const Aws::String &value)
Definition: DescribeTableRestoreStatusResult.h:107
Aws::Redshift::Model::DescribeTableRestoreStatusResult::WithTableRestoreStatusDetails
DescribeTableRestoreStatusResult & WithTableRestoreStatusDetails(const Aws::Vector< TableRestoreStatus > &value)
Definition: DescribeTableRestoreStatusResult.h:61
Aws::Redshift::Model::DescribeTableRestoreStatusResult::operator=
DescribeTableRestoreStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)