/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides the details of a stored query.See Also:
AWS
* API Reference
The ID of the query.
*/ inline const Aws::String& GetQueryId() const{ return m_queryId; } /** *The ID of the query.
*/ inline bool QueryIdHasBeenSet() const { return m_queryIdHasBeenSet; } /** *The ID of the query.
*/ inline void SetQueryId(const Aws::String& value) { m_queryIdHasBeenSet = true; m_queryId = value; } /** *The ID of the query.
*/ inline void SetQueryId(Aws::String&& value) { m_queryIdHasBeenSet = true; m_queryId = std::move(value); } /** *The ID of the query.
*/ inline void SetQueryId(const char* value) { m_queryIdHasBeenSet = true; m_queryId.assign(value); } /** *The ID of the query.
*/ inline StoredQuery& WithQueryId(const Aws::String& value) { SetQueryId(value); return *this;} /** *The ID of the query.
*/ inline StoredQuery& WithQueryId(Aws::String&& value) { SetQueryId(std::move(value)); return *this;} /** *The ID of the query.
*/ inline StoredQuery& WithQueryId(const char* value) { SetQueryId(value); return *this;} /** *Amazon Resource Name (ARN) of the query. For example, * arn:partition:service:region:account-id:resource-type/resource-name/resource-id.
*/ inline const Aws::String& GetQueryArn() const{ return m_queryArn; } /** *Amazon Resource Name (ARN) of the query. For example, * arn:partition:service:region:account-id:resource-type/resource-name/resource-id.
*/ inline bool QueryArnHasBeenSet() const { return m_queryArnHasBeenSet; } /** *Amazon Resource Name (ARN) of the query. For example, * arn:partition:service:region:account-id:resource-type/resource-name/resource-id.
*/ inline void SetQueryArn(const Aws::String& value) { m_queryArnHasBeenSet = true; m_queryArn = value; } /** *Amazon Resource Name (ARN) of the query. For example, * arn:partition:service:region:account-id:resource-type/resource-name/resource-id.
*/ inline void SetQueryArn(Aws::String&& value) { m_queryArnHasBeenSet = true; m_queryArn = std::move(value); } /** *Amazon Resource Name (ARN) of the query. For example, * arn:partition:service:region:account-id:resource-type/resource-name/resource-id.
*/ inline void SetQueryArn(const char* value) { m_queryArnHasBeenSet = true; m_queryArn.assign(value); } /** *Amazon Resource Name (ARN) of the query. For example, * arn:partition:service:region:account-id:resource-type/resource-name/resource-id.
*/ inline StoredQuery& WithQueryArn(const Aws::String& value) { SetQueryArn(value); return *this;} /** *Amazon Resource Name (ARN) of the query. For example, * arn:partition:service:region:account-id:resource-type/resource-name/resource-id.
*/ inline StoredQuery& WithQueryArn(Aws::String&& value) { SetQueryArn(std::move(value)); return *this;} /** *Amazon Resource Name (ARN) of the query. For example, * arn:partition:service:region:account-id:resource-type/resource-name/resource-id.
*/ inline StoredQuery& WithQueryArn(const char* value) { SetQueryArn(value); return *this;} /** *The name of the query.
*/ inline const Aws::String& GetQueryName() const{ return m_queryName; } /** *The name of the query.
*/ inline bool QueryNameHasBeenSet() const { return m_queryNameHasBeenSet; } /** *The name of the query.
*/ inline void SetQueryName(const Aws::String& value) { m_queryNameHasBeenSet = true; m_queryName = value; } /** *The name of the query.
*/ inline void SetQueryName(Aws::String&& value) { m_queryNameHasBeenSet = true; m_queryName = std::move(value); } /** *The name of the query.
*/ inline void SetQueryName(const char* value) { m_queryNameHasBeenSet = true; m_queryName.assign(value); } /** *The name of the query.
*/ inline StoredQuery& WithQueryName(const Aws::String& value) { SetQueryName(value); return *this;} /** *The name of the query.
*/ inline StoredQuery& WithQueryName(Aws::String&& value) { SetQueryName(std::move(value)); return *this;} /** *The name of the query.
*/ inline StoredQuery& WithQueryName(const char* value) { SetQueryName(value); return *this;} /** *A unique description for the query.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A unique description for the query.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A unique description for the query.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A unique description for the query.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A unique description for the query.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A unique description for the query.
*/ inline StoredQuery& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A unique description for the query.
*/ inline StoredQuery& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A unique description for the query.
*/ inline StoredQuery& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The expression of the query. For example, SELECT resourceId,
* resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status
* WHERE resourceType = 'AWS::S3::Bucket' AND
* supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.
*
The expression of the query. For example, SELECT resourceId,
* resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status
* WHERE resourceType = 'AWS::S3::Bucket' AND
* supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.
*
The expression of the query. For example, SELECT resourceId,
* resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status
* WHERE resourceType = 'AWS::S3::Bucket' AND
* supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.
*
The expression of the query. For example, SELECT resourceId,
* resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status
* WHERE resourceType = 'AWS::S3::Bucket' AND
* supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.
*
The expression of the query. For example, SELECT resourceId,
* resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status
* WHERE resourceType = 'AWS::S3::Bucket' AND
* supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.
*
The expression of the query. For example, SELECT resourceId,
* resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status
* WHERE resourceType = 'AWS::S3::Bucket' AND
* supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.
*
The expression of the query. For example, SELECT resourceId,
* resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status
* WHERE resourceType = 'AWS::S3::Bucket' AND
* supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.
*
The expression of the query. For example, SELECT resourceId,
* resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status
* WHERE resourceType = 'AWS::S3::Bucket' AND
* supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.
*