/** * 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 { /** *

A SignupResponse object that contains a summary of a newly * created account.

See Also:

AWS * API Reference

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

A Boolean that is TRUE if the Amazon QuickSight uses IAM as an * authentication method.

*/ inline bool GetIAMUser() const{ return m_iAMUser; } /** *

A Boolean that is TRUE if the Amazon QuickSight uses IAM as an * authentication method.

*/ inline bool IAMUserHasBeenSet() const { return m_iAMUserHasBeenSet; } /** *

A Boolean that is TRUE if the Amazon QuickSight uses IAM as an * authentication method.

*/ inline void SetIAMUser(bool value) { m_iAMUserHasBeenSet = true; m_iAMUser = value; } /** *

A Boolean that is TRUE if the Amazon QuickSight uses IAM as an * authentication method.

*/ inline SignupResponse& WithIAMUser(bool value) { SetIAMUser(value); return *this;} /** *

The user login name for your Amazon QuickSight account.

*/ inline const Aws::String& GetUserLoginName() const{ return m_userLoginName; } /** *

The user login name for your Amazon QuickSight account.

*/ inline bool UserLoginNameHasBeenSet() const { return m_userLoginNameHasBeenSet; } /** *

The user login name for your Amazon QuickSight account.

*/ inline void SetUserLoginName(const Aws::String& value) { m_userLoginNameHasBeenSet = true; m_userLoginName = value; } /** *

The user login name for your Amazon QuickSight account.

*/ inline void SetUserLoginName(Aws::String&& value) { m_userLoginNameHasBeenSet = true; m_userLoginName = std::move(value); } /** *

The user login name for your Amazon QuickSight account.

*/ inline void SetUserLoginName(const char* value) { m_userLoginNameHasBeenSet = true; m_userLoginName.assign(value); } /** *

The user login name for your Amazon QuickSight account.

*/ inline SignupResponse& WithUserLoginName(const Aws::String& value) { SetUserLoginName(value); return *this;} /** *

The user login name for your Amazon QuickSight account.

*/ inline SignupResponse& WithUserLoginName(Aws::String&& value) { SetUserLoginName(std::move(value)); return *this;} /** *

The user login name for your Amazon QuickSight account.

*/ inline SignupResponse& WithUserLoginName(const char* value) { SetUserLoginName(value); return *this;} /** *

The name of your Amazon QuickSight account.

*/ inline const Aws::String& GetAccountName() const{ return m_accountName; } /** *

The name of your Amazon QuickSight account.

*/ inline bool AccountNameHasBeenSet() const { return m_accountNameHasBeenSet; } /** *

The name of your Amazon QuickSight account.

*/ inline void SetAccountName(const Aws::String& value) { m_accountNameHasBeenSet = true; m_accountName = value; } /** *

The name of your Amazon QuickSight account.

*/ inline void SetAccountName(Aws::String&& value) { m_accountNameHasBeenSet = true; m_accountName = std::move(value); } /** *

The name of your Amazon QuickSight account.

*/ inline void SetAccountName(const char* value) { m_accountNameHasBeenSet = true; m_accountName.assign(value); } /** *

The name of your Amazon QuickSight account.

*/ inline SignupResponse& WithAccountName(const Aws::String& value) { SetAccountName(value); return *this;} /** *

The name of your Amazon QuickSight account.

*/ inline SignupResponse& WithAccountName(Aws::String&& value) { SetAccountName(std::move(value)); return *this;} /** *

The name of your Amazon QuickSight account.

*/ inline SignupResponse& WithAccountName(const char* value) { SetAccountName(value); return *this;} /** *

The type of Active Directory that is being used to authenticate the Amazon * QuickSight account. Valid values are SIMPLE_AD, * AD_CONNECTOR, and MICROSOFT_AD.

*/ inline const Aws::String& GetDirectoryType() const{ return m_directoryType; } /** *

The type of Active Directory that is being used to authenticate the Amazon * QuickSight account. Valid values are SIMPLE_AD, * AD_CONNECTOR, and MICROSOFT_AD.

*/ inline bool DirectoryTypeHasBeenSet() const { return m_directoryTypeHasBeenSet; } /** *

The type of Active Directory that is being used to authenticate the Amazon * QuickSight account. Valid values are SIMPLE_AD, * AD_CONNECTOR, and MICROSOFT_AD.

*/ inline void SetDirectoryType(const Aws::String& value) { m_directoryTypeHasBeenSet = true; m_directoryType = value; } /** *

The type of Active Directory that is being used to authenticate the Amazon * QuickSight account. Valid values are SIMPLE_AD, * AD_CONNECTOR, and MICROSOFT_AD.

*/ inline void SetDirectoryType(Aws::String&& value) { m_directoryTypeHasBeenSet = true; m_directoryType = std::move(value); } /** *

The type of Active Directory that is being used to authenticate the Amazon * QuickSight account. Valid values are SIMPLE_AD, * AD_CONNECTOR, and MICROSOFT_AD.

*/ inline void SetDirectoryType(const char* value) { m_directoryTypeHasBeenSet = true; m_directoryType.assign(value); } /** *

The type of Active Directory that is being used to authenticate the Amazon * QuickSight account. Valid values are SIMPLE_AD, * AD_CONNECTOR, and MICROSOFT_AD.

*/ inline SignupResponse& WithDirectoryType(const Aws::String& value) { SetDirectoryType(value); return *this;} /** *

The type of Active Directory that is being used to authenticate the Amazon * QuickSight account. Valid values are SIMPLE_AD, * AD_CONNECTOR, and MICROSOFT_AD.

*/ inline SignupResponse& WithDirectoryType(Aws::String&& value) { SetDirectoryType(std::move(value)); return *this;} /** *

The type of Active Directory that is being used to authenticate the Amazon * QuickSight account. Valid values are SIMPLE_AD, * AD_CONNECTOR, and MICROSOFT_AD.

*/ inline SignupResponse& WithDirectoryType(const char* value) { SetDirectoryType(value); return *this;} private: bool m_iAMUser; bool m_iAMUserHasBeenSet = false; Aws::String m_userLoginName; bool m_userLoginNameHasBeenSet = false; Aws::String m_accountName; bool m_accountNameHasBeenSet = false; Aws::String m_directoryType; bool m_directoryTypeHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws