AWS SDK for C++

AWS SDK for C++ Version 1.11.760

Loading...
Searching...
No Matches
IntegrationResourceProperty.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9#include <aws/glue/model/SourceProcessingProperties.h>
10#include <aws/glue/model/TargetProcessingProperties.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glue {
22namespace Model {
23
31 public:
32 AWS_GLUE_API IntegrationResourceProperty() = default;
36
38
41 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
42 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
43 template <typename ResourceArnT = Aws::String>
44 void SetResourceArn(ResourceArnT&& value) {
45 m_resourceArnHasBeenSet = true;
46 m_resourceArn = std::forward<ResourceArnT>(value);
47 }
48 template <typename ResourceArnT = Aws::String>
50 SetResourceArn(std::forward<ResourceArnT>(value));
51 return *this;
52 }
54
56
61 inline const Aws::String& GetResourcePropertyArn() const { return m_resourcePropertyArn; }
62 inline bool ResourcePropertyArnHasBeenSet() const { return m_resourcePropertyArnHasBeenSet; }
63 template <typename ResourcePropertyArnT = Aws::String>
64 void SetResourcePropertyArn(ResourcePropertyArnT&& value) {
65 m_resourcePropertyArnHasBeenSet = true;
66 m_resourcePropertyArn = std::forward<ResourcePropertyArnT>(value);
67 }
68 template <typename ResourcePropertyArnT = Aws::String>
70 SetResourcePropertyArn(std::forward<ResourcePropertyArnT>(value));
71 return *this;
72 }
74
76
79 inline const SourceProcessingProperties& GetSourceProcessingProperties() const { return m_sourceProcessingProperties; }
80 inline bool SourceProcessingPropertiesHasBeenSet() const { return m_sourceProcessingPropertiesHasBeenSet; }
81 template <typename SourceProcessingPropertiesT = SourceProcessingProperties>
82 void SetSourceProcessingProperties(SourceProcessingPropertiesT&& value) {
83 m_sourceProcessingPropertiesHasBeenSet = true;
84 m_sourceProcessingProperties = std::forward<SourceProcessingPropertiesT>(value);
85 }
86 template <typename SourceProcessingPropertiesT = SourceProcessingProperties>
87 IntegrationResourceProperty& WithSourceProcessingProperties(SourceProcessingPropertiesT&& value) {
88 SetSourceProcessingProperties(std::forward<SourceProcessingPropertiesT>(value));
89 return *this;
90 }
92
94
97 inline const TargetProcessingProperties& GetTargetProcessingProperties() const { return m_targetProcessingProperties; }
98 inline bool TargetProcessingPropertiesHasBeenSet() const { return m_targetProcessingPropertiesHasBeenSet; }
99 template <typename TargetProcessingPropertiesT = TargetProcessingProperties>
100 void SetTargetProcessingProperties(TargetProcessingPropertiesT&& value) {
101 m_targetProcessingPropertiesHasBeenSet = true;
102 m_targetProcessingProperties = std::forward<TargetProcessingPropertiesT>(value);
103 }
104 template <typename TargetProcessingPropertiesT = TargetProcessingProperties>
105 IntegrationResourceProperty& WithTargetProcessingProperties(TargetProcessingPropertiesT&& value) {
106 SetTargetProcessingProperties(std::forward<TargetProcessingPropertiesT>(value));
107 return *this;
108 }
110 private:
111 Aws::String m_resourceArn;
112
113 Aws::String m_resourcePropertyArn;
114
115 SourceProcessingProperties m_sourceProcessingProperties;
116
117 TargetProcessingProperties m_targetProcessingProperties;
118 bool m_resourceArnHasBeenSet = false;
119 bool m_resourcePropertyArnHasBeenSet = false;
120 bool m_sourceProcessingPropertiesHasBeenSet = false;
121 bool m_targetProcessingPropertiesHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace Glue
126} // namespace Aws
AWS_GLUE_API IntegrationResourceProperty(Aws::Utils::Json::JsonView jsonValue)
IntegrationResourceProperty & WithResourceArn(ResourceArnT &&value)
AWS_GLUE_API IntegrationResourceProperty()=default
IntegrationResourceProperty & WithResourcePropertyArn(ResourcePropertyArnT &&value)
IntegrationResourceProperty & WithSourceProcessingProperties(SourceProcessingPropertiesT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API IntegrationResourceProperty & operator=(Aws::Utils::Json::JsonView jsonValue)
const TargetProcessingProperties & GetTargetProcessingProperties() const
IntegrationResourceProperty & WithTargetProcessingProperties(TargetProcessingPropertiesT &&value)
void SetTargetProcessingProperties(TargetProcessingPropertiesT &&value)
void SetResourcePropertyArn(ResourcePropertyArnT &&value)
void SetSourceProcessingProperties(SourceProcessingPropertiesT &&value)
const SourceProcessingProperties & GetSourceProcessingProperties() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue