AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
BatchGetWorkflowsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glue/GlueRequest.h>
10#include <aws/glue/Glue_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Glue {
16namespace Model {
17
21 public:
22 AWS_GLUE_API BatchGetWorkflowsRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "BatchGetWorkflows"; }
29
30 AWS_GLUE_API Aws::String SerializePayload() const override;
31
33
35
39 inline const Aws::Vector<Aws::String>& GetNames() const { return m_names; }
40 inline bool NamesHasBeenSet() const { return m_namesHasBeenSet; }
41 template <typename NamesT = Aws::Vector<Aws::String>>
42 void SetNames(NamesT&& value) {
43 m_namesHasBeenSet = true;
44 m_names = std::forward<NamesT>(value);
45 }
46 template <typename NamesT = Aws::Vector<Aws::String>>
48 SetNames(std::forward<NamesT>(value));
49 return *this;
50 }
51 template <typename NamesT = Aws::String>
53 m_namesHasBeenSet = true;
54 m_names.emplace_back(std::forward<NamesT>(value));
55 return *this;
56 }
58
60
64 inline bool GetIncludeGraph() const { return m_includeGraph; }
65 inline bool IncludeGraphHasBeenSet() const { return m_includeGraphHasBeenSet; }
66 inline void SetIncludeGraph(bool value) {
67 m_includeGraphHasBeenSet = true;
68 m_includeGraph = value;
69 }
71 SetIncludeGraph(value);
72 return *this;
73 }
75 private:
77
78 bool m_includeGraph{false};
79 bool m_namesHasBeenSet = false;
80 bool m_includeGraphHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace Glue
85} // namespace Aws
AWS_GLUE_API BatchGetWorkflowsRequest()=default
AWS_GLUE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Aws::String > & GetNames() const
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
BatchGetWorkflowsRequest & WithIncludeGraph(bool value)
BatchGetWorkflowsRequest & WithNames(NamesT &&value)
BatchGetWorkflowsRequest & AddNames(NamesT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector