AWS SDK for C++

AWS SDK for C++ Version 1.11.781

Loading...
Searching...
No Matches
InvokeActStepResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/nova-act/NovaAct_EXPORTS.h>
11#include <aws/nova-act/model/Call.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace NovaAct {
25namespace Model {
27 public:
28 AWS_NOVAACT_API InvokeActStepResult() = default;
31
33
36 inline const Aws::Vector<Call>& GetCalls() const { return m_calls; }
37 template <typename CallsT = Aws::Vector<Call>>
38 void SetCalls(CallsT&& value) {
39 m_callsHasBeenSet = true;
40 m_calls = std::forward<CallsT>(value);
41 }
42 template <typename CallsT = Aws::Vector<Call>>
43 InvokeActStepResult& WithCalls(CallsT&& value) {
44 SetCalls(std::forward<CallsT>(value));
45 return *this;
46 }
47 template <typename CallsT = Call>
48 InvokeActStepResult& AddCalls(CallsT&& value) {
49 m_callsHasBeenSet = true;
50 m_calls.emplace_back(std::forward<CallsT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetStepId() const { return m_stepId; }
60 template <typename StepIdT = Aws::String>
61 void SetStepId(StepIdT&& value) {
62 m_stepIdHasBeenSet = true;
63 m_stepId = std::forward<StepIdT>(value);
64 }
65 template <typename StepIdT = Aws::String>
66 InvokeActStepResult& WithStepId(StepIdT&& value) {
67 SetStepId(std::forward<StepIdT>(value));
68 return *this;
69 }
71
73
74 inline const Aws::String& GetRequestId() const { return m_requestId; }
75 template <typename RequestIdT = Aws::String>
76 void SetRequestId(RequestIdT&& value) {
77 m_requestIdHasBeenSet = true;
78 m_requestId = std::forward<RequestIdT>(value);
79 }
80 template <typename RequestIdT = Aws::String>
81 InvokeActStepResult& WithRequestId(RequestIdT&& value) {
82 SetRequestId(std::forward<RequestIdT>(value));
83 return *this;
84 }
86 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
87
88 private:
89 Aws::Vector<Call> m_calls;
90
91 Aws::String m_stepId;
92
93 Aws::String m_requestId;
94 Aws::Http::HttpResponseCode m_HttpResponseCode;
95 bool m_callsHasBeenSet = false;
96 bool m_stepIdHasBeenSet = false;
97 bool m_requestIdHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace NovaAct
102} // namespace Aws
AWS_NOVAACT_API InvokeActStepResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
InvokeActStepResult & AddCalls(CallsT &&value)
AWS_NOVAACT_API InvokeActStepResult()=default
const Aws::Vector< Call > & GetCalls() const
InvokeActStepResult & WithCalls(CallsT &&value)
InvokeActStepResult & WithStepId(StepIdT &&value)
AWS_NOVAACT_API InvokeActStepResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
InvokeActStepResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue