/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { /** *

Defines different defaults to the users or groups based on * mapping.

See Also:

AWS * API Reference

*/ class DynamicDefaultValue { public: AWS_QUICKSIGHT_API DynamicDefaultValue(); AWS_QUICKSIGHT_API DynamicDefaultValue(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API DynamicDefaultValue& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The column that contains the username.

*/ inline const ColumnIdentifier& GetUserNameColumn() const{ return m_userNameColumn; } /** *

The column that contains the username.

*/ inline bool UserNameColumnHasBeenSet() const { return m_userNameColumnHasBeenSet; } /** *

The column that contains the username.

*/ inline void SetUserNameColumn(const ColumnIdentifier& value) { m_userNameColumnHasBeenSet = true; m_userNameColumn = value; } /** *

The column that contains the username.

*/ inline void SetUserNameColumn(ColumnIdentifier&& value) { m_userNameColumnHasBeenSet = true; m_userNameColumn = std::move(value); } /** *

The column that contains the username.

*/ inline DynamicDefaultValue& WithUserNameColumn(const ColumnIdentifier& value) { SetUserNameColumn(value); return *this;} /** *

The column that contains the username.

*/ inline DynamicDefaultValue& WithUserNameColumn(ColumnIdentifier&& value) { SetUserNameColumn(std::move(value)); return *this;} /** *

The column that contains the group name.

*/ inline const ColumnIdentifier& GetGroupNameColumn() const{ return m_groupNameColumn; } /** *

The column that contains the group name.

*/ inline bool GroupNameColumnHasBeenSet() const { return m_groupNameColumnHasBeenSet; } /** *

The column that contains the group name.

*/ inline void SetGroupNameColumn(const ColumnIdentifier& value) { m_groupNameColumnHasBeenSet = true; m_groupNameColumn = value; } /** *

The column that contains the group name.

*/ inline void SetGroupNameColumn(ColumnIdentifier&& value) { m_groupNameColumnHasBeenSet = true; m_groupNameColumn = std::move(value); } /** *

The column that contains the group name.

*/ inline DynamicDefaultValue& WithGroupNameColumn(const ColumnIdentifier& value) { SetGroupNameColumn(value); return *this;} /** *

The column that contains the group name.

*/ inline DynamicDefaultValue& WithGroupNameColumn(ColumnIdentifier&& value) { SetGroupNameColumn(std::move(value)); return *this;} /** *

The column that contains the default value of each user or group.

*/ inline const ColumnIdentifier& GetDefaultValueColumn() const{ return m_defaultValueColumn; } /** *

The column that contains the default value of each user or group.

*/ inline bool DefaultValueColumnHasBeenSet() const { return m_defaultValueColumnHasBeenSet; } /** *

The column that contains the default value of each user or group.

*/ inline void SetDefaultValueColumn(const ColumnIdentifier& value) { m_defaultValueColumnHasBeenSet = true; m_defaultValueColumn = value; } /** *

The column that contains the default value of each user or group.

*/ inline void SetDefaultValueColumn(ColumnIdentifier&& value) { m_defaultValueColumnHasBeenSet = true; m_defaultValueColumn = std::move(value); } /** *

The column that contains the default value of each user or group.

*/ inline DynamicDefaultValue& WithDefaultValueColumn(const ColumnIdentifier& value) { SetDefaultValueColumn(value); return *this;} /** *

The column that contains the default value of each user or group.

*/ inline DynamicDefaultValue& WithDefaultValueColumn(ColumnIdentifier&& value) { SetDefaultValueColumn(std::move(value)); return *this;} private: ColumnIdentifier m_userNameColumn; bool m_userNameColumnHasBeenSet = false; ColumnIdentifier m_groupNameColumn; bool m_groupNameColumnHasBeenSet = false; ColumnIdentifier m_defaultValueColumn; bool m_defaultValueColumnHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws