AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AppflowIntegration.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/customer-profiles/model/FlowDefinition.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/customer-profiles/model/Batch.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 CustomerProfiles
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_CUSTOMERPROFILES_API AppflowIntegration() = default;
38 AWS_CUSTOMERPROFILES_API AppflowIntegration(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CUSTOMERPROFILES_API AppflowIntegration& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
45 inline const FlowDefinition& GetFlowDefinition() const { return m_flowDefinition; }
46 inline bool FlowDefinitionHasBeenSet() const { return m_flowDefinitionHasBeenSet; }
47 template<typename FlowDefinitionT = FlowDefinition>
48 void SetFlowDefinition(FlowDefinitionT&& value) { m_flowDefinitionHasBeenSet = true; m_flowDefinition = std::forward<FlowDefinitionT>(value); }
49 template<typename FlowDefinitionT = FlowDefinition>
50 AppflowIntegration& WithFlowDefinition(FlowDefinitionT&& value) { SetFlowDefinition(std::forward<FlowDefinitionT>(value)); return *this;}
52
54
57 inline const Aws::Vector<Batch>& GetBatches() const { return m_batches; }
58 inline bool BatchesHasBeenSet() const { return m_batchesHasBeenSet; }
59 template<typename BatchesT = Aws::Vector<Batch>>
60 void SetBatches(BatchesT&& value) { m_batchesHasBeenSet = true; m_batches = std::forward<BatchesT>(value); }
61 template<typename BatchesT = Aws::Vector<Batch>>
62 AppflowIntegration& WithBatches(BatchesT&& value) { SetBatches(std::forward<BatchesT>(value)); return *this;}
63 template<typename BatchesT = Batch>
64 AppflowIntegration& AddBatches(BatchesT&& value) { m_batchesHasBeenSet = true; m_batches.emplace_back(std::forward<BatchesT>(value)); return *this; }
66 private:
67
68 FlowDefinition m_flowDefinition;
69 bool m_flowDefinitionHasBeenSet = false;
70
71 Aws::Vector<Batch> m_batches;
72 bool m_batchesHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace CustomerProfiles
77} // namespace Aws
AWS_CUSTOMERPROFILES_API AppflowIntegration()=default
AWS_CUSTOMERPROFILES_API AppflowIntegration & operator=(Aws::Utils::Json::JsonView jsonValue)
AppflowIntegration & AddBatches(BatchesT &&value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CUSTOMERPROFILES_API AppflowIntegration(Aws::Utils::Json::JsonView jsonValue)
AppflowIntegration & WithFlowDefinition(FlowDefinitionT &&value)
const Aws::Vector< Batch > & GetBatches() const
AppflowIntegration & WithBatches(BatchesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue