AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
Call.h
1
6#pragma once
7#include <aws/core/utils/Document.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/nova-act/NovaAct_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace NovaAct {
21namespace Model {
22
29class Call {
30 public:
31 AWS_NOVAACT_API Call() = default;
32 AWS_NOVAACT_API Call(Aws::Utils::Json::JsonView jsonValue);
33 AWS_NOVAACT_API Call& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_NOVAACT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetCallId() const { return m_callId; }
42 inline bool CallIdHasBeenSet() const { return m_callIdHasBeenSet; }
43 template <typename CallIdT = Aws::String>
44 void SetCallId(CallIdT&& value) {
45 m_callIdHasBeenSet = true;
46 m_callId = std::forward<CallIdT>(value);
47 }
48 template <typename CallIdT = Aws::String>
49 Call& WithCallId(CallIdT&& value) {
50 SetCallId(std::forward<CallIdT>(value));
51 return *this;
52 }
54
56
60 inline Aws::Utils::DocumentView GetInput() const { return m_input; }
61 inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
62 template <typename InputT = Aws::Utils::Document>
63 void SetInput(InputT&& value) {
64 m_inputHasBeenSet = true;
65 m_input = std::forward<InputT>(value);
66 }
67 template <typename InputT = Aws::Utils::Document>
68 Call& WithInput(InputT&& value) {
69 SetInput(std::forward<InputT>(value));
70 return *this;
71 }
73
75
79 inline const Aws::String& GetName() const { return m_name; }
80 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
81 template <typename NameT = Aws::String>
82 void SetName(NameT&& value) {
83 m_nameHasBeenSet = true;
84 m_name = std::forward<NameT>(value);
85 }
86 template <typename NameT = Aws::String>
87 Call& WithName(NameT&& value) {
88 SetName(std::forward<NameT>(value));
89 return *this;
90 }
92 private:
93 Aws::String m_callId;
94
96
97 Aws::String m_name;
98 bool m_callIdHasBeenSet = false;
99 bool m_inputHasBeenSet = false;
100 bool m_nameHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace NovaAct
105} // namespace Aws
const Aws::String & GetCallId() const
Definition Call.h:41
AWS_NOVAACT_API Call(Aws::Utils::Json::JsonView jsonValue)
bool CallIdHasBeenSet() const
Definition Call.h:42
bool NameHasBeenSet() const
Definition Call.h:80
Call & WithInput(InputT &&value)
Definition Call.h:68
void SetInput(InputT &&value)
Definition Call.h:63
Aws::Utils::DocumentView GetInput() const
Definition Call.h:60
Call & WithCallId(CallIdT &&value)
Definition Call.h:49
AWS_NOVAACT_API Aws::Utils::Json::JsonValue Jsonize() const
Call & WithName(NameT &&value)
Definition Call.h:87
AWS_NOVAACT_API Call()=default
const Aws::String & GetName() const
Definition Call.h:79
AWS_NOVAACT_API Call & operator=(Aws::Utils::Json::JsonView jsonValue)
bool InputHasBeenSet() const
Definition Call.h:61
void SetCallId(CallIdT &&value)
Definition Call.h:44
void SetName(NameT &&value)
Definition Call.h:82
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue