/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure for Dataset owner info.See Also:
AWS
* API Reference
The name of the Dataset owner.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the Dataset owner.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the Dataset owner.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the Dataset owner.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the Dataset owner.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the Dataset owner.
*/ inline DatasetOwnerInfo& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the Dataset owner.
*/ inline DatasetOwnerInfo& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the Dataset owner.
*/ inline DatasetOwnerInfo& WithName(const char* value) { SetName(value); return *this;} /** *Phone number for the Dataset owner.
*/ inline const Aws::String& GetPhoneNumber() const{ return m_phoneNumber; } /** *Phone number for the Dataset owner.
*/ inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; } /** *Phone number for the Dataset owner.
*/ inline void SetPhoneNumber(const Aws::String& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = value; } /** *Phone number for the Dataset owner.
*/ inline void SetPhoneNumber(Aws::String&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::move(value); } /** *Phone number for the Dataset owner.
*/ inline void SetPhoneNumber(const char* value) { m_phoneNumberHasBeenSet = true; m_phoneNumber.assign(value); } /** *Phone number for the Dataset owner.
*/ inline DatasetOwnerInfo& WithPhoneNumber(const Aws::String& value) { SetPhoneNumber(value); return *this;} /** *Phone number for the Dataset owner.
*/ inline DatasetOwnerInfo& WithPhoneNumber(Aws::String&& value) { SetPhoneNumber(std::move(value)); return *this;} /** *Phone number for the Dataset owner.
*/ inline DatasetOwnerInfo& WithPhoneNumber(const char* value) { SetPhoneNumber(value); return *this;} /** *Email address for the Dataset owner.
*/ inline const Aws::String& GetEmail() const{ return m_email; } /** *Email address for the Dataset owner.
*/ inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; } /** *Email address for the Dataset owner.
*/ inline void SetEmail(const Aws::String& value) { m_emailHasBeenSet = true; m_email = value; } /** *Email address for the Dataset owner.
*/ inline void SetEmail(Aws::String&& value) { m_emailHasBeenSet = true; m_email = std::move(value); } /** *Email address for the Dataset owner.
*/ inline void SetEmail(const char* value) { m_emailHasBeenSet = true; m_email.assign(value); } /** *Email address for the Dataset owner.
*/ inline DatasetOwnerInfo& WithEmail(const Aws::String& value) { SetEmail(value); return *this;} /** *Email address for the Dataset owner.
*/ inline DatasetOwnerInfo& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;} /** *Email address for the Dataset owner.
*/ inline DatasetOwnerInfo& WithEmail(const char* value) { SetEmail(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_phoneNumber; bool m_phoneNumberHasBeenSet = false; Aws::String m_email; bool m_emailHasBeenSet = false; }; } // namespace Model } // namespace FinSpaceData } // namespace Aws