AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetWorkflowStepsResult.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/customer-profiles/model/WorkflowType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/customer-profiles/model/WorkflowStepItem.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace CustomerProfiles
27{
28namespace Model
29{
31 {
32 public:
33 AWS_CUSTOMERPROFILES_API GetWorkflowStepsResult();
36
37
39
42 inline const Aws::String& GetWorkflowId() const{ return m_workflowId; }
43 inline void SetWorkflowId(const Aws::String& value) { m_workflowId = value; }
44 inline void SetWorkflowId(Aws::String&& value) { m_workflowId = std::move(value); }
45 inline void SetWorkflowId(const char* value) { m_workflowId.assign(value); }
46 inline GetWorkflowStepsResult& WithWorkflowId(const Aws::String& value) { SetWorkflowId(value); return *this;}
47 inline GetWorkflowStepsResult& WithWorkflowId(Aws::String&& value) { SetWorkflowId(std::move(value)); return *this;}
48 inline GetWorkflowStepsResult& WithWorkflowId(const char* value) { SetWorkflowId(value); return *this;}
50
52
55 inline const WorkflowType& GetWorkflowType() const{ return m_workflowType; }
56 inline void SetWorkflowType(const WorkflowType& value) { m_workflowType = value; }
57 inline void SetWorkflowType(WorkflowType&& value) { m_workflowType = std::move(value); }
58 inline GetWorkflowStepsResult& WithWorkflowType(const WorkflowType& value) { SetWorkflowType(value); return *this;}
59 inline GetWorkflowStepsResult& WithWorkflowType(WorkflowType&& value) { SetWorkflowType(std::move(value)); return *this;}
61
63
66 inline const Aws::Vector<WorkflowStepItem>& GetItems() const{ return m_items; }
67 inline void SetItems(const Aws::Vector<WorkflowStepItem>& value) { m_items = value; }
68 inline void SetItems(Aws::Vector<WorkflowStepItem>&& value) { m_items = std::move(value); }
69 inline GetWorkflowStepsResult& WithItems(const Aws::Vector<WorkflowStepItem>& value) { SetItems(value); return *this;}
70 inline GetWorkflowStepsResult& WithItems(Aws::Vector<WorkflowStepItem>&& value) { SetItems(std::move(value)); return *this;}
71 inline GetWorkflowStepsResult& AddItems(const WorkflowStepItem& value) { m_items.push_back(value); return *this; }
72 inline GetWorkflowStepsResult& AddItems(WorkflowStepItem&& value) { m_items.push_back(std::move(value)); return *this; }
74
76
80 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
81 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
82 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
83 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
84 inline GetWorkflowStepsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
85 inline GetWorkflowStepsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
86 inline GetWorkflowStepsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
88
90
91 inline const Aws::String& GetRequestId() const{ return m_requestId; }
92 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
93 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
94 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
95 inline GetWorkflowStepsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
96 inline GetWorkflowStepsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
97 inline GetWorkflowStepsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
99 private:
100
101 Aws::String m_workflowId;
102
103 WorkflowType m_workflowType;
104
106
107 Aws::String m_nextToken;
108
109 Aws::String m_requestId;
110 };
111
112} // namespace Model
113} // namespace CustomerProfiles
114} // namespace Aws
GetWorkflowStepsResult & WithNextToken(const Aws::String &value)
GetWorkflowStepsResult & WithRequestId(Aws::String &&value)
AWS_CUSTOMERPROFILES_API GetWorkflowStepsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWorkflowStepsResult & WithItems(Aws::Vector< WorkflowStepItem > &&value)
GetWorkflowStepsResult & WithItems(const Aws::Vector< WorkflowStepItem > &value)
const Aws::Vector< WorkflowStepItem > & GetItems() const
GetWorkflowStepsResult & WithRequestId(const Aws::String &value)
GetWorkflowStepsResult & WithWorkflowType(WorkflowType &&value)
void SetItems(Aws::Vector< WorkflowStepItem > &&value)
GetWorkflowStepsResult & WithNextToken(const char *value)
GetWorkflowStepsResult & AddItems(WorkflowStepItem &&value)
GetWorkflowStepsResult & WithWorkflowId(const char *value)
GetWorkflowStepsResult & WithWorkflowId(Aws::String &&value)
AWS_CUSTOMERPROFILES_API GetWorkflowStepsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWorkflowStepsResult & WithRequestId(const char *value)
GetWorkflowStepsResult & WithWorkflowType(const WorkflowType &value)
GetWorkflowStepsResult & WithNextToken(Aws::String &&value)
GetWorkflowStepsResult & WithWorkflowId(const Aws::String &value)
GetWorkflowStepsResult & AddItems(const WorkflowStepItem &value)
void SetItems(const Aws::Vector< WorkflowStepItem > &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