AWS SDK for C++  1.8.129
AWS SDK for C++
BatchExecuteStatementResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace RDSDataService
25 {
26 namespace Model
27 {
35  {
36  public:
40 
41 
45  inline const Aws::Vector<UpdateResult>& GetUpdateResults() const{ return m_updateResults; }
46 
50  inline void SetUpdateResults(const Aws::Vector<UpdateResult>& value) { m_updateResults = value; }
51 
55  inline void SetUpdateResults(Aws::Vector<UpdateResult>&& value) { m_updateResults = std::move(value); }
56 
60  inline BatchExecuteStatementResult& WithUpdateResults(const Aws::Vector<UpdateResult>& value) { SetUpdateResults(value); return *this;}
61 
65  inline BatchExecuteStatementResult& WithUpdateResults(Aws::Vector<UpdateResult>&& value) { SetUpdateResults(std::move(value)); return *this;}
66 
70  inline BatchExecuteStatementResult& AddUpdateResults(const UpdateResult& value) { m_updateResults.push_back(value); return *this; }
71 
75  inline BatchExecuteStatementResult& AddUpdateResults(UpdateResult&& value) { m_updateResults.push_back(std::move(value)); return *this; }
76 
77  private:
78 
79  Aws::Vector<UpdateResult> m_updateResults;
80  };
81 
82 } // namespace Model
83 } // namespace RDSDataService
84 } // namespace Aws
Aws::RDSDataService::Model::BatchExecuteStatementResult::SetUpdateResults
void SetUpdateResults(const Aws::Vector< UpdateResult > &value)
Definition: BatchExecuteStatementResult.h:50
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_RDSDATASERVICE_API
#define AWS_RDSDATASERVICE_API
Definition: RDSDataService_EXPORTS.h:28
UpdateResult.h
Aws::RDSDataService::Model::BatchExecuteStatementResult::WithUpdateResults
BatchExecuteStatementResult & WithUpdateResults(const Aws::Vector< UpdateResult > &value)
Definition: BatchExecuteStatementResult.h:60
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::RDSDataService::Model::BatchExecuteStatementResult::SetUpdateResults
void SetUpdateResults(Aws::Vector< UpdateResult > &&value)
Definition: BatchExecuteStatementResult.h:55
Aws::RDSDataService::Model::BatchExecuteStatementResult
Definition: BatchExecuteStatementResult.h:35
Aws::RDSDataService::Model::BatchExecuteStatementResult::GetUpdateResults
const Aws::Vector< UpdateResult > & GetUpdateResults() const
Definition: BatchExecuteStatementResult.h:45
RDSDataService_EXPORTS.h
Aws::RDSDataService::Model::BatchExecuteStatementResult::BatchExecuteStatementResult
BatchExecuteStatementResult()
Aws::RDSDataService::Model::BatchExecuteStatementResult::operator=
BatchExecuteStatementResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::RDSDataService::Model::BatchExecuteStatementResult::AddUpdateResults
BatchExecuteStatementResult & AddUpdateResults(UpdateResult &&value)
Definition: BatchExecuteStatementResult.h:75
Aws::RDSDataService::Model::BatchExecuteStatementResult::AddUpdateResults
BatchExecuteStatementResult & AddUpdateResults(const UpdateResult &value)
Definition: BatchExecuteStatementResult.h:70
Aws
Definition: AccessManagementClient.h:15
Aws::RDSDataService::Model::UpdateResult
Definition: UpdateResult.h:34
Aws::RDSDataService::Model::BatchExecuteStatementResult::WithUpdateResults
BatchExecuteStatementResult & WithUpdateResults(Aws::Vector< UpdateResult > &&value)
Definition: BatchExecuteStatementResult.h:65
Aws::RDSDataService::Model::BatchExecuteStatementResult::BatchExecuteStatementResult
BatchExecuteStatementResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)