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

The information for all OptOutList in an Amazon Web Services * account.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the OptOutList.

*/ inline const Aws::String& GetOptOutListArn() const{ return m_optOutListArn; } /** *

The Amazon Resource Name (ARN) of the OptOutList.

*/ inline bool OptOutListArnHasBeenSet() const { return m_optOutListArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the OptOutList.

*/ inline void SetOptOutListArn(const Aws::String& value) { m_optOutListArnHasBeenSet = true; m_optOutListArn = value; } /** *

The Amazon Resource Name (ARN) of the OptOutList.

*/ inline void SetOptOutListArn(Aws::String&& value) { m_optOutListArnHasBeenSet = true; m_optOutListArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the OptOutList.

*/ inline void SetOptOutListArn(const char* value) { m_optOutListArnHasBeenSet = true; m_optOutListArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the OptOutList.

*/ inline OptOutListInformation& WithOptOutListArn(const Aws::String& value) { SetOptOutListArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the OptOutList.

*/ inline OptOutListInformation& WithOptOutListArn(Aws::String&& value) { SetOptOutListArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the OptOutList.

*/ inline OptOutListInformation& WithOptOutListArn(const char* value) { SetOptOutListArn(value); return *this;} /** *

The name of the OptOutList.

*/ inline const Aws::String& GetOptOutListName() const{ return m_optOutListName; } /** *

The name of the OptOutList.

*/ inline bool OptOutListNameHasBeenSet() const { return m_optOutListNameHasBeenSet; } /** *

The name of the OptOutList.

*/ inline void SetOptOutListName(const Aws::String& value) { m_optOutListNameHasBeenSet = true; m_optOutListName = value; } /** *

The name of the OptOutList.

*/ inline void SetOptOutListName(Aws::String&& value) { m_optOutListNameHasBeenSet = true; m_optOutListName = std::move(value); } /** *

The name of the OptOutList.

*/ inline void SetOptOutListName(const char* value) { m_optOutListNameHasBeenSet = true; m_optOutListName.assign(value); } /** *

The name of the OptOutList.

*/ inline OptOutListInformation& WithOptOutListName(const Aws::String& value) { SetOptOutListName(value); return *this;} /** *

The name of the OptOutList.

*/ inline OptOutListInformation& WithOptOutListName(Aws::String&& value) { SetOptOutListName(std::move(value)); return *this;} /** *

The name of the OptOutList.

*/ inline OptOutListInformation& WithOptOutListName(const char* value) { SetOptOutListName(value); return *this;} /** *

The time when the OutOutList was created, in UNIX epoch time format.

*/ inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; } /** *

The time when the OutOutList was created, in UNIX epoch time format.

*/ inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; } /** *

The time when the OutOutList was created, in UNIX epoch time format.

*/ inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; } /** *

The time when the OutOutList was created, in UNIX epoch time format.

*/ inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); } /** *

The time when the OutOutList was created, in UNIX epoch time format.

*/ inline OptOutListInformation& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;} /** *

The time when the OutOutList was created, in UNIX epoch time format.

*/ inline OptOutListInformation& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;} private: Aws::String m_optOutListArn; bool m_optOutListArnHasBeenSet = false; Aws::String m_optOutListName; bool m_optOutListNameHasBeenSet = false; Aws::Utils::DateTime m_createdTimestamp; bool m_createdTimestampHasBeenSet = false; }; } // namespace Model } // namespace PinpointSMSVoiceV2 } // namespace Aws