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

The channel-specific configurations for the journey.

See Also:

* AWS * API Reference

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

Amazon Resource Name (ARN) of the Connect Campaign.

*/ inline const Aws::String& GetConnectCampaignArn() const{ return m_connectCampaignArn; } /** *

Amazon Resource Name (ARN) of the Connect Campaign.

*/ inline bool ConnectCampaignArnHasBeenSet() const { return m_connectCampaignArnHasBeenSet; } /** *

Amazon Resource Name (ARN) of the Connect Campaign.

*/ inline void SetConnectCampaignArn(const Aws::String& value) { m_connectCampaignArnHasBeenSet = true; m_connectCampaignArn = value; } /** *

Amazon Resource Name (ARN) of the Connect Campaign.

*/ inline void SetConnectCampaignArn(Aws::String&& value) { m_connectCampaignArnHasBeenSet = true; m_connectCampaignArn = std::move(value); } /** *

Amazon Resource Name (ARN) of the Connect Campaign.

*/ inline void SetConnectCampaignArn(const char* value) { m_connectCampaignArnHasBeenSet = true; m_connectCampaignArn.assign(value); } /** *

Amazon Resource Name (ARN) of the Connect Campaign.

*/ inline JourneyChannelSettings& WithConnectCampaignArn(const Aws::String& value) { SetConnectCampaignArn(value); return *this;} /** *

Amazon Resource Name (ARN) of the Connect Campaign.

*/ inline JourneyChannelSettings& WithConnectCampaignArn(Aws::String&& value) { SetConnectCampaignArn(std::move(value)); return *this;} /** *

Amazon Resource Name (ARN) of the Connect Campaign.

*/ inline JourneyChannelSettings& WithConnectCampaignArn(const char* value) { SetConnectCampaignArn(value); return *this;} /** *

IAM role ARN to be assumed when invoking Connect campaign execution APIs for * dialing.

*/ inline const Aws::String& GetConnectCampaignExecutionRoleArn() const{ return m_connectCampaignExecutionRoleArn; } /** *

IAM role ARN to be assumed when invoking Connect campaign execution APIs for * dialing.

*/ inline bool ConnectCampaignExecutionRoleArnHasBeenSet() const { return m_connectCampaignExecutionRoleArnHasBeenSet; } /** *

IAM role ARN to be assumed when invoking Connect campaign execution APIs for * dialing.

*/ inline void SetConnectCampaignExecutionRoleArn(const Aws::String& value) { m_connectCampaignExecutionRoleArnHasBeenSet = true; m_connectCampaignExecutionRoleArn = value; } /** *

IAM role ARN to be assumed when invoking Connect campaign execution APIs for * dialing.

*/ inline void SetConnectCampaignExecutionRoleArn(Aws::String&& value) { m_connectCampaignExecutionRoleArnHasBeenSet = true; m_connectCampaignExecutionRoleArn = std::move(value); } /** *

IAM role ARN to be assumed when invoking Connect campaign execution APIs for * dialing.

*/ inline void SetConnectCampaignExecutionRoleArn(const char* value) { m_connectCampaignExecutionRoleArnHasBeenSet = true; m_connectCampaignExecutionRoleArn.assign(value); } /** *

IAM role ARN to be assumed when invoking Connect campaign execution APIs for * dialing.

*/ inline JourneyChannelSettings& WithConnectCampaignExecutionRoleArn(const Aws::String& value) { SetConnectCampaignExecutionRoleArn(value); return *this;} /** *

IAM role ARN to be assumed when invoking Connect campaign execution APIs for * dialing.

*/ inline JourneyChannelSettings& WithConnectCampaignExecutionRoleArn(Aws::String&& value) { SetConnectCampaignExecutionRoleArn(std::move(value)); return *this;} /** *

IAM role ARN to be assumed when invoking Connect campaign execution APIs for * dialing.

*/ inline JourneyChannelSettings& WithConnectCampaignExecutionRoleArn(const char* value) { SetConnectCampaignExecutionRoleArn(value); return *this;} private: Aws::String m_connectCampaignArn; bool m_connectCampaignArnHasBeenSet = false; Aws::String m_connectCampaignExecutionRoleArn; bool m_connectCampaignExecutionRoleArnHasBeenSet = false; }; } // namespace Model } // namespace Pinpoint } // namespace Aws