105 lines
3.0 KiB
C
105 lines
3.0 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/rds-data/RDSDataService_EXPORTS.h>
|
|||
|
|
#include <aws/rds-data/model/ResultFrame.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
class JsonView;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace RDSDataService
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The result of a SQL statement.</p> <pre><code> <important>
|
|||
|
|
* <p>This data type is deprecated.</p> </important>
|
|||
|
|
* </code></pre><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/SqlStatementResult">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_RDSDATASERVICE_API SqlStatementResult
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
SqlStatementResult();
|
|||
|
|
SqlStatementResult(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
SqlStatementResult& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The number of records updated by a SQL statement.</p>
|
|||
|
|
*/
|
|||
|
|
inline long long GetNumberOfRecordsUpdated() const{ return m_numberOfRecordsUpdated; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The number of records updated by a SQL statement.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool NumberOfRecordsUpdatedHasBeenSet() const { return m_numberOfRecordsUpdatedHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The number of records updated by a SQL statement.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetNumberOfRecordsUpdated(long long value) { m_numberOfRecordsUpdatedHasBeenSet = true; m_numberOfRecordsUpdated = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The number of records updated by a SQL statement.</p>
|
|||
|
|
*/
|
|||
|
|
inline SqlStatementResult& WithNumberOfRecordsUpdated(long long value) { SetNumberOfRecordsUpdated(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The result set of the SQL statement.</p>
|
|||
|
|
*/
|
|||
|
|
inline const ResultFrame& GetResultFrame() const{ return m_resultFrame; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The result set of the SQL statement.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool ResultFrameHasBeenSet() const { return m_resultFrameHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The result set of the SQL statement.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetResultFrame(const ResultFrame& value) { m_resultFrameHasBeenSet = true; m_resultFrame = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The result set of the SQL statement.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetResultFrame(ResultFrame&& value) { m_resultFrameHasBeenSet = true; m_resultFrame = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The result set of the SQL statement.</p>
|
|||
|
|
*/
|
|||
|
|
inline SqlStatementResult& WithResultFrame(const ResultFrame& value) { SetResultFrame(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The result set of the SQL statement.</p>
|
|||
|
|
*/
|
|||
|
|
inline SqlStatementResult& WithResultFrame(ResultFrame&& value) { SetResultFrame(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
long long m_numberOfRecordsUpdated;
|
|||
|
|
bool m_numberOfRecordsUpdatedHasBeenSet;
|
|||
|
|
|
|||
|
|
ResultFrame m_resultFrame;
|
|||
|
|
bool m_resultFrameHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace RDSDataService
|
|||
|
|
} // namespace Aws
|