AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DataIntegrationFlowTarget.h
1
6#pragma once
7#include <aws/supplychain/SupplyChain_EXPORTS.h>
8#include <aws/supplychain/model/DataIntegrationFlowTargetType.h>
9#include <aws/supplychain/model/DataIntegrationFlowS3TargetConfiguration.h>
10#include <aws/supplychain/model/DataIntegrationFlowDatasetTargetConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SupplyChain
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_SUPPLYCHAIN_API DataIntegrationFlowTarget() = default;
39 AWS_SUPPLYCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline DataIntegrationFlowTargetType GetTargetType() const { return m_targetType; }
47 inline bool TargetTypeHasBeenSet() const { return m_targetTypeHasBeenSet; }
48 inline void SetTargetType(DataIntegrationFlowTargetType value) { m_targetTypeHasBeenSet = true; m_targetType = value; }
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) { m_s3TargetHasBeenSet = true; m_s3Target = std::forward<S3TargetT>(value); }
60 template<typename S3TargetT = DataIntegrationFlowS3TargetConfiguration>
61 DataIntegrationFlowTarget& WithS3Target(S3TargetT&& value) { SetS3Target(std::forward<S3TargetT>(value)); return *this;}
63
65
71 inline const DataIntegrationFlowDatasetTargetConfiguration& GetDatasetTarget() const { return m_datasetTarget; }
72 inline bool DatasetTargetHasBeenSet() const { return m_datasetTargetHasBeenSet; }
73 template<typename DatasetTargetT = DataIntegrationFlowDatasetTargetConfiguration>
74 void SetDatasetTarget(DatasetTargetT&& value) { m_datasetTargetHasBeenSet = true; m_datasetTarget = std::forward<DatasetTargetT>(value); }
75 template<typename DatasetTargetT = DataIntegrationFlowDatasetTargetConfiguration>
76 DataIntegrationFlowTarget& WithDatasetTarget(DatasetTargetT&& value) { SetDatasetTarget(std::forward<DatasetTargetT>(value)); return *this;}
78 private:
79
81 bool m_targetTypeHasBeenSet = false;
82
83 DataIntegrationFlowS3TargetConfiguration m_s3Target;
84 bool m_s3TargetHasBeenSet = false;
85
86 DataIntegrationFlowDatasetTargetConfiguration m_datasetTarget;
87 bool m_datasetTargetHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace SupplyChain
92} // 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