/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A SQL string of criteria about events that you want to collect in an event
* data store.See Also:
AWS
* API Reference
The ID of a query.
*/ inline const Aws::String& GetQueryId() const{ return m_queryId; } /** *The ID of a query.
*/ inline bool QueryIdHasBeenSet() const { return m_queryIdHasBeenSet; } /** *The ID of a query.
*/ inline void SetQueryId(const Aws::String& value) { m_queryIdHasBeenSet = true; m_queryId = value; } /** *The ID of a query.
*/ inline void SetQueryId(Aws::String&& value) { m_queryIdHasBeenSet = true; m_queryId = std::move(value); } /** *The ID of a query.
*/ inline void SetQueryId(const char* value) { m_queryIdHasBeenSet = true; m_queryId.assign(value); } /** *The ID of a query.
*/ inline Query& WithQueryId(const Aws::String& value) { SetQueryId(value); return *this;} /** *The ID of a query.
*/ inline Query& WithQueryId(Aws::String&& value) { SetQueryId(std::move(value)); return *this;} /** *The ID of a query.
*/ inline Query& WithQueryId(const char* value) { SetQueryId(value); return *this;} /** *The status of the query. This can be QUEUED
,
* RUNNING
, FINISHED
, FAILED
,
* TIMED_OUT
, or CANCELLED
.
The status of the query. This can be QUEUED
,
* RUNNING
, FINISHED
, FAILED
,
* TIMED_OUT
, or CANCELLED
.
The status of the query. This can be QUEUED
,
* RUNNING
, FINISHED
, FAILED
,
* TIMED_OUT
, or CANCELLED
.
The status of the query. This can be QUEUED
,
* RUNNING
, FINISHED
, FAILED
,
* TIMED_OUT
, or CANCELLED
.
The status of the query. This can be QUEUED
,
* RUNNING
, FINISHED
, FAILED
,
* TIMED_OUT
, or CANCELLED
.
The status of the query. This can be QUEUED
,
* RUNNING
, FINISHED
, FAILED
,
* TIMED_OUT
, or CANCELLED
.
The creation time of a query.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *The creation time of a query.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *The creation time of a query.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *The creation time of a query.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *The creation time of a query.
*/ inline Query& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *The creation time of a query.
*/ inline Query& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} private: Aws::String m_queryId; bool m_queryIdHasBeenSet = false; QueryStatus m_queryStatus; bool m_queryStatusHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; }; } // namespace Model } // namespace CloudTrail } // namespace Aws