AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
DataIntegrationFlow.h
1
6#pragma once
7#include <aws/supplychain/SupplyChain_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/supplychain/model/DataIntegrationFlowTransformation.h>
11#include <aws/supplychain/model/DataIntegrationFlowTarget.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/supplychain/model/DataIntegrationFlowSource.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace SupplyChain
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_SUPPLYCHAIN_API DataIntegrationFlow() = default;
40 AWS_SUPPLYCHAIN_API DataIntegrationFlow(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SUPPLYCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
50 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
51 template<typename InstanceIdT = Aws::String>
52 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::forward<InstanceIdT>(value); }
53 template<typename InstanceIdT = Aws::String>
54 DataIntegrationFlow& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
56
58
61 inline const Aws::String& GetName() const { return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 template<typename NameT = Aws::String>
64 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
65 template<typename NameT = Aws::String>
66 DataIntegrationFlow& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
68
70
73 inline const Aws::Vector<DataIntegrationFlowSource>& GetSources() const { return m_sources; }
74 inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; }
75 template<typename SourcesT = Aws::Vector<DataIntegrationFlowSource>>
76 void SetSources(SourcesT&& value) { m_sourcesHasBeenSet = true; m_sources = std::forward<SourcesT>(value); }
77 template<typename SourcesT = Aws::Vector<DataIntegrationFlowSource>>
78 DataIntegrationFlow& WithSources(SourcesT&& value) { SetSources(std::forward<SourcesT>(value)); return *this;}
79 template<typename SourcesT = DataIntegrationFlowSource>
80 DataIntegrationFlow& AddSources(SourcesT&& value) { m_sourcesHasBeenSet = true; m_sources.emplace_back(std::forward<SourcesT>(value)); return *this; }
82
84
87 inline const DataIntegrationFlowTransformation& GetTransformation() const { return m_transformation; }
88 inline bool TransformationHasBeenSet() const { return m_transformationHasBeenSet; }
89 template<typename TransformationT = DataIntegrationFlowTransformation>
90 void SetTransformation(TransformationT&& value) { m_transformationHasBeenSet = true; m_transformation = std::forward<TransformationT>(value); }
91 template<typename TransformationT = DataIntegrationFlowTransformation>
92 DataIntegrationFlow& WithTransformation(TransformationT&& value) { SetTransformation(std::forward<TransformationT>(value)); return *this;}
94
96
99 inline const DataIntegrationFlowTarget& GetTarget() const { return m_target; }
100 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
101 template<typename TargetT = DataIntegrationFlowTarget>
102 void SetTarget(TargetT&& value) { m_targetHasBeenSet = true; m_target = std::forward<TargetT>(value); }
103 template<typename TargetT = DataIntegrationFlowTarget>
104 DataIntegrationFlow& WithTarget(TargetT&& value) { SetTarget(std::forward<TargetT>(value)); return *this;}
106
108
111 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
112 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
113 template<typename CreatedTimeT = Aws::Utils::DateTime>
114 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
115 template<typename CreatedTimeT = Aws::Utils::DateTime>
116 DataIntegrationFlow& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
118
120
123 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
124 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
125 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
126 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
127 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
128 DataIntegrationFlow& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
130 private:
131
132 Aws::String m_instanceId;
133 bool m_instanceIdHasBeenSet = false;
134
135 Aws::String m_name;
136 bool m_nameHasBeenSet = false;
137
139 bool m_sourcesHasBeenSet = false;
140
141 DataIntegrationFlowTransformation m_transformation;
142 bool m_transformationHasBeenSet = false;
143
145 bool m_targetHasBeenSet = false;
146
147 Aws::Utils::DateTime m_createdTime{};
148 bool m_createdTimeHasBeenSet = false;
149
150 Aws::Utils::DateTime m_lastModifiedTime{};
151 bool m_lastModifiedTimeHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace SupplyChain
156} // namespace Aws
const Aws::Vector< DataIntegrationFlowSource > & GetSources() const
DataIntegrationFlow & WithTransformation(TransformationT &&value)
const DataIntegrationFlowTarget & GetTarget() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
AWS_SUPPLYCHAIN_API DataIntegrationFlow()=default
DataIntegrationFlow & WithName(NameT &&value)
DataIntegrationFlow & WithCreatedTime(CreatedTimeT &&value)
AWS_SUPPLYCHAIN_API DataIntegrationFlow(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_SUPPLYCHAIN_API DataIntegrationFlow & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTransformation(TransformationT &&value)
DataIntegrationFlow & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_SUPPLYCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
DataIntegrationFlow & WithInstanceId(InstanceIdT &&value)
DataIntegrationFlow & WithTarget(TargetT &&value)
DataIntegrationFlow & WithSources(SourcesT &&value)
DataIntegrationFlow & AddSources(SourcesT &&value)
const DataIntegrationFlowTransformation & GetTransformation() const
const Aws::Utils::DateTime & GetCreatedTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue