/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information about an Amazon Athena workgroup. See
* Also:
AWS
* API Reference
The workgroup name.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The workgroup name.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The workgroup name.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The workgroup name.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The workgroup name.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The workgroup name.
*/ inline AwsAthenaWorkGroupDetails& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The workgroup name.
*/ inline AwsAthenaWorkGroupDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The workgroup name.
*/ inline AwsAthenaWorkGroupDetails& WithName(const char* value) { SetName(value); return *this;} /** *The workgroup description.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The workgroup description.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The workgroup description.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The workgroup description.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The workgroup description.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The workgroup description.
*/ inline AwsAthenaWorkGroupDetails& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The workgroup description.
*/ inline AwsAthenaWorkGroupDetails& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The workgroup description.
*/ inline AwsAthenaWorkGroupDetails& WithDescription(const char* value) { SetDescription(value); return *this;} /** *Whether the workgroup is enabled or disabled.
*/ inline const Aws::String& GetState() const{ return m_state; } /** *Whether the workgroup is enabled or disabled.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *Whether the workgroup is enabled or disabled.
*/ inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; } /** *Whether the workgroup is enabled or disabled.
*/ inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *Whether the workgroup is enabled or disabled.
*/ inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); } /** *Whether the workgroup is enabled or disabled.
*/ inline AwsAthenaWorkGroupDetails& WithState(const Aws::String& value) { SetState(value); return *this;} /** *Whether the workgroup is enabled or disabled.
*/ inline AwsAthenaWorkGroupDetails& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;} /** *Whether the workgroup is enabled or disabled.
*/ inline AwsAthenaWorkGroupDetails& WithState(const char* value) { SetState(value); return *this;} /** *The configuration of the workgroup, which includes the location in Amazon * Simple Storage Service (Amazon S3) where query results are stored, the * encryption option, if any, used for query results, whether Amazon CloudWatch * metrics are enabled for the workgroup, and the limit for the amount of bytes * scanned (cutoff) per query, if it is specified.
*/ inline const AwsAthenaWorkGroupConfigurationDetails& GetConfiguration() const{ return m_configuration; } /** *The configuration of the workgroup, which includes the location in Amazon * Simple Storage Service (Amazon S3) where query results are stored, the * encryption option, if any, used for query results, whether Amazon CloudWatch * metrics are enabled for the workgroup, and the limit for the amount of bytes * scanned (cutoff) per query, if it is specified.
*/ inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; } /** *The configuration of the workgroup, which includes the location in Amazon * Simple Storage Service (Amazon S3) where query results are stored, the * encryption option, if any, used for query results, whether Amazon CloudWatch * metrics are enabled for the workgroup, and the limit for the amount of bytes * scanned (cutoff) per query, if it is specified.
*/ inline void SetConfiguration(const AwsAthenaWorkGroupConfigurationDetails& value) { m_configurationHasBeenSet = true; m_configuration = value; } /** *The configuration of the workgroup, which includes the location in Amazon * Simple Storage Service (Amazon S3) where query results are stored, the * encryption option, if any, used for query results, whether Amazon CloudWatch * metrics are enabled for the workgroup, and the limit for the amount of bytes * scanned (cutoff) per query, if it is specified.
*/ inline void SetConfiguration(AwsAthenaWorkGroupConfigurationDetails&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); } /** *The configuration of the workgroup, which includes the location in Amazon * Simple Storage Service (Amazon S3) where query results are stored, the * encryption option, if any, used for query results, whether Amazon CloudWatch * metrics are enabled for the workgroup, and the limit for the amount of bytes * scanned (cutoff) per query, if it is specified.
*/ inline AwsAthenaWorkGroupDetails& WithConfiguration(const AwsAthenaWorkGroupConfigurationDetails& value) { SetConfiguration(value); return *this;} /** *The configuration of the workgroup, which includes the location in Amazon * Simple Storage Service (Amazon S3) where query results are stored, the * encryption option, if any, used for query results, whether Amazon CloudWatch * metrics are enabled for the workgroup, and the limit for the amount of bytes * scanned (cutoff) per query, if it is specified.
*/ inline AwsAthenaWorkGroupDetails& WithConfiguration(AwsAthenaWorkGroupConfigurationDetails&& value) { SetConfiguration(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_state; bool m_stateHasBeenSet = false; AwsAthenaWorkGroupConfigurationDetails m_configuration; bool m_configurationHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws