/** * 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 finspace { namespace Model { /** *

Configuration information for the superuser.

See Also:

AWS * API Reference

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

The email address of the superuser.

*/ inline const Aws::String& GetEmailAddress() const{ return m_emailAddress; } /** *

The email address of the superuser.

*/ inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; } /** *

The email address of the superuser.

*/ inline void SetEmailAddress(const Aws::String& value) { m_emailAddressHasBeenSet = true; m_emailAddress = value; } /** *

The email address of the superuser.

*/ inline void SetEmailAddress(Aws::String&& value) { m_emailAddressHasBeenSet = true; m_emailAddress = std::move(value); } /** *

The email address of the superuser.

*/ inline void SetEmailAddress(const char* value) { m_emailAddressHasBeenSet = true; m_emailAddress.assign(value); } /** *

The email address of the superuser.

*/ inline SuperuserParameters& WithEmailAddress(const Aws::String& value) { SetEmailAddress(value); return *this;} /** *

The email address of the superuser.

*/ inline SuperuserParameters& WithEmailAddress(Aws::String&& value) { SetEmailAddress(std::move(value)); return *this;} /** *

The email address of the superuser.

*/ inline SuperuserParameters& WithEmailAddress(const char* value) { SetEmailAddress(value); return *this;} /** *

The first name of the superuser.

*/ inline const Aws::String& GetFirstName() const{ return m_firstName; } /** *

The first name of the superuser.

*/ inline bool FirstNameHasBeenSet() const { return m_firstNameHasBeenSet; } /** *

The first name of the superuser.

*/ inline void SetFirstName(const Aws::String& value) { m_firstNameHasBeenSet = true; m_firstName = value; } /** *

The first name of the superuser.

*/ inline void SetFirstName(Aws::String&& value) { m_firstNameHasBeenSet = true; m_firstName = std::move(value); } /** *

The first name of the superuser.

*/ inline void SetFirstName(const char* value) { m_firstNameHasBeenSet = true; m_firstName.assign(value); } /** *

The first name of the superuser.

*/ inline SuperuserParameters& WithFirstName(const Aws::String& value) { SetFirstName(value); return *this;} /** *

The first name of the superuser.

*/ inline SuperuserParameters& WithFirstName(Aws::String&& value) { SetFirstName(std::move(value)); return *this;} /** *

The first name of the superuser.

*/ inline SuperuserParameters& WithFirstName(const char* value) { SetFirstName(value); return *this;} /** *

The last name of the superuser.

*/ inline const Aws::String& GetLastName() const{ return m_lastName; } /** *

The last name of the superuser.

*/ inline bool LastNameHasBeenSet() const { return m_lastNameHasBeenSet; } /** *

The last name of the superuser.

*/ inline void SetLastName(const Aws::String& value) { m_lastNameHasBeenSet = true; m_lastName = value; } /** *

The last name of the superuser.

*/ inline void SetLastName(Aws::String&& value) { m_lastNameHasBeenSet = true; m_lastName = std::move(value); } /** *

The last name of the superuser.

*/ inline void SetLastName(const char* value) { m_lastNameHasBeenSet = true; m_lastName.assign(value); } /** *

The last name of the superuser.

*/ inline SuperuserParameters& WithLastName(const Aws::String& value) { SetLastName(value); return *this;} /** *

The last name of the superuser.

*/ inline SuperuserParameters& WithLastName(Aws::String&& value) { SetLastName(std::move(value)); return *this;} /** *

The last name of the superuser.

*/ inline SuperuserParameters& WithLastName(const char* value) { SetLastName(value); return *this;} private: Aws::String m_emailAddress; bool m_emailAddressHasBeenSet = false; Aws::String m_firstName; bool m_firstNameHasBeenSet = false; Aws::String m_lastName; bool m_lastNameHasBeenSet = false; }; } // namespace Model } // namespace finspace } // namespace Aws