/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include See Also:
AWS
* API Reference
The source type, such as cluster or parameter group, to which the described * event categories apply.
Valid values: cluster, cluster-snapshot, * cluster-parameter-group, cluster-security-group, and scheduled-action.
*/ inline const Aws::String& GetSourceType() const{ return m_sourceType; } /** *The source type, such as cluster or parameter group, to which the described * event categories apply.
Valid values: cluster, cluster-snapshot, * cluster-parameter-group, cluster-security-group, and scheduled-action.
*/ inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; } /** *The source type, such as cluster or parameter group, to which the described * event categories apply.
Valid values: cluster, cluster-snapshot, * cluster-parameter-group, cluster-security-group, and scheduled-action.
*/ inline void SetSourceType(const Aws::String& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; } /** *The source type, such as cluster or parameter group, to which the described * event categories apply.
Valid values: cluster, cluster-snapshot, * cluster-parameter-group, cluster-security-group, and scheduled-action.
*/ inline void SetSourceType(Aws::String&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); } /** *The source type, such as cluster or parameter group, to which the described * event categories apply.
Valid values: cluster, cluster-snapshot, * cluster-parameter-group, cluster-security-group, and scheduled-action.
*/ inline void SetSourceType(const char* value) { m_sourceTypeHasBeenSet = true; m_sourceType.assign(value); } /** *The source type, such as cluster or parameter group, to which the described * event categories apply.
Valid values: cluster, cluster-snapshot, * cluster-parameter-group, cluster-security-group, and scheduled-action.
*/ inline DescribeEventCategoriesRequest& WithSourceType(const Aws::String& value) { SetSourceType(value); return *this;} /** *The source type, such as cluster or parameter group, to which the described * event categories apply.
Valid values: cluster, cluster-snapshot, * cluster-parameter-group, cluster-security-group, and scheduled-action.
*/ inline DescribeEventCategoriesRequest& WithSourceType(Aws::String&& value) { SetSourceType(std::move(value)); return *this;} /** *The source type, such as cluster or parameter group, to which the described * event categories apply.
Valid values: cluster, cluster-snapshot, * cluster-parameter-group, cluster-security-group, and scheduled-action.
*/ inline DescribeEventCategoriesRequest& WithSourceType(const char* value) { SetSourceType(value); return *this;} private: Aws::String m_sourceType; bool m_sourceTypeHasBeenSet = false; }; } // namespace Model } // namespace Redshift } // namespace Aws