/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The summary information for the workgroup, which includes its name, state,
* description, and the date and time it was created.See Also:
AWS
* API Reference
The name of the workgroup.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the workgroup.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the workgroup.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the workgroup.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the workgroup.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the workgroup.
*/ inline WorkGroupSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the workgroup.
*/ inline WorkGroupSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the workgroup.
*/ inline WorkGroupSummary& WithName(const char* value) { SetName(value); return *this;} /** *The state of the workgroup.
*/ inline const WorkGroupState& GetState() const{ return m_state; } /** *The state of the workgroup.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The state of the workgroup.
*/ inline void SetState(const WorkGroupState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The state of the workgroup.
*/ inline void SetState(WorkGroupState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The state of the workgroup.
*/ inline WorkGroupSummary& WithState(const WorkGroupState& value) { SetState(value); return *this;} /** *The state of the workgroup.
*/ inline WorkGroupSummary& WithState(WorkGroupState&& value) { SetState(std::move(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 WorkGroupSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The workgroup description.
*/ inline WorkGroupSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The workgroup description.
*/ inline WorkGroupSummary& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The workgroup creation date and time.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *The workgroup creation date and time.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *The workgroup creation date and time.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *The workgroup creation date and time.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *The workgroup creation date and time.
*/ inline WorkGroupSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *The workgroup creation date and time.
*/ inline WorkGroupSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *The engine version setting for all queries on the workgroup. Queries on the
* AmazonAthenaPreviewFunctionality
workgroup run on the preview
* engine regardless of this setting.
The engine version setting for all queries on the workgroup. Queries on the
* AmazonAthenaPreviewFunctionality
workgroup run on the preview
* engine regardless of this setting.
The engine version setting for all queries on the workgroup. Queries on the
* AmazonAthenaPreviewFunctionality
workgroup run on the preview
* engine regardless of this setting.
The engine version setting for all queries on the workgroup. Queries on the
* AmazonAthenaPreviewFunctionality
workgroup run on the preview
* engine regardless of this setting.
The engine version setting for all queries on the workgroup. Queries on the
* AmazonAthenaPreviewFunctionality
workgroup run on the preview
* engine regardless of this setting.
The engine version setting for all queries on the workgroup. Queries on the
* AmazonAthenaPreviewFunctionality
workgroup run on the preview
* engine regardless of this setting.