AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
JourneyChannelSettings.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Pinpoint
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_PINPOINT_API JourneyChannelSettings() = default;
38 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetConnectCampaignArn() const { return m_connectCampaignArn; }
46 inline bool ConnectCampaignArnHasBeenSet() const { return m_connectCampaignArnHasBeenSet; }
47 template<typename ConnectCampaignArnT = Aws::String>
48 void SetConnectCampaignArn(ConnectCampaignArnT&& value) { m_connectCampaignArnHasBeenSet = true; m_connectCampaignArn = std::forward<ConnectCampaignArnT>(value); }
49 template<typename ConnectCampaignArnT = Aws::String>
50 JourneyChannelSettings& WithConnectCampaignArn(ConnectCampaignArnT&& value) { SetConnectCampaignArn(std::forward<ConnectCampaignArnT>(value)); return *this;}
52
54
58 inline const Aws::String& GetConnectCampaignExecutionRoleArn() const { return m_connectCampaignExecutionRoleArn; }
59 inline bool ConnectCampaignExecutionRoleArnHasBeenSet() const { return m_connectCampaignExecutionRoleArnHasBeenSet; }
60 template<typename ConnectCampaignExecutionRoleArnT = Aws::String>
61 void SetConnectCampaignExecutionRoleArn(ConnectCampaignExecutionRoleArnT&& value) { m_connectCampaignExecutionRoleArnHasBeenSet = true; m_connectCampaignExecutionRoleArn = std::forward<ConnectCampaignExecutionRoleArnT>(value); }
62 template<typename ConnectCampaignExecutionRoleArnT = Aws::String>
63 JourneyChannelSettings& WithConnectCampaignExecutionRoleArn(ConnectCampaignExecutionRoleArnT&& value) { SetConnectCampaignExecutionRoleArn(std::forward<ConnectCampaignExecutionRoleArnT>(value)); return *this;}
65 private:
66
67 Aws::String m_connectCampaignArn;
68 bool m_connectCampaignArnHasBeenSet = false;
69
70 Aws::String m_connectCampaignExecutionRoleArn;
71 bool m_connectCampaignExecutionRoleArnHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Pinpoint
76} // namespace Aws
AWS_PINPOINT_API JourneyChannelSettings()=default
AWS_PINPOINT_API JourneyChannelSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConnectCampaignArn(ConnectCampaignArnT &&value)
const Aws::String & GetConnectCampaignExecutionRoleArn() const
JourneyChannelSettings & WithConnectCampaignArn(ConnectCampaignArnT &&value)
AWS_PINPOINT_API JourneyChannelSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetConnectCampaignExecutionRoleArn(ConnectCampaignExecutionRoleArnT &&value)
JourneyChannelSettings & WithConnectCampaignExecutionRoleArn(ConnectCampaignExecutionRoleArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue