AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
TestCaseEntryPoint.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/TestCaseEntryPointType.h>
9#include <aws/connect/model/VoiceCallEntryPointParameters.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Connect {
21namespace Model {
22
29 public:
30 AWS_CONNECT_API TestCaseEntryPoint() = default;
33 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline TestCaseEntryPointType GetType() const { return m_type; }
40 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
41 inline void SetType(TestCaseEntryPointType value) {
42 m_typeHasBeenSet = true;
43 m_type = value;
44 }
46 SetType(value);
47 return *this;
48 }
50
52
55 inline const VoiceCallEntryPointParameters& GetVoiceCallEntryPointParameters() const { return m_voiceCallEntryPointParameters; }
56 inline bool VoiceCallEntryPointParametersHasBeenSet() const { return m_voiceCallEntryPointParametersHasBeenSet; }
57 template <typename VoiceCallEntryPointParametersT = VoiceCallEntryPointParameters>
58 void SetVoiceCallEntryPointParameters(VoiceCallEntryPointParametersT&& value) {
59 m_voiceCallEntryPointParametersHasBeenSet = true;
60 m_voiceCallEntryPointParameters = std::forward<VoiceCallEntryPointParametersT>(value);
61 }
62 template <typename VoiceCallEntryPointParametersT = VoiceCallEntryPointParameters>
63 TestCaseEntryPoint& WithVoiceCallEntryPointParameters(VoiceCallEntryPointParametersT&& value) {
64 SetVoiceCallEntryPointParameters(std::forward<VoiceCallEntryPointParametersT>(value));
65 return *this;
66 }
68 private:
70
71 VoiceCallEntryPointParameters m_voiceCallEntryPointParameters;
72 bool m_typeHasBeenSet = false;
73 bool m_voiceCallEntryPointParametersHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace Connect
78} // namespace Aws
AWS_CONNECT_API TestCaseEntryPoint & operator=(Aws::Utils::Json::JsonView jsonValue)
TestCaseEntryPoint & WithType(TestCaseEntryPointType value)
TestCaseEntryPoint & WithVoiceCallEntryPointParameters(VoiceCallEntryPointParametersT &&value)
bool TypeHasBeenSet() const
AWS_CONNECT_API TestCaseEntryPoint()=default
void SetVoiceCallEntryPointParameters(VoiceCallEntryPointParametersT &&value)
void SetType(TestCaseEntryPointType value)
const VoiceCallEntryPointParameters & GetVoiceCallEntryPointParameters() const
AWS_CONNECT_API TestCaseEntryPoint(Aws::Utils::Json::JsonView jsonValue)
TestCaseEntryPointType GetType() const
bool VoiceCallEntryPointParametersHasBeenSet() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue