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

An object that contains the attributes of the submitter of the import * job.

See Also:

AWS * API Reference

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

The email id of the submitter of the import job, if available.

*/ inline const Aws::String& GetEmail() const{ return m_email; } /** *

The email id of the submitter of the import job, if available.

*/ inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; } /** *

The email id of the submitter of the import job, if available.

*/ inline void SetEmail(const Aws::String& value) { m_emailHasBeenSet = true; m_email = value; } /** *

The email id of the submitter of the import job, if available.

*/ inline void SetEmail(Aws::String&& value) { m_emailHasBeenSet = true; m_email = std::move(value); } /** *

The email id of the submitter of the import job, if available.

*/ inline void SetEmail(const char* value) { m_emailHasBeenSet = true; m_email.assign(value); } /** *

The email id of the submitter of the import job, if available.

*/ inline ImportJobSubmitter& WithEmail(const Aws::String& value) { SetEmail(value); return *this;} /** *

The email id of the submitter of the import job, if available.

*/ inline ImportJobSubmitter& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;} /** *

The email id of the submitter of the import job, if available.

*/ inline ImportJobSubmitter& WithEmail(const char* value) { SetEmail(value); return *this;} /** *

The AWS user ARN of the submitter of the import job, if available.

*/ inline const Aws::String& GetUserArn() const{ return m_userArn; } /** *

The AWS user ARN of the submitter of the import job, if available.

*/ inline bool UserArnHasBeenSet() const { return m_userArnHasBeenSet; } /** *

The AWS user ARN of the submitter of the import job, if available.

*/ inline void SetUserArn(const Aws::String& value) { m_userArnHasBeenSet = true; m_userArn = value; } /** *

The AWS user ARN of the submitter of the import job, if available.

*/ inline void SetUserArn(Aws::String&& value) { m_userArnHasBeenSet = true; m_userArn = std::move(value); } /** *

The AWS user ARN of the submitter of the import job, if available.

*/ inline void SetUserArn(const char* value) { m_userArnHasBeenSet = true; m_userArn.assign(value); } /** *

The AWS user ARN of the submitter of the import job, if available.

*/ inline ImportJobSubmitter& WithUserArn(const Aws::String& value) { SetUserArn(value); return *this;} /** *

The AWS user ARN of the submitter of the import job, if available.

*/ inline ImportJobSubmitter& WithUserArn(Aws::String&& value) { SetUserArn(std::move(value)); return *this;} /** *

The AWS user ARN of the submitter of the import job, if available.

*/ inline ImportJobSubmitter& WithUserArn(const char* value) { SetUserArn(value); return *this;} private: Aws::String m_email; bool m_emailHasBeenSet = false; Aws::String m_userArn; bool m_userArnHasBeenSet = false; }; } // namespace Model } // namespace Honeycode } // namespace Aws