AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataIntegrationFlowSource.h
1
6#pragma once
7#include <aws/supplychain/SupplyChain_EXPORTS.h>
8#include <aws/supplychain/model/DataIntegrationFlowSourceType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/supplychain/model/DataIntegrationFlowS3SourceConfiguration.h>
11#include <aws/supplychain/model/DataIntegrationFlowDatasetSourceConfiguration.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 SupplyChain
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_SUPPLYCHAIN_API DataIntegrationFlowSource();
40 AWS_SUPPLYCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const DataIntegrationFlowSourceType& GetSourceType() const{ return m_sourceType; }
48 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
49 inline void SetSourceType(const DataIntegrationFlowSourceType& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
50 inline void SetSourceType(DataIntegrationFlowSourceType&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); }
52 inline DataIntegrationFlowSource& WithSourceType(DataIntegrationFlowSourceType&& value) { SetSourceType(std::move(value)); return *this;}
54
56
60 inline const Aws::String& GetSourceName() const{ return m_sourceName; }
61 inline bool SourceNameHasBeenSet() const { return m_sourceNameHasBeenSet; }
62 inline void SetSourceName(const Aws::String& value) { m_sourceNameHasBeenSet = true; m_sourceName = value; }
63 inline void SetSourceName(Aws::String&& value) { m_sourceNameHasBeenSet = true; m_sourceName = std::move(value); }
64 inline void SetSourceName(const char* value) { m_sourceNameHasBeenSet = true; m_sourceName.assign(value); }
65 inline DataIntegrationFlowSource& WithSourceName(const Aws::String& value) { SetSourceName(value); return *this;}
66 inline DataIntegrationFlowSource& WithSourceName(Aws::String&& value) { SetSourceName(std::move(value)); return *this;}
67 inline DataIntegrationFlowSource& WithSourceName(const char* value) { SetSourceName(value); return *this;}
69
71
74 inline const DataIntegrationFlowS3SourceConfiguration& GetS3Source() const{ return m_s3Source; }
75 inline bool S3SourceHasBeenSet() const { return m_s3SourceHasBeenSet; }
76 inline void SetS3Source(const DataIntegrationFlowS3SourceConfiguration& value) { m_s3SourceHasBeenSet = true; m_s3Source = value; }
77 inline void SetS3Source(DataIntegrationFlowS3SourceConfiguration&& value) { m_s3SourceHasBeenSet = true; m_s3Source = std::move(value); }
81
83
86 inline const DataIntegrationFlowDatasetSourceConfiguration& GetDatasetSource() const{ return m_datasetSource; }
87 inline bool DatasetSourceHasBeenSet() const { return m_datasetSourceHasBeenSet; }
88 inline void SetDatasetSource(const DataIntegrationFlowDatasetSourceConfiguration& value) { m_datasetSourceHasBeenSet = true; m_datasetSource = value; }
89 inline void SetDatasetSource(DataIntegrationFlowDatasetSourceConfiguration&& value) { m_datasetSourceHasBeenSet = true; m_datasetSource = std::move(value); }
93 private:
94
96 bool m_sourceTypeHasBeenSet = false;
97
98 Aws::String m_sourceName;
99 bool m_sourceNameHasBeenSet = false;
100
102 bool m_s3SourceHasBeenSet = false;
103
105 bool m_datasetSourceHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace SupplyChain
110} // namespace Aws
DataIntegrationFlowSource & WithDatasetSource(const DataIntegrationFlowDatasetSourceConfiguration &value)
DataIntegrationFlowSource & WithDatasetSource(DataIntegrationFlowDatasetSourceConfiguration &&value)
DataIntegrationFlowSource & WithSourceName(Aws::String &&value)
DataIntegrationFlowSource & WithSourceName(const char *value)
AWS_SUPPLYCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SUPPLYCHAIN_API DataIntegrationFlowSource & operator=(Aws::Utils::Json::JsonView jsonValue)
DataIntegrationFlowSource & WithSourceName(const Aws::String &value)
void SetDatasetSource(const DataIntegrationFlowDatasetSourceConfiguration &value)
void SetSourceType(DataIntegrationFlowSourceType &&value)
DataIntegrationFlowSource & WithSourceType(DataIntegrationFlowSourceType &&value)
void SetDatasetSource(DataIntegrationFlowDatasetSourceConfiguration &&value)
const DataIntegrationFlowDatasetSourceConfiguration & GetDatasetSource() const
DataIntegrationFlowSource & WithS3Source(DataIntegrationFlowS3SourceConfiguration &&value)
const DataIntegrationFlowS3SourceConfiguration & GetS3Source() const
DataIntegrationFlowSource & WithSourceType(const DataIntegrationFlowSourceType &value)
const DataIntegrationFlowSourceType & GetSourceType() const
void SetSourceType(const DataIntegrationFlowSourceType &value)
DataIntegrationFlowSource & WithS3Source(const DataIntegrationFlowS3SourceConfiguration &value)
void SetS3Source(const DataIntegrationFlowS3SourceConfiguration &value)
AWS_SUPPLYCHAIN_API DataIntegrationFlowSource(Aws::Utils::Json::JsonView jsonValue)
void SetS3Source(DataIntegrationFlowS3SourceConfiguration &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue