AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ListWorkflowsItem.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/customer-profiles/model/WorkflowType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/customer-profiles/model/Status.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace CustomerProfiles
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_CUSTOMERPROFILES_API ListWorkflowsItem() = default;
38 AWS_CUSTOMERPROFILES_API ListWorkflowsItem(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CUSTOMERPROFILES_API ListWorkflowsItem& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline WorkflowType GetWorkflowType() const { return m_workflowType; }
48 inline bool WorkflowTypeHasBeenSet() const { return m_workflowTypeHasBeenSet; }
49 inline void SetWorkflowType(WorkflowType value) { m_workflowTypeHasBeenSet = true; m_workflowType = value; }
50 inline ListWorkflowsItem& WithWorkflowType(WorkflowType value) { SetWorkflowType(value); return *this;}
52
54
57 inline const Aws::String& GetWorkflowId() const { return m_workflowId; }
58 inline bool WorkflowIdHasBeenSet() const { return m_workflowIdHasBeenSet; }
59 template<typename WorkflowIdT = Aws::String>
60 void SetWorkflowId(WorkflowIdT&& value) { m_workflowIdHasBeenSet = true; m_workflowId = std::forward<WorkflowIdT>(value); }
61 template<typename WorkflowIdT = Aws::String>
62 ListWorkflowsItem& WithWorkflowId(WorkflowIdT&& value) { SetWorkflowId(std::forward<WorkflowIdT>(value)); return *this;}
64
66
69 inline Status GetStatus() const { return m_status; }
70 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
71 inline void SetStatus(Status value) { m_statusHasBeenSet = true; m_status = value; }
72 inline ListWorkflowsItem& WithStatus(Status value) { SetStatus(value); return *this;}
74
76
79 inline const Aws::String& GetStatusDescription() const { return m_statusDescription; }
80 inline bool StatusDescriptionHasBeenSet() const { return m_statusDescriptionHasBeenSet; }
81 template<typename StatusDescriptionT = Aws::String>
82 void SetStatusDescription(StatusDescriptionT&& value) { m_statusDescriptionHasBeenSet = true; m_statusDescription = std::forward<StatusDescriptionT>(value); }
83 template<typename StatusDescriptionT = Aws::String>
84 ListWorkflowsItem& WithStatusDescription(StatusDescriptionT&& value) { SetStatusDescription(std::forward<StatusDescriptionT>(value)); return *this;}
86
88
91 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
92 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
93 template<typename CreatedAtT = Aws::Utils::DateTime>
94 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
95 template<typename CreatedAtT = Aws::Utils::DateTime>
96 ListWorkflowsItem& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
98
100
103 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
104 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
105 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
106 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
107 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
108 ListWorkflowsItem& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
110 private:
111
112 WorkflowType m_workflowType{WorkflowType::NOT_SET};
113 bool m_workflowTypeHasBeenSet = false;
114
115 Aws::String m_workflowId;
116 bool m_workflowIdHasBeenSet = false;
117
118 Status m_status{Status::NOT_SET};
119 bool m_statusHasBeenSet = false;
120
121 Aws::String m_statusDescription;
122 bool m_statusDescriptionHasBeenSet = false;
123
124 Aws::Utils::DateTime m_createdAt{};
125 bool m_createdAtHasBeenSet = false;
126
127 Aws::Utils::DateTime m_lastUpdatedAt{};
128 bool m_lastUpdatedAtHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace CustomerProfiles
133} // namespace Aws
AWS_CUSTOMERPROFILES_API ListWorkflowsItem & operator=(Aws::Utils::Json::JsonView jsonValue)
ListWorkflowsItem & WithWorkflowType(WorkflowType value)
ListWorkflowsItem & WithWorkflowId(WorkflowIdT &&value)
ListWorkflowsItem & WithCreatedAt(CreatedAtT &&value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
ListWorkflowsItem & WithStatus(Status value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
AWS_CUSTOMERPROFILES_API ListWorkflowsItem()=default
ListWorkflowsItem & WithLastUpdatedAt(LastUpdatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_CUSTOMERPROFILES_API ListWorkflowsItem(Aws::Utils::Json::JsonView jsonValue)
ListWorkflowsItem & WithStatusDescription(StatusDescriptionT &&value)
void SetStatusDescription(StatusDescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue