AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
SmsOutboundConfig.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 SmsOutboundConfig() = default;
30 AWS_CONNECTCAMPAIGNSV2_API SmsOutboundConfig(Aws::Utils::Json::JsonView jsonValue);
31 AWS_CONNECTCAMPAIGNSV2_API SmsOutboundConfig& 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 SmsOutboundConfig& 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 SmsOutboundConfig& 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
void SetConnectSourcePhoneNumberArn(ConnectSourcePhoneNumberArnT &&value)
AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECTCAMPAIGNSV2_API SmsOutboundConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTCAMPAIGNSV2_API SmsOutboundConfig()=default
SmsOutboundConfig & WithWisdomTemplateArn(WisdomTemplateArnT &&value)
void SetWisdomTemplateArn(WisdomTemplateArnT &&value)
AWS_CONNECTCAMPAIGNSV2_API SmsOutboundConfig(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetConnectSourcePhoneNumberArn() const
SmsOutboundConfig & WithConnectSourcePhoneNumberArn(ConnectSourcePhoneNumberArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue