AWS SDK for C++

AWS SDK for C++ Version 1.11.686

Loading...
Searching...
No Matches
DataIntegrationFlowTarget.h
1
6#pragma once
7#include <aws/supplychain/SupplyChain_EXPORTS.h>
8#include <aws/supplychain/model/DataIntegrationFlowDatasetTargetConfiguration.h>
9#include <aws/supplychain/model/DataIntegrationFlowS3TargetConfiguration.h>
10#include <aws/supplychain/model/DataIntegrationFlowTargetType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SupplyChain {
22namespace Model {
23
30 public:
31 AWS_SUPPLYCHAIN_API DataIntegrationFlowTarget() = default;
34 AWS_SUPPLYCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline DataIntegrationFlowTargetType GetTargetType() const { return m_targetType; }
41 inline bool TargetTypeHasBeenSet() const { return m_targetTypeHasBeenSet; }
43 m_targetTypeHasBeenSet = true;
44 m_targetType = value;
45 }
47 SetTargetType(value);
48 return *this;
49 }
51
53
56 inline const DataIntegrationFlowS3TargetConfiguration& GetS3Target() const { return m_s3Target; }
57 inline bool S3TargetHasBeenSet() const { return m_s3TargetHasBeenSet; }
58 template <typename S3TargetT = DataIntegrationFlowS3TargetConfiguration>
59 void SetS3Target(S3TargetT&& value) {
60 m_s3TargetHasBeenSet = true;
61 m_s3Target = std::forward<S3TargetT>(value);
62 }
63 template <typename S3TargetT = DataIntegrationFlowS3TargetConfiguration>
65 SetS3Target(std::forward<S3TargetT>(value));
66 return *this;
67 }
69
71
77 inline const DataIntegrationFlowDatasetTargetConfiguration& GetDatasetTarget() const { return m_datasetTarget; }
78 inline bool DatasetTargetHasBeenSet() const { return m_datasetTargetHasBeenSet; }
79 template <typename DatasetTargetT = DataIntegrationFlowDatasetTargetConfiguration>
80 void SetDatasetTarget(DatasetTargetT&& value) {
81 m_datasetTargetHasBeenSet = true;
82 m_datasetTarget = std::forward<DatasetTargetT>(value);
83 }
84 template <typename DatasetTargetT = DataIntegrationFlowDatasetTargetConfiguration>
86 SetDatasetTarget(std::forward<DatasetTargetT>(value));
87 return *this;
88 }
90 private:
92 bool m_targetTypeHasBeenSet = false;
93
94 DataIntegrationFlowS3TargetConfiguration m_s3Target;
95 bool m_s3TargetHasBeenSet = false;
96
97 DataIntegrationFlowDatasetTargetConfiguration m_datasetTarget;
98 bool m_datasetTargetHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace SupplyChain
103} // namespace Aws
AWS_SUPPLYCHAIN_API DataIntegrationFlowTarget(Aws::Utils::Json::JsonView jsonValue)
void SetTargetType(DataIntegrationFlowTargetType value)
const DataIntegrationFlowS3TargetConfiguration & GetS3Target() const
DataIntegrationFlowTarget & WithS3Target(S3TargetT &&value)
AWS_SUPPLYCHAIN_API DataIntegrationFlowTarget()=default
AWS_SUPPLYCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SUPPLYCHAIN_API DataIntegrationFlowTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
const DataIntegrationFlowDatasetTargetConfiguration & GetDatasetTarget() const
DataIntegrationFlowTarget & WithDatasetTarget(DatasetTargetT &&value)
DataIntegrationFlowTarget & WithTargetType(DataIntegrationFlowTargetType value)
Aws::Utils::Json::JsonValue JsonValue