AWS SDK for C++  1.9.69
AWS SDK for C++
DisableFastSnapshotRestoresResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
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 EC2
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
42  inline const Aws::Vector<DisableFastSnapshotRestoreSuccessItem>& GetSuccessful() const{ return m_successful; }
43 
48  inline void SetSuccessful(const Aws::Vector<DisableFastSnapshotRestoreSuccessItem>& value) { m_successful = value; }
49 
54  inline void SetSuccessful(Aws::Vector<DisableFastSnapshotRestoreSuccessItem>&& value) { m_successful = std::move(value); }
55 
61 
66  inline DisableFastSnapshotRestoresResponse& WithSuccessful(Aws::Vector<DisableFastSnapshotRestoreSuccessItem>&& value) { SetSuccessful(std::move(value)); return *this;}
67 
72  inline DisableFastSnapshotRestoresResponse& AddSuccessful(const DisableFastSnapshotRestoreSuccessItem& value) { m_successful.push_back(value); return *this; }
73 
78  inline DisableFastSnapshotRestoresResponse& AddSuccessful(DisableFastSnapshotRestoreSuccessItem&& value) { m_successful.push_back(std::move(value)); return *this; }
79 
80 
85  inline const Aws::Vector<DisableFastSnapshotRestoreErrorItem>& GetUnsuccessful() const{ return m_unsuccessful; }
86 
91  inline void SetUnsuccessful(const Aws::Vector<DisableFastSnapshotRestoreErrorItem>& value) { m_unsuccessful = value; }
92 
97  inline void SetUnsuccessful(Aws::Vector<DisableFastSnapshotRestoreErrorItem>&& value) { m_unsuccessful = std::move(value); }
98 
104 
109  inline DisableFastSnapshotRestoresResponse& WithUnsuccessful(Aws::Vector<DisableFastSnapshotRestoreErrorItem>&& value) { SetUnsuccessful(std::move(value)); return *this;}
110 
115  inline DisableFastSnapshotRestoresResponse& AddUnsuccessful(const DisableFastSnapshotRestoreErrorItem& value) { m_unsuccessful.push_back(value); return *this; }
116 
121  inline DisableFastSnapshotRestoresResponse& AddUnsuccessful(DisableFastSnapshotRestoreErrorItem&& value) { m_unsuccessful.push_back(std::move(value)); return *this; }
122 
123 
124 
125  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
126 
127 
128  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
129 
130 
131  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
132 
133 
134  inline DisableFastSnapshotRestoresResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
135 
136 
137  inline DisableFastSnapshotRestoresResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
138 
139  private:
140 
142 
144 
145  ResponseMetadata m_responseMetadata;
146  };
147 
148 } // namespace Model
149 } // namespace EC2
150 } // namespace Aws
Aws::EC2::Model::DisableFastSnapshotRestoresResponse
Definition: DisableFastSnapshotRestoresResponse.h:31
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::DisableFastSnapshotRestoresResponse::DisableFastSnapshotRestoresResponse
DisableFastSnapshotRestoresResponse()
Aws::EC2::Model::DisableFastSnapshotRestoresResponse::SetSuccessful
void SetSuccessful(Aws::Vector< DisableFastSnapshotRestoreSuccessItem > &&value)
Definition: DisableFastSnapshotRestoresResponse.h:54
Aws::EC2::Model::DisableFastSnapshotRestoresResponse::WithResponseMetadata
DisableFastSnapshotRestoresResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: DisableFastSnapshotRestoresResponse.h:134
Aws::EC2::Model::DisableFastSnapshotRestoreErrorItem
Definition: DisableFastSnapshotRestoreErrorItem.h:35
Aws::EC2::Model::DisableFastSnapshotRestoresResponse::WithResponseMetadata
DisableFastSnapshotRestoresResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: DisableFastSnapshotRestoresResponse.h:137
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
DisableFastSnapshotRestoreErrorItem.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::DisableFastSnapshotRestoresResponse::SetUnsuccessful
void SetUnsuccessful(Aws::Vector< DisableFastSnapshotRestoreErrorItem > &&value)
Definition: DisableFastSnapshotRestoresResponse.h:97
AWSVector.h
Aws::EC2::Model::DisableFastSnapshotRestoresResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DisableFastSnapshotRestoresResponse.h:131
Aws::EC2::Model::DisableFastSnapshotRestoresResponse::WithUnsuccessful
DisableFastSnapshotRestoresResponse & WithUnsuccessful(Aws::Vector< DisableFastSnapshotRestoreErrorItem > &&value)
Definition: DisableFastSnapshotRestoresResponse.h:109
Aws::EC2::Model::DisableFastSnapshotRestoresResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DisableFastSnapshotRestoresResponse.h:128
Aws::EC2::Model::DisableFastSnapshotRestoresResponse::WithSuccessful
DisableFastSnapshotRestoresResponse & WithSuccessful(Aws::Vector< DisableFastSnapshotRestoreSuccessItem > &&value)
Definition: DisableFastSnapshotRestoresResponse.h:66
DisableFastSnapshotRestoreSuccessItem.h
Aws::EC2::Model::DisableFastSnapshotRestoresResponse::GetUnsuccessful
const Aws::Vector< DisableFastSnapshotRestoreErrorItem > & GetUnsuccessful() const
Definition: DisableFastSnapshotRestoresResponse.h:85
Aws::EC2::Model::DisableFastSnapshotRestoresResponse::SetUnsuccessful
void SetUnsuccessful(const Aws::Vector< DisableFastSnapshotRestoreErrorItem > &value)
Definition: DisableFastSnapshotRestoresResponse.h:91
Aws::EC2::Model::DisableFastSnapshotRestoresResponse::WithUnsuccessful
DisableFastSnapshotRestoresResponse & WithUnsuccessful(const Aws::Vector< DisableFastSnapshotRestoreErrorItem > &value)
Definition: DisableFastSnapshotRestoresResponse.h:103
Aws::EC2::Model::DisableFastSnapshotRestoresResponse::SetSuccessful
void SetSuccessful(const Aws::Vector< DisableFastSnapshotRestoreSuccessItem > &value)
Definition: DisableFastSnapshotRestoresResponse.h:48
Aws::EC2::Model::DisableFastSnapshotRestoresResponse::DisableFastSnapshotRestoresResponse
DisableFastSnapshotRestoresResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::DisableFastSnapshotRestoresResponse::AddSuccessful
DisableFastSnapshotRestoresResponse & AddSuccessful(DisableFastSnapshotRestoreSuccessItem &&value)
Definition: DisableFastSnapshotRestoresResponse.h:78
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DisableFastSnapshotRestoresResponse::operator=
DisableFastSnapshotRestoresResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::DisableFastSnapshotRestoresResponse::WithSuccessful
DisableFastSnapshotRestoresResponse & WithSuccessful(const Aws::Vector< DisableFastSnapshotRestoreSuccessItem > &value)
Definition: DisableFastSnapshotRestoresResponse.h:60
EC2_EXPORTS.h
Aws::EC2::Model::DisableFastSnapshotRestoreSuccessItem
Definition: DisableFastSnapshotRestoreSuccessItem.h:35
Aws::EC2::Model::DisableFastSnapshotRestoresResponse::AddSuccessful
DisableFastSnapshotRestoresResponse & AddSuccessful(const DisableFastSnapshotRestoreSuccessItem &value)
Definition: DisableFastSnapshotRestoresResponse.h:72
Aws::EC2::Model::DisableFastSnapshotRestoresResponse::AddUnsuccessful
DisableFastSnapshotRestoresResponse & AddUnsuccessful(DisableFastSnapshotRestoreErrorItem &&value)
Definition: DisableFastSnapshotRestoresResponse.h:121
Aws::EC2::Model::DisableFastSnapshotRestoresResponse::AddUnsuccessful
DisableFastSnapshotRestoresResponse & AddUnsuccessful(const DisableFastSnapshotRestoreErrorItem &value)
Definition: DisableFastSnapshotRestoresResponse.h:115
Aws::EC2::Model::DisableFastSnapshotRestoresResponse::GetSuccessful
const Aws::Vector< DisableFastSnapshotRestoreSuccessItem > & GetSuccessful() const
Definition: DisableFastSnapshotRestoresResponse.h:42
Aws::EC2::Model::DisableFastSnapshotRestoresResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DisableFastSnapshotRestoresResponse.h:125