AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
AppflowIntegration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
9#include <aws/customer-profiles/model/Batch.h>
10#include <aws/customer-profiles/model/FlowDefinition.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CustomerProfiles {
22namespace Model {
23
31 public:
32 AWS_CUSTOMERPROFILES_API AppflowIntegration() = default;
33 AWS_CUSTOMERPROFILES_API AppflowIntegration(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CUSTOMERPROFILES_API AppflowIntegration& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
39 inline const FlowDefinition& GetFlowDefinition() const { return m_flowDefinition; }
40 inline bool FlowDefinitionHasBeenSet() const { return m_flowDefinitionHasBeenSet; }
41 template <typename FlowDefinitionT = FlowDefinition>
42 void SetFlowDefinition(FlowDefinitionT&& value) {
43 m_flowDefinitionHasBeenSet = true;
44 m_flowDefinition = std::forward<FlowDefinitionT>(value);
45 }
46 template <typename FlowDefinitionT = FlowDefinition>
47 AppflowIntegration& WithFlowDefinition(FlowDefinitionT&& value) {
48 SetFlowDefinition(std::forward<FlowDefinitionT>(value));
49 return *this;
50 }
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) {
61 m_batchesHasBeenSet = true;
62 m_batches = std::forward<BatchesT>(value);
63 }
64 template <typename BatchesT = Aws::Vector<Batch>>
65 AppflowIntegration& WithBatches(BatchesT&& value) {
66 SetBatches(std::forward<BatchesT>(value));
67 return *this;
68 }
69 template <typename BatchesT = Batch>
70 AppflowIntegration& AddBatches(BatchesT&& value) {
71 m_batchesHasBeenSet = true;
72 m_batches.emplace_back(std::forward<BatchesT>(value));
73 return *this;
74 }
76 private:
77 FlowDefinition m_flowDefinition;
78
79 Aws::Vector<Batch> m_batches;
80 bool m_flowDefinitionHasBeenSet = false;
81 bool m_batchesHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace CustomerProfiles
86} // 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