AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
OutboundCallerConfig.h
1
6#pragma once
7#include <aws/connect/Connect_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 Connect {
20namespace Model {
21
29 public:
30 AWS_CONNECT_API OutboundCallerConfig() = default;
33 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetOutboundCallerIdName() const { return m_outboundCallerIdName; }
40 inline bool OutboundCallerIdNameHasBeenSet() const { return m_outboundCallerIdNameHasBeenSet; }
41 template <typename OutboundCallerIdNameT = Aws::String>
42 void SetOutboundCallerIdName(OutboundCallerIdNameT&& value) {
43 m_outboundCallerIdNameHasBeenSet = true;
44 m_outboundCallerIdName = std::forward<OutboundCallerIdNameT>(value);
45 }
46 template <typename OutboundCallerIdNameT = Aws::String>
47 OutboundCallerConfig& WithOutboundCallerIdName(OutboundCallerIdNameT&& value) {
48 SetOutboundCallerIdName(std::forward<OutboundCallerIdNameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetOutboundCallerIdNumberId() const { return m_outboundCallerIdNumberId; }
58 inline bool OutboundCallerIdNumberIdHasBeenSet() const { return m_outboundCallerIdNumberIdHasBeenSet; }
59 template <typename OutboundCallerIdNumberIdT = Aws::String>
60 void SetOutboundCallerIdNumberId(OutboundCallerIdNumberIdT&& value) {
61 m_outboundCallerIdNumberIdHasBeenSet = true;
62 m_outboundCallerIdNumberId = std::forward<OutboundCallerIdNumberIdT>(value);
63 }
64 template <typename OutboundCallerIdNumberIdT = Aws::String>
65 OutboundCallerConfig& WithOutboundCallerIdNumberId(OutboundCallerIdNumberIdT&& value) {
66 SetOutboundCallerIdNumberId(std::forward<OutboundCallerIdNumberIdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetOutboundFlowId() const { return m_outboundFlowId; }
76 inline bool OutboundFlowIdHasBeenSet() const { return m_outboundFlowIdHasBeenSet; }
77 template <typename OutboundFlowIdT = Aws::String>
78 void SetOutboundFlowId(OutboundFlowIdT&& value) {
79 m_outboundFlowIdHasBeenSet = true;
80 m_outboundFlowId = std::forward<OutboundFlowIdT>(value);
81 }
82 template <typename OutboundFlowIdT = Aws::String>
83 OutboundCallerConfig& WithOutboundFlowId(OutboundFlowIdT&& value) {
84 SetOutboundFlowId(std::forward<OutboundFlowIdT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_outboundCallerIdName;
90
91 Aws::String m_outboundCallerIdNumberId;
92
93 Aws::String m_outboundFlowId;
94 bool m_outboundCallerIdNameHasBeenSet = false;
95 bool m_outboundCallerIdNumberIdHasBeenSet = false;
96 bool m_outboundFlowIdHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace Connect
101} // namespace Aws
OutboundCallerConfig & WithOutboundFlowId(OutboundFlowIdT &&value)
const Aws::String & GetOutboundCallerIdName() const
AWS_CONNECT_API OutboundCallerConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API OutboundCallerConfig(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetOutboundCallerIdNumberId() const
OutboundCallerConfig & WithOutboundCallerIdNumberId(OutboundCallerIdNumberIdT &&value)
void SetOutboundFlowId(OutboundFlowIdT &&value)
AWS_CONNECT_API OutboundCallerConfig()=default
void SetOutboundCallerIdName(OutboundCallerIdNameT &&value)
void SetOutboundCallerIdNumberId(OutboundCallerIdNumberIdT &&value)
OutboundCallerConfig & WithOutboundCallerIdName(OutboundCallerIdNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue