1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/pinpoint/Pinpoint_EXPORTS.h> 8 #include <aws/core/utils/memory/stl/AWSString.h> 9 #include <utility> 10 11 namespace Aws 12 { 13 namespace Utils 14 { 15 namespace Json 16 { 17 class JsonValue; 18 class JsonView; 19 } // namespace Json 20 } // namespace Utils 21 namespace Pinpoint 22 { 23 namespace Model 24 { 25 26 /** 27 * <p>The channel-specific configurations for the journey.</p><p><h3>See Also:</h3> 28 * <a 29 * href="http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/JourneyChannelSettings">AWS 30 * API Reference</a></p> 31 */ 32 class AWS_PINPOINT_API JourneyChannelSettings 33 { 34 public: 35 JourneyChannelSettings(); 36 JourneyChannelSettings(Aws::Utils::Json::JsonView jsonValue); 37 JourneyChannelSettings& operator=(Aws::Utils::Json::JsonView jsonValue); 38 Aws::Utils::Json::JsonValue Jsonize() const; 39 40 41 /** 42 * <p>Amazon Resource Name (ARN) of the Connect Campaign.</p> 43 */ GetConnectCampaignArn()44 inline const Aws::String& GetConnectCampaignArn() const{ return m_connectCampaignArn; } 45 46 /** 47 * <p>Amazon Resource Name (ARN) of the Connect Campaign.</p> 48 */ ConnectCampaignArnHasBeenSet()49 inline bool ConnectCampaignArnHasBeenSet() const { return m_connectCampaignArnHasBeenSet; } 50 51 /** 52 * <p>Amazon Resource Name (ARN) of the Connect Campaign.</p> 53 */ SetConnectCampaignArn(const Aws::String & value)54 inline void SetConnectCampaignArn(const Aws::String& value) { m_connectCampaignArnHasBeenSet = true; m_connectCampaignArn = value; } 55 56 /** 57 * <p>Amazon Resource Name (ARN) of the Connect Campaign.</p> 58 */ SetConnectCampaignArn(Aws::String && value)59 inline void SetConnectCampaignArn(Aws::String&& value) { m_connectCampaignArnHasBeenSet = true; m_connectCampaignArn = std::move(value); } 60 61 /** 62 * <p>Amazon Resource Name (ARN) of the Connect Campaign.</p> 63 */ SetConnectCampaignArn(const char * value)64 inline void SetConnectCampaignArn(const char* value) { m_connectCampaignArnHasBeenSet = true; m_connectCampaignArn.assign(value); } 65 66 /** 67 * <p>Amazon Resource Name (ARN) of the Connect Campaign.</p> 68 */ WithConnectCampaignArn(const Aws::String & value)69 inline JourneyChannelSettings& WithConnectCampaignArn(const Aws::String& value) { SetConnectCampaignArn(value); return *this;} 70 71 /** 72 * <p>Amazon Resource Name (ARN) of the Connect Campaign.</p> 73 */ WithConnectCampaignArn(Aws::String && value)74 inline JourneyChannelSettings& WithConnectCampaignArn(Aws::String&& value) { SetConnectCampaignArn(std::move(value)); return *this;} 75 76 /** 77 * <p>Amazon Resource Name (ARN) of the Connect Campaign.</p> 78 */ WithConnectCampaignArn(const char * value)79 inline JourneyChannelSettings& WithConnectCampaignArn(const char* value) { SetConnectCampaignArn(value); return *this;} 80 81 82 /** 83 * <p>IAM role ARN to be assumed when invoking Connect campaign execution APIs for 84 * dialing.</p> 85 */ GetConnectCampaignExecutionRoleArn()86 inline const Aws::String& GetConnectCampaignExecutionRoleArn() const{ return m_connectCampaignExecutionRoleArn; } 87 88 /** 89 * <p>IAM role ARN to be assumed when invoking Connect campaign execution APIs for 90 * dialing.</p> 91 */ ConnectCampaignExecutionRoleArnHasBeenSet()92 inline bool ConnectCampaignExecutionRoleArnHasBeenSet() const { return m_connectCampaignExecutionRoleArnHasBeenSet; } 93 94 /** 95 * <p>IAM role ARN to be assumed when invoking Connect campaign execution APIs for 96 * dialing.</p> 97 */ SetConnectCampaignExecutionRoleArn(const Aws::String & value)98 inline void SetConnectCampaignExecutionRoleArn(const Aws::String& value) { m_connectCampaignExecutionRoleArnHasBeenSet = true; m_connectCampaignExecutionRoleArn = value; } 99 100 /** 101 * <p>IAM role ARN to be assumed when invoking Connect campaign execution APIs for 102 * dialing.</p> 103 */ SetConnectCampaignExecutionRoleArn(Aws::String && value)104 inline void SetConnectCampaignExecutionRoleArn(Aws::String&& value) { m_connectCampaignExecutionRoleArnHasBeenSet = true; m_connectCampaignExecutionRoleArn = std::move(value); } 105 106 /** 107 * <p>IAM role ARN to be assumed when invoking Connect campaign execution APIs for 108 * dialing.</p> 109 */ SetConnectCampaignExecutionRoleArn(const char * value)110 inline void SetConnectCampaignExecutionRoleArn(const char* value) { m_connectCampaignExecutionRoleArnHasBeenSet = true; m_connectCampaignExecutionRoleArn.assign(value); } 111 112 /** 113 * <p>IAM role ARN to be assumed when invoking Connect campaign execution APIs for 114 * dialing.</p> 115 */ WithConnectCampaignExecutionRoleArn(const Aws::String & value)116 inline JourneyChannelSettings& WithConnectCampaignExecutionRoleArn(const Aws::String& value) { SetConnectCampaignExecutionRoleArn(value); return *this;} 117 118 /** 119 * <p>IAM role ARN to be assumed when invoking Connect campaign execution APIs for 120 * dialing.</p> 121 */ WithConnectCampaignExecutionRoleArn(Aws::String && value)122 inline JourneyChannelSettings& WithConnectCampaignExecutionRoleArn(Aws::String&& value) { SetConnectCampaignExecutionRoleArn(std::move(value)); return *this;} 123 124 /** 125 * <p>IAM role ARN to be assumed when invoking Connect campaign execution APIs for 126 * dialing.</p> 127 */ WithConnectCampaignExecutionRoleArn(const char * value)128 inline JourneyChannelSettings& WithConnectCampaignExecutionRoleArn(const char* value) { SetConnectCampaignExecutionRoleArn(value); return *this;} 129 130 private: 131 132 Aws::String m_connectCampaignArn; 133 bool m_connectCampaignArnHasBeenSet; 134 135 Aws::String m_connectCampaignExecutionRoleArn; 136 bool m_connectCampaignExecutionRoleArnHasBeenSet; 137 }; 138 139 } // namespace Model 140 } // namespace Pinpoint 141 } // namespace Aws 142