/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The name and last modified time of the prepared statement.See
* Also:
AWS
* API Reference
The name of the prepared statement.
*/ inline const Aws::String& GetStatementName() const{ return m_statementName; } /** *The name of the prepared statement.
*/ inline bool StatementNameHasBeenSet() const { return m_statementNameHasBeenSet; } /** *The name of the prepared statement.
*/ inline void SetStatementName(const Aws::String& value) { m_statementNameHasBeenSet = true; m_statementName = value; } /** *The name of the prepared statement.
*/ inline void SetStatementName(Aws::String&& value) { m_statementNameHasBeenSet = true; m_statementName = std::move(value); } /** *The name of the prepared statement.
*/ inline void SetStatementName(const char* value) { m_statementNameHasBeenSet = true; m_statementName.assign(value); } /** *The name of the prepared statement.
*/ inline PreparedStatementSummary& WithStatementName(const Aws::String& value) { SetStatementName(value); return *this;} /** *The name of the prepared statement.
*/ inline PreparedStatementSummary& WithStatementName(Aws::String&& value) { SetStatementName(std::move(value)); return *this;} /** *The name of the prepared statement.
*/ inline PreparedStatementSummary& WithStatementName(const char* value) { SetStatementName(value); return *this;} /** *The last modified time of the prepared statement.
*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *The last modified time of the prepared statement.
*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *The last modified time of the prepared statement.
*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *The last modified time of the prepared statement.
*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *The last modified time of the prepared statement.
*/ inline PreparedStatementSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *The last modified time of the prepared statement.
*/ inline PreparedStatementSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} private: Aws::String m_statementName; bool m_statementNameHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; }; } // namespace Model } // namespace Athena } // namespace Aws