AWS SDK for C++  1.8.126
AWS SDK for C++
SqlStatementResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace RDSDataService
22 {
23 namespace Model
24 {
25 
34  {
35  public:
40 
41 
45  inline long long GetNumberOfRecordsUpdated() const{ return m_numberOfRecordsUpdated; }
46 
50  inline bool NumberOfRecordsUpdatedHasBeenSet() const { return m_numberOfRecordsUpdatedHasBeenSet; }
51 
55  inline void SetNumberOfRecordsUpdated(long long value) { m_numberOfRecordsUpdatedHasBeenSet = true; m_numberOfRecordsUpdated = value; }
56 
60  inline SqlStatementResult& WithNumberOfRecordsUpdated(long long value) { SetNumberOfRecordsUpdated(value); return *this;}
61 
62 
66  inline const ResultFrame& GetResultFrame() const{ return m_resultFrame; }
67 
71  inline bool ResultFrameHasBeenSet() const { return m_resultFrameHasBeenSet; }
72 
76  inline void SetResultFrame(const ResultFrame& value) { m_resultFrameHasBeenSet = true; m_resultFrame = value; }
77 
81  inline void SetResultFrame(ResultFrame&& value) { m_resultFrameHasBeenSet = true; m_resultFrame = std::move(value); }
82 
86  inline SqlStatementResult& WithResultFrame(const ResultFrame& value) { SetResultFrame(value); return *this;}
87 
91  inline SqlStatementResult& WithResultFrame(ResultFrame&& value) { SetResultFrame(std::move(value)); return *this;}
92 
93  private:
94 
95  long long m_numberOfRecordsUpdated;
96  bool m_numberOfRecordsUpdatedHasBeenSet;
97 
98  ResultFrame m_resultFrame;
99  bool m_resultFrameHasBeenSet;
100  };
101 
102 } // namespace Model
103 } // namespace RDSDataService
104 } // namespace Aws
Aws::RDSDataService::Model::SqlStatementResult::WithResultFrame
SqlStatementResult & WithResultFrame(const ResultFrame &value)
Definition: SqlStatementResult.h:86
AWS_RDSDATASERVICE_API
#define AWS_RDSDATASERVICE_API
Definition: RDSDataService_EXPORTS.h:28
ResultFrame.h
Aws::RDSDataService::Model::SqlStatementResult::NumberOfRecordsUpdatedHasBeenSet
bool NumberOfRecordsUpdatedHasBeenSet() const
Definition: SqlStatementResult.h:50
Aws::RDSDataService::Model::ResultFrame
Definition: ResultFrame.h:34
Aws::RDSDataService::Model::SqlStatementResult::WithNumberOfRecordsUpdated
SqlStatementResult & WithNumberOfRecordsUpdated(long long value)
Definition: SqlStatementResult.h:60
Aws::RDSDataService::Model::SqlStatementResult::ResultFrameHasBeenSet
bool ResultFrameHasBeenSet() const
Definition: SqlStatementResult.h:71
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::RDSDataService::Model::SqlStatementResult::SetNumberOfRecordsUpdated
void SetNumberOfRecordsUpdated(long long value)
Definition: SqlStatementResult.h:55
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::RDSDataService::Model::SqlStatementResult::GetResultFrame
const ResultFrame & GetResultFrame() const
Definition: SqlStatementResult.h:66
Aws::RDSDataService::Model::SqlStatementResult::operator=
SqlStatementResult & operator=(Aws::Utils::Json::JsonView jsonValue)
RDSDataService_EXPORTS.h
Aws::RDSDataService::Model::SqlStatementResult::SetResultFrame
void SetResultFrame(ResultFrame &&value)
Definition: SqlStatementResult.h:81
Aws::RDSDataService::Model::SqlStatementResult::SetResultFrame
void SetResultFrame(const ResultFrame &value)
Definition: SqlStatementResult.h:76
Aws
Definition: AccessManagementClient.h:15
Aws::RDSDataService::Model::SqlStatementResult::WithResultFrame
SqlStatementResult & WithResultFrame(ResultFrame &&value)
Definition: SqlStatementResult.h:91
Aws::RDSDataService::Model::SqlStatementResult::GetNumberOfRecordsUpdated
long long GetNumberOfRecordsUpdated() const
Definition: SqlStatementResult.h:45
Aws::RDSDataService::Model::SqlStatementResult
Definition: SqlStatementResult.h:34
Aws::RDSDataService::Model::SqlStatementResult::SqlStatementResult
SqlStatementResult()
Aws::RDSDataService::Model::SqlStatementResult::SqlStatementResult
SqlStatementResult(Aws::Utils::Json::JsonView jsonValue)
Aws::RDSDataService::Model::SqlStatementResult::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const