AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
VoiceCallEntryPointParameters.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
28 public:
29 AWS_CONNECT_API VoiceCallEntryPointParameters() = default;
32 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetSourcePhoneNumber() const { return m_sourcePhoneNumber; }
39 inline bool SourcePhoneNumberHasBeenSet() const { return m_sourcePhoneNumberHasBeenSet; }
40 template <typename SourcePhoneNumberT = Aws::String>
41 void SetSourcePhoneNumber(SourcePhoneNumberT&& value) {
42 m_sourcePhoneNumberHasBeenSet = true;
43 m_sourcePhoneNumber = std::forward<SourcePhoneNumberT>(value);
44 }
45 template <typename SourcePhoneNumberT = Aws::String>
47 SetSourcePhoneNumber(std::forward<SourcePhoneNumberT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetDestinationPhoneNumber() const { return m_destinationPhoneNumber; }
57 inline bool DestinationPhoneNumberHasBeenSet() const { return m_destinationPhoneNumberHasBeenSet; }
58 template <typename DestinationPhoneNumberT = Aws::String>
59 void SetDestinationPhoneNumber(DestinationPhoneNumberT&& value) {
60 m_destinationPhoneNumberHasBeenSet = true;
61 m_destinationPhoneNumber = std::forward<DestinationPhoneNumberT>(value);
62 }
63 template <typename DestinationPhoneNumberT = Aws::String>
65 SetDestinationPhoneNumber(std::forward<DestinationPhoneNumberT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetFlowId() const { return m_flowId; }
75 inline bool FlowIdHasBeenSet() const { return m_flowIdHasBeenSet; }
76 template <typename FlowIdT = Aws::String>
77 void SetFlowId(FlowIdT&& value) {
78 m_flowIdHasBeenSet = true;
79 m_flowId = std::forward<FlowIdT>(value);
80 }
81 template <typename FlowIdT = Aws::String>
83 SetFlowId(std::forward<FlowIdT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_sourcePhoneNumber;
89
90 Aws::String m_destinationPhoneNumber;
91
92 Aws::String m_flowId;
93 bool m_sourcePhoneNumberHasBeenSet = false;
94 bool m_destinationPhoneNumberHasBeenSet = false;
95 bool m_flowIdHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace Connect
100} // namespace Aws
bool FlowIdHasBeenSet() const
const Aws::String & GetDestinationPhoneNumber() const
bool DestinationPhoneNumberHasBeenSet() const
const Aws::String & GetSourcePhoneNumber() const
void SetDestinationPhoneNumber(DestinationPhoneNumberT &&value)
void SetSourcePhoneNumber(SourcePhoneNumberT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API VoiceCallEntryPointParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
VoiceCallEntryPointParameters & WithSourcePhoneNumber(SourcePhoneNumberT &&value)
void SetFlowId(FlowIdT &&value)
const Aws::String & GetFlowId() const
bool SourcePhoneNumberHasBeenSet() const
VoiceCallEntryPointParameters & WithDestinationPhoneNumber(DestinationPhoneNumberT &&value)
VoiceCallEntryPointParameters & WithFlowId(FlowIdT &&value)
AWS_CONNECT_API VoiceCallEntryPointParameters(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API VoiceCallEntryPointParameters()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue