AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FlowDefinition.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/SourceFlowConfig.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/customer-profiles/model/TriggerConfig.h>
12#include <aws/customer-profiles/model/Task.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace CustomerProfiles
26{
27namespace Model
28{
29
38 {
39 public:
40 AWS_CUSTOMERPROFILES_API FlowDefinition();
41 AWS_CUSTOMERPROFILES_API FlowDefinition(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CUSTOMERPROFILES_API FlowDefinition& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetDescription() const{ return m_description; }
51 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
52 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
53 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
54 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
55 inline FlowDefinition& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
56 inline FlowDefinition& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
57 inline FlowDefinition& WithDescription(const char* value) { SetDescription(value); return *this;}
59
61
65 inline const Aws::String& GetFlowName() const{ return m_flowName; }
66 inline bool FlowNameHasBeenSet() const { return m_flowNameHasBeenSet; }
67 inline void SetFlowName(const Aws::String& value) { m_flowNameHasBeenSet = true; m_flowName = value; }
68 inline void SetFlowName(Aws::String&& value) { m_flowNameHasBeenSet = true; m_flowName = std::move(value); }
69 inline void SetFlowName(const char* value) { m_flowNameHasBeenSet = true; m_flowName.assign(value); }
70 inline FlowDefinition& WithFlowName(const Aws::String& value) { SetFlowName(value); return *this;}
71 inline FlowDefinition& WithFlowName(Aws::String&& value) { SetFlowName(std::move(value)); return *this;}
72 inline FlowDefinition& WithFlowName(const char* value) { SetFlowName(value); return *this;}
74
76
80 inline const Aws::String& GetKmsArn() const{ return m_kmsArn; }
81 inline bool KmsArnHasBeenSet() const { return m_kmsArnHasBeenSet; }
82 inline void SetKmsArn(const Aws::String& value) { m_kmsArnHasBeenSet = true; m_kmsArn = value; }
83 inline void SetKmsArn(Aws::String&& value) { m_kmsArnHasBeenSet = true; m_kmsArn = std::move(value); }
84 inline void SetKmsArn(const char* value) { m_kmsArnHasBeenSet = true; m_kmsArn.assign(value); }
85 inline FlowDefinition& WithKmsArn(const Aws::String& value) { SetKmsArn(value); return *this;}
86 inline FlowDefinition& WithKmsArn(Aws::String&& value) { SetKmsArn(std::move(value)); return *this;}
87 inline FlowDefinition& WithKmsArn(const char* value) { SetKmsArn(value); return *this;}
89
91
95 inline const SourceFlowConfig& GetSourceFlowConfig() const{ return m_sourceFlowConfig; }
96 inline bool SourceFlowConfigHasBeenSet() const { return m_sourceFlowConfigHasBeenSet; }
97 inline void SetSourceFlowConfig(const SourceFlowConfig& value) { m_sourceFlowConfigHasBeenSet = true; m_sourceFlowConfig = value; }
98 inline void SetSourceFlowConfig(SourceFlowConfig&& value) { m_sourceFlowConfigHasBeenSet = true; m_sourceFlowConfig = std::move(value); }
99 inline FlowDefinition& WithSourceFlowConfig(const SourceFlowConfig& value) { SetSourceFlowConfig(value); return *this;}
100 inline FlowDefinition& WithSourceFlowConfig(SourceFlowConfig&& value) { SetSourceFlowConfig(std::move(value)); return *this;}
102
104
108 inline const Aws::Vector<Task>& GetTasks() const{ return m_tasks; }
109 inline bool TasksHasBeenSet() const { return m_tasksHasBeenSet; }
110 inline void SetTasks(const Aws::Vector<Task>& value) { m_tasksHasBeenSet = true; m_tasks = value; }
111 inline void SetTasks(Aws::Vector<Task>&& value) { m_tasksHasBeenSet = true; m_tasks = std::move(value); }
112 inline FlowDefinition& WithTasks(const Aws::Vector<Task>& value) { SetTasks(value); return *this;}
113 inline FlowDefinition& WithTasks(Aws::Vector<Task>&& value) { SetTasks(std::move(value)); return *this;}
114 inline FlowDefinition& AddTasks(const Task& value) { m_tasksHasBeenSet = true; m_tasks.push_back(value); return *this; }
115 inline FlowDefinition& AddTasks(Task&& value) { m_tasksHasBeenSet = true; m_tasks.push_back(std::move(value)); return *this; }
117
119
122 inline const TriggerConfig& GetTriggerConfig() const{ return m_triggerConfig; }
123 inline bool TriggerConfigHasBeenSet() const { return m_triggerConfigHasBeenSet; }
124 inline void SetTriggerConfig(const TriggerConfig& value) { m_triggerConfigHasBeenSet = true; m_triggerConfig = value; }
125 inline void SetTriggerConfig(TriggerConfig&& value) { m_triggerConfigHasBeenSet = true; m_triggerConfig = std::move(value); }
126 inline FlowDefinition& WithTriggerConfig(const TriggerConfig& value) { SetTriggerConfig(value); return *this;}
127 inline FlowDefinition& WithTriggerConfig(TriggerConfig&& value) { SetTriggerConfig(std::move(value)); return *this;}
129 private:
130
131 Aws::String m_description;
132 bool m_descriptionHasBeenSet = false;
133
134 Aws::String m_flowName;
135 bool m_flowNameHasBeenSet = false;
136
137 Aws::String m_kmsArn;
138 bool m_kmsArnHasBeenSet = false;
139
140 SourceFlowConfig m_sourceFlowConfig;
141 bool m_sourceFlowConfigHasBeenSet = false;
142
143 Aws::Vector<Task> m_tasks;
144 bool m_tasksHasBeenSet = false;
145
146 TriggerConfig m_triggerConfig;
147 bool m_triggerConfigHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace CustomerProfiles
152} // namespace Aws
const TriggerConfig & GetTriggerConfig() const
FlowDefinition & WithDescription(const char *value)
FlowDefinition & WithKmsArn(Aws::String &&value)
FlowDefinition & WithFlowName(const char *value)
FlowDefinition & WithDescription(Aws::String &&value)
FlowDefinition & AddTasks(const Task &value)
FlowDefinition & AddTasks(Task &&value)
AWS_CUSTOMERPROFILES_API FlowDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFlowName(const Aws::String &value)
FlowDefinition & WithKmsArn(const Aws::String &value)
FlowDefinition & WithSourceFlowConfig(SourceFlowConfig &&value)
void SetTriggerConfig(TriggerConfig &&value)
void SetTriggerConfig(const TriggerConfig &value)
FlowDefinition & WithDescription(const Aws::String &value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CUSTOMERPROFILES_API FlowDefinition(Aws::Utils::Json::JsonView jsonValue)
AWS_CUSTOMERPROFILES_API FlowDefinition()
FlowDefinition & WithFlowName(Aws::String &&value)
FlowDefinition & WithFlowName(const Aws::String &value)
const Aws::Vector< Task > & GetTasks() const
FlowDefinition & WithTriggerConfig(const TriggerConfig &value)
void SetTasks(const Aws::Vector< Task > &value)
void SetTasks(Aws::Vector< Task > &&value)
FlowDefinition & WithTasks(Aws::Vector< Task > &&value)
FlowDefinition & WithSourceFlowConfig(const SourceFlowConfig &value)
void SetKmsArn(const Aws::String &value)
void SetSourceFlowConfig(SourceFlowConfig &&value)
void SetSourceFlowConfig(const SourceFlowConfig &value)
const Aws::String & GetDescription() const
const SourceFlowConfig & GetSourceFlowConfig() const
void SetDescription(const Aws::String &value)
FlowDefinition & WithTasks(const Aws::Vector< Task > &value)
FlowDefinition & WithKmsArn(const char *value)
FlowDefinition & WithTriggerConfig(TriggerConfig &&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