AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const WorkflowType& GetWorkflowType() const{ return m_workflowType; }
48 inline bool WorkflowTypeHasBeenSet() const { return m_workflowTypeHasBeenSet; }
49 inline void SetWorkflowType(const WorkflowType& value) { m_workflowTypeHasBeenSet = true; m_workflowType = value; }
50 inline void SetWorkflowType(WorkflowType&& value) { m_workflowTypeHasBeenSet = true; m_workflowType = std::move(value); }
51 inline ListWorkflowsItem& WithWorkflowType(const WorkflowType& value) { SetWorkflowType(value); return *this;}
52 inline ListWorkflowsItem& WithWorkflowType(WorkflowType&& value) { SetWorkflowType(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetWorkflowId() const{ return m_workflowId; }
60 inline bool WorkflowIdHasBeenSet() const { return m_workflowIdHasBeenSet; }
61 inline void SetWorkflowId(const Aws::String& value) { m_workflowIdHasBeenSet = true; m_workflowId = value; }
62 inline void SetWorkflowId(Aws::String&& value) { m_workflowIdHasBeenSet = true; m_workflowId = std::move(value); }
63 inline void SetWorkflowId(const char* value) { m_workflowIdHasBeenSet = true; m_workflowId.assign(value); }
64 inline ListWorkflowsItem& WithWorkflowId(const Aws::String& value) { SetWorkflowId(value); return *this;}
65 inline ListWorkflowsItem& WithWorkflowId(Aws::String&& value) { SetWorkflowId(std::move(value)); return *this;}
66 inline ListWorkflowsItem& WithWorkflowId(const char* value) { SetWorkflowId(value); return *this;}
68
70
73 inline const Status& GetStatus() const{ return m_status; }
74 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
75 inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; }
76 inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
77 inline ListWorkflowsItem& WithStatus(const Status& value) { SetStatus(value); return *this;}
78 inline ListWorkflowsItem& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
80
82
85 inline const Aws::String& GetStatusDescription() const{ return m_statusDescription; }
86 inline bool StatusDescriptionHasBeenSet() const { return m_statusDescriptionHasBeenSet; }
87 inline void SetStatusDescription(const Aws::String& value) { m_statusDescriptionHasBeenSet = true; m_statusDescription = value; }
88 inline void SetStatusDescription(Aws::String&& value) { m_statusDescriptionHasBeenSet = true; m_statusDescription = std::move(value); }
89 inline void SetStatusDescription(const char* value) { m_statusDescriptionHasBeenSet = true; m_statusDescription.assign(value); }
90 inline ListWorkflowsItem& WithStatusDescription(const Aws::String& value) { SetStatusDescription(value); return *this;}
91 inline ListWorkflowsItem& WithStatusDescription(Aws::String&& value) { SetStatusDescription(std::move(value)); return *this;}
92 inline ListWorkflowsItem& WithStatusDescription(const char* value) { SetStatusDescription(value); return *this;}
94
96
99 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
100 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
101 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
102 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
103 inline ListWorkflowsItem& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
104 inline ListWorkflowsItem& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
106
108
111 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
112 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
113 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
114 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
115 inline ListWorkflowsItem& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
116 inline ListWorkflowsItem& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
118 private:
119
120 WorkflowType m_workflowType;
121 bool m_workflowTypeHasBeenSet = false;
122
123 Aws::String m_workflowId;
124 bool m_workflowIdHasBeenSet = false;
125
126 Status m_status;
127 bool m_statusHasBeenSet = false;
128
129 Aws::String m_statusDescription;
130 bool m_statusDescriptionHasBeenSet = false;
131
132 Aws::Utils::DateTime m_createdAt;
133 bool m_createdAtHasBeenSet = false;
134
135 Aws::Utils::DateTime m_lastUpdatedAt;
136 bool m_lastUpdatedAtHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace CustomerProfiles
141} // namespace Aws
ListWorkflowsItem & WithWorkflowType(const WorkflowType &value)
ListWorkflowsItem & WithWorkflowId(const Aws::String &value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
AWS_CUSTOMERPROFILES_API ListWorkflowsItem & operator=(Aws::Utils::Json::JsonView jsonValue)
ListWorkflowsItem & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetWorkflowType(const WorkflowType &value)
ListWorkflowsItem & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
ListWorkflowsItem & WithStatus(const Status &value)
ListWorkflowsItem & WithCreatedAt(const Aws::Utils::DateTime &value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
ListWorkflowsItem & WithStatusDescription(const char *value)
ListWorkflowsItem & WithStatusDescription(Aws::String &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
ListWorkflowsItem & WithWorkflowId(Aws::String &&value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
ListWorkflowsItem & WithWorkflowId(const char *value)
ListWorkflowsItem & WithWorkflowType(WorkflowType &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetStatusDescription(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
ListWorkflowsItem & WithStatus(Status &&value)
AWS_CUSTOMERPROFILES_API ListWorkflowsItem(Aws::Utils::Json::JsonView jsonValue)
ListWorkflowsItem & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
AWS_CUSTOMERPROFILES_API ListWorkflowsItem()
ListWorkflowsItem & WithStatusDescription(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue