This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-rds-data/include/aws/rds-data/model/SqlStatementResult.h

105 lines
3.0 KiB
C
Raw Normal View History

/**
* 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> &lt;important&gt;
* &lt;p&gt;This data type is deprecated.&lt;/p&gt; &lt;/important&gt;
* </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