AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
52 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
53 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
54 inline DataIntegrationFlow& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
55 inline DataIntegrationFlow& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
56 inline DataIntegrationFlow& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
58
60
63 inline const Aws::String& GetName() const{ return m_name; }
64 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
65 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
66 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
67 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
68 inline DataIntegrationFlow& WithName(const Aws::String& value) { SetName(value); return *this;}
69 inline DataIntegrationFlow& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
70 inline DataIntegrationFlow& WithName(const char* value) { SetName(value); return *this;}
72
74
77 inline const Aws::Vector<DataIntegrationFlowSource>& GetSources() const{ return m_sources; }
78 inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; }
79 inline void SetSources(const Aws::Vector<DataIntegrationFlowSource>& value) { m_sourcesHasBeenSet = true; m_sources = value; }
80 inline void SetSources(Aws::Vector<DataIntegrationFlowSource>&& value) { m_sourcesHasBeenSet = true; m_sources = std::move(value); }
82 inline DataIntegrationFlow& WithSources(Aws::Vector<DataIntegrationFlowSource>&& value) { SetSources(std::move(value)); return *this;}
83 inline DataIntegrationFlow& AddSources(const DataIntegrationFlowSource& value) { m_sourcesHasBeenSet = true; m_sources.push_back(value); return *this; }
84 inline DataIntegrationFlow& AddSources(DataIntegrationFlowSource&& value) { m_sourcesHasBeenSet = true; m_sources.push_back(std::move(value)); return *this; }
86
88
91 inline const DataIntegrationFlowTransformation& GetTransformation() const{ return m_transformation; }
92 inline bool TransformationHasBeenSet() const { return m_transformationHasBeenSet; }
93 inline void SetTransformation(const DataIntegrationFlowTransformation& value) { m_transformationHasBeenSet = true; m_transformation = value; }
94 inline void SetTransformation(DataIntegrationFlowTransformation&& value) { m_transformationHasBeenSet = true; m_transformation = std::move(value); }
98
100
103 inline const DataIntegrationFlowTarget& GetTarget() const{ return m_target; }
104 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
105 inline void SetTarget(const DataIntegrationFlowTarget& value) { m_targetHasBeenSet = true; m_target = value; }
106 inline void SetTarget(DataIntegrationFlowTarget&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
107 inline DataIntegrationFlow& WithTarget(const DataIntegrationFlowTarget& value) { SetTarget(value); return *this;}
108 inline DataIntegrationFlow& WithTarget(DataIntegrationFlowTarget&& value) { SetTarget(std::move(value)); return *this;}
110
112
115 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
116 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
117 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
118 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
119 inline DataIntegrationFlow& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
120 inline DataIntegrationFlow& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
122
124
127 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
128 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
129 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
130 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
132 inline DataIntegrationFlow& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
134 private:
135
136 Aws::String m_instanceId;
137 bool m_instanceIdHasBeenSet = false;
138
139 Aws::String m_name;
140 bool m_nameHasBeenSet = false;
141
143 bool m_sourcesHasBeenSet = false;
144
145 DataIntegrationFlowTransformation m_transformation;
146 bool m_transformationHasBeenSet = false;
147
149 bool m_targetHasBeenSet = false;
150
151 Aws::Utils::DateTime m_createdTime;
152 bool m_createdTimeHasBeenSet = false;
153
154 Aws::Utils::DateTime m_lastModifiedTime;
155 bool m_lastModifiedTimeHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace SupplyChain
160} // namespace Aws
DataIntegrationFlow & WithSources(const Aws::Vector< DataIntegrationFlowSource > &value)
DataIntegrationFlow & WithCreatedTime(const Aws::Utils::DateTime &value)
DataIntegrationFlow & AddSources(const DataIntegrationFlowSource &value)
DataIntegrationFlow & WithTarget(const DataIntegrationFlowTarget &value)
const Aws::Vector< DataIntegrationFlowSource > & GetSources() const
const DataIntegrationFlowTarget & GetTarget() const
void SetSources(Aws::Vector< DataIntegrationFlowSource > &&value)
DataIntegrationFlow & WithInstanceId(Aws::String &&value)
DataIntegrationFlow & AddSources(DataIntegrationFlowSource &&value)
DataIntegrationFlow & WithTransformation(DataIntegrationFlowTransformation &&value)
DataIntegrationFlow & WithName(Aws::String &&value)
void SetSources(const Aws::Vector< DataIntegrationFlowSource > &value)
DataIntegrationFlow & WithInstanceId(const Aws::String &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
DataIntegrationFlow & WithTransformation(const DataIntegrationFlowTransformation &value)
DataIntegrationFlow & WithLastModifiedTime(const Aws::Utils::DateTime &value)
DataIntegrationFlow & WithLastModifiedTime(Aws::Utils::DateTime &&value)
AWS_SUPPLYCHAIN_API DataIntegrationFlow(Aws::Utils::Json::JsonView jsonValue)
DataIntegrationFlow & WithSources(Aws::Vector< DataIntegrationFlowSource > &&value)
DataIntegrationFlow & WithName(const char *value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_SUPPLYCHAIN_API DataIntegrationFlow & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedTime(Aws::Utils::DateTime &&value)
void SetTransformation(const DataIntegrationFlowTransformation &value)
AWS_SUPPLYCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTarget(DataIntegrationFlowTarget &&value)
DataIntegrationFlow & WithName(const Aws::String &value)
void SetTarget(const DataIntegrationFlowTarget &value)
DataIntegrationFlow & WithTarget(DataIntegrationFlowTarget &&value)
DataIntegrationFlow & WithCreatedTime(Aws::Utils::DateTime &&value)
const DataIntegrationFlowTransformation & GetTransformation() const
void SetCreatedTime(const Aws::Utils::DateTime &value)
DataIntegrationFlow & WithInstanceId(const char *value)
const Aws::Utils::DateTime & GetCreatedTime() const
void SetTransformation(DataIntegrationFlowTransformation &&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