AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
WhatsAppOutboundConfig.h
1
6#pragma once
7#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ConnectCampaignsV2 {
20namespace Model {
21
28 public:
29 AWS_CONNECTCAMPAIGNSV2_API WhatsAppOutboundConfig() = default;
30 AWS_CONNECTCAMPAIGNSV2_API WhatsAppOutboundConfig(Aws::Utils::Json::JsonView jsonValue);
31 AWS_CONNECTCAMPAIGNSV2_API WhatsAppOutboundConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
36 inline const Aws::String& GetConnectSourcePhoneNumberArn() const { return m_connectSourcePhoneNumberArn; }
37 inline bool ConnectSourcePhoneNumberArnHasBeenSet() const { return m_connectSourcePhoneNumberArnHasBeenSet; }
38 template <typename ConnectSourcePhoneNumberArnT = Aws::String>
39 void SetConnectSourcePhoneNumberArn(ConnectSourcePhoneNumberArnT&& value) {
40 m_connectSourcePhoneNumberArnHasBeenSet = true;
41 m_connectSourcePhoneNumberArn = std::forward<ConnectSourcePhoneNumberArnT>(value);
42 }
43 template <typename ConnectSourcePhoneNumberArnT = Aws::String>
44 WhatsAppOutboundConfig& WithConnectSourcePhoneNumberArn(ConnectSourcePhoneNumberArnT&& value) {
45 SetConnectSourcePhoneNumberArn(std::forward<ConnectSourcePhoneNumberArnT>(value));
46 return *this;
47 }
49
51
52 inline const Aws::String& GetWisdomTemplateArn() const { return m_wisdomTemplateArn; }
53 inline bool WisdomTemplateArnHasBeenSet() const { return m_wisdomTemplateArnHasBeenSet; }
54 template <typename WisdomTemplateArnT = Aws::String>
55 void SetWisdomTemplateArn(WisdomTemplateArnT&& value) {
56 m_wisdomTemplateArnHasBeenSet = true;
57 m_wisdomTemplateArn = std::forward<WisdomTemplateArnT>(value);
58 }
59 template <typename WisdomTemplateArnT = Aws::String>
60 WhatsAppOutboundConfig& WithWisdomTemplateArn(WisdomTemplateArnT&& value) {
61 SetWisdomTemplateArn(std::forward<WisdomTemplateArnT>(value));
62 return *this;
63 }
65 private:
66 Aws::String m_connectSourcePhoneNumberArn;
67
68 Aws::String m_wisdomTemplateArn;
69 bool m_connectSourcePhoneNumberArnHasBeenSet = false;
70 bool m_wisdomTemplateArnHasBeenSet = false;
71};
72
73} // namespace Model
74} // namespace ConnectCampaignsV2
75} // namespace Aws
AWS_CONNECTCAMPAIGNSV2_API WhatsAppOutboundConfig()=default
void SetConnectSourcePhoneNumberArn(ConnectSourcePhoneNumberArnT &&value)
AWS_CONNECTCAMPAIGNSV2_API WhatsAppOutboundConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
WhatsAppOutboundConfig & WithWisdomTemplateArn(WisdomTemplateArnT &&value)
WhatsAppOutboundConfig & WithConnectSourcePhoneNumberArn(ConnectSourcePhoneNumberArnT &&value)
AWS_CONNECTCAMPAIGNSV2_API WhatsAppOutboundConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue