/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Glue { namespace Model { class RunStatementResult { public: AWS_GLUE_API RunStatementResult(); AWS_GLUE_API RunStatementResult(const Aws::AmazonWebServiceResult& result); AWS_GLUE_API RunStatementResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Returns the Id of the statement that was run.

*/ inline int GetId() const{ return m_id; } /** *

Returns the Id of the statement that was run.

*/ inline void SetId(int value) { m_id = value; } /** *

Returns the Id of the statement that was run.

*/ inline RunStatementResult& WithId(int value) { SetId(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline RunStatementResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline RunStatementResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline RunStatementResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: int m_id; Aws::String m_requestId; }; } // namespace Model } // namespace Glue } // namespace Aws