AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchGetWorkflowsResult.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/glue/model/Workflow.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Glue
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline const Aws::Vector<Workflow>& GetWorkflows() const{ return m_workflows; }
42 inline void SetWorkflows(const Aws::Vector<Workflow>& value) { m_workflows = value; }
43 inline void SetWorkflows(Aws::Vector<Workflow>&& value) { m_workflows = std::move(value); }
44 inline BatchGetWorkflowsResult& WithWorkflows(const Aws::Vector<Workflow>& value) { SetWorkflows(value); return *this;}
45 inline BatchGetWorkflowsResult& WithWorkflows(Aws::Vector<Workflow>&& value) { SetWorkflows(std::move(value)); return *this;}
46 inline BatchGetWorkflowsResult& AddWorkflows(const Workflow& value) { m_workflows.push_back(value); return *this; }
47 inline BatchGetWorkflowsResult& AddWorkflows(Workflow&& value) { m_workflows.push_back(std::move(value)); return *this; }
49
51
54 inline const Aws::Vector<Aws::String>& GetMissingWorkflows() const{ return m_missingWorkflows; }
55 inline void SetMissingWorkflows(const Aws::Vector<Aws::String>& value) { m_missingWorkflows = value; }
56 inline void SetMissingWorkflows(Aws::Vector<Aws::String>&& value) { m_missingWorkflows = std::move(value); }
59 inline BatchGetWorkflowsResult& AddMissingWorkflows(const Aws::String& value) { m_missingWorkflows.push_back(value); return *this; }
60 inline BatchGetWorkflowsResult& AddMissingWorkflows(Aws::String&& value) { m_missingWorkflows.push_back(std::move(value)); return *this; }
61 inline BatchGetWorkflowsResult& AddMissingWorkflows(const char* value) { m_missingWorkflows.push_back(value); return *this; }
63
65
66 inline const Aws::String& GetRequestId() const{ return m_requestId; }
67 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
68 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
69 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
70 inline BatchGetWorkflowsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
71 inline BatchGetWorkflowsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
72 inline BatchGetWorkflowsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
74 private:
75
76 Aws::Vector<Workflow> m_workflows;
77
78 Aws::Vector<Aws::String> m_missingWorkflows;
79
80 Aws::String m_requestId;
81 };
82
83} // namespace Model
84} // namespace Glue
85} // namespace Aws
void SetWorkflows(Aws::Vector< Workflow > &&value)
AWS_GLUE_API BatchGetWorkflowsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetMissingWorkflows(const Aws::Vector< Aws::String > &value)
BatchGetWorkflowsResult & WithRequestId(const Aws::String &value)
AWS_GLUE_API BatchGetWorkflowsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Workflow > & GetWorkflows() const
BatchGetWorkflowsResult & WithWorkflows(const Aws::Vector< Workflow > &value)
BatchGetWorkflowsResult & WithMissingWorkflows(const Aws::Vector< Aws::String > &value)
BatchGetWorkflowsResult & WithRequestId(Aws::String &&value)
BatchGetWorkflowsResult & WithRequestId(const char *value)
const Aws::Vector< Aws::String > & GetMissingWorkflows() const
BatchGetWorkflowsResult & WithMissingWorkflows(Aws::Vector< Aws::String > &&value)
BatchGetWorkflowsResult & AddMissingWorkflows(const char *value)
BatchGetWorkflowsResult & AddWorkflows(Workflow &&value)
BatchGetWorkflowsResult & AddMissingWorkflows(Aws::String &&value)
BatchGetWorkflowsResult & AddWorkflows(const Workflow &value)
void SetWorkflows(const Aws::Vector< Workflow > &value)
BatchGetWorkflowsResult & AddMissingWorkflows(const Aws::String &value)
void SetMissingWorkflows(Aws::Vector< Aws::String > &&value)
BatchGetWorkflowsResult & WithWorkflows(Aws::Vector< Workflow > &&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