AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
CancelFlowExecutionsResult.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Appflow {
24namespace Model {
26 public:
27 AWS_APPFLOW_API CancelFlowExecutionsResult() = default;
30
32
37 inline const Aws::Vector<Aws::String>& GetInvalidExecutions() const { return m_invalidExecutions; }
38 template <typename InvalidExecutionsT = Aws::Vector<Aws::String>>
39 void SetInvalidExecutions(InvalidExecutionsT&& value) {
40 m_invalidExecutionsHasBeenSet = true;
41 m_invalidExecutions = std::forward<InvalidExecutionsT>(value);
42 }
43 template <typename InvalidExecutionsT = Aws::Vector<Aws::String>>
45 SetInvalidExecutions(std::forward<InvalidExecutionsT>(value));
46 return *this;
47 }
48 template <typename InvalidExecutionsT = Aws::String>
49 CancelFlowExecutionsResult& AddInvalidExecutions(InvalidExecutionsT&& value) {
50 m_invalidExecutionsHasBeenSet = true;
51 m_invalidExecutions.emplace_back(std::forward<InvalidExecutionsT>(value));
52 return *this;
53 }
55
57
58 inline const Aws::String& GetRequestId() const { return m_requestId; }
59 template <typename RequestIdT = Aws::String>
60 void SetRequestId(RequestIdT&& value) {
61 m_requestIdHasBeenSet = true;
62 m_requestId = std::forward<RequestIdT>(value);
63 }
64 template <typename RequestIdT = Aws::String>
66 SetRequestId(std::forward<RequestIdT>(value));
67 return *this;
68 }
70 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
71
72 private:
73 Aws::Vector<Aws::String> m_invalidExecutions;
74
75 Aws::String m_requestId;
76 Aws::Http::HttpResponseCode m_HttpResponseCode;
77 bool m_invalidExecutionsHasBeenSet = false;
78 bool m_requestIdHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace Appflow
83} // namespace Aws
const Aws::Vector< Aws::String > & GetInvalidExecutions() const
CancelFlowExecutionsResult & AddInvalidExecutions(InvalidExecutionsT &&value)
CancelFlowExecutionsResult & WithInvalidExecutions(InvalidExecutionsT &&value)
AWS_APPFLOW_API CancelFlowExecutionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APPFLOW_API CancelFlowExecutionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CancelFlowExecutionsResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_APPFLOW_API CancelFlowExecutionsResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue