/** * 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 CloudTrail { namespace Model { class StartQueryResult { public: AWS_CLOUDTRAIL_API StartQueryResult(); AWS_CLOUDTRAIL_API StartQueryResult(const Aws::AmazonWebServiceResult& result); AWS_CLOUDTRAIL_API StartQueryResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the started query.

*/ inline const Aws::String& GetQueryId() const{ return m_queryId; } /** *

The ID of the started query.

*/ inline void SetQueryId(const Aws::String& value) { m_queryId = value; } /** *

The ID of the started query.

*/ inline void SetQueryId(Aws::String&& value) { m_queryId = std::move(value); } /** *

The ID of the started query.

*/ inline void SetQueryId(const char* value) { m_queryId.assign(value); } /** *

The ID of the started query.

*/ inline StartQueryResult& WithQueryId(const Aws::String& value) { SetQueryId(value); return *this;} /** *

The ID of the started query.

*/ inline StartQueryResult& WithQueryId(Aws::String&& value) { SetQueryId(std::move(value)); return *this;} /** *

The ID of the started query.

*/ inline StartQueryResult& WithQueryId(const char* value) { SetQueryId(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 StartQueryResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StartQueryResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StartQueryResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_queryId; Aws::String m_requestId; }; } // namespace Model } // namespace CloudTrail } // namespace Aws