AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CreateIntegrationResourcePropertyRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glue/GlueRequest.h>
10#include <aws/glue/Glue_EXPORTS.h>
11#include <aws/glue/model/SourceProcessingProperties.h>
12#include <aws/glue/model/Tag.h>
13#include <aws/glue/model/TargetProcessingProperties.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Glue {
19namespace Model {
20
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateIntegrationResourceProperty"; }
32
33 AWS_GLUE_API Aws::String SerializePayload() const override;
34
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
59 inline const SourceProcessingProperties& GetSourceProcessingProperties() const { return m_sourceProcessingProperties; }
60 inline bool SourceProcessingPropertiesHasBeenSet() const { return m_sourceProcessingPropertiesHasBeenSet; }
61 template <typename SourceProcessingPropertiesT = SourceProcessingProperties>
62 void SetSourceProcessingProperties(SourceProcessingPropertiesT&& value) {
63 m_sourceProcessingPropertiesHasBeenSet = true;
64 m_sourceProcessingProperties = std::forward<SourceProcessingPropertiesT>(value);
65 }
66 template <typename SourceProcessingPropertiesT = SourceProcessingProperties>
68 SetSourceProcessingProperties(std::forward<SourceProcessingPropertiesT>(value));
69 return *this;
70 }
72
74
77 inline const TargetProcessingProperties& GetTargetProcessingProperties() const { return m_targetProcessingProperties; }
78 inline bool TargetProcessingPropertiesHasBeenSet() const { return m_targetProcessingPropertiesHasBeenSet; }
79 template <typename TargetProcessingPropertiesT = TargetProcessingProperties>
80 void SetTargetProcessingProperties(TargetProcessingPropertiesT&& value) {
81 m_targetProcessingPropertiesHasBeenSet = true;
82 m_targetProcessingProperties = std::forward<TargetProcessingPropertiesT>(value);
83 }
84 template <typename TargetProcessingPropertiesT = TargetProcessingProperties>
86 SetTargetProcessingProperties(std::forward<TargetProcessingPropertiesT>(value));
87 return *this;
88 }
90
92
96 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
97 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
98 template <typename TagsT = Aws::Vector<Tag>>
99 void SetTags(TagsT&& value) {
100 m_tagsHasBeenSet = true;
101 m_tags = std::forward<TagsT>(value);
102 }
103 template <typename TagsT = Aws::Vector<Tag>>
105 SetTags(std::forward<TagsT>(value));
106 return *this;
107 }
108 template <typename TagsT = Tag>
110 m_tagsHasBeenSet = true;
111 m_tags.emplace_back(std::forward<TagsT>(value));
112 return *this;
113 }
115 private:
116 Aws::String m_resourceArn;
117
118 SourceProcessingProperties m_sourceProcessingProperties;
119
120 TargetProcessingProperties m_targetProcessingProperties;
121
122 Aws::Vector<Tag> m_tags;
123 bool m_resourceArnHasBeenSet = false;
124 bool m_sourceProcessingPropertiesHasBeenSet = false;
125 bool m_targetProcessingPropertiesHasBeenSet = false;
126 bool m_tagsHasBeenSet = false;
127};
128
129} // namespace Model
130} // namespace Glue
131} // namespace Aws
AWS_GLUE_API Aws::String SerializePayload() const override
CreateIntegrationResourcePropertyRequest & AddTags(TagsT &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateIntegrationResourcePropertyRequest & WithResourceArn(ResourceArnT &&value)
CreateIntegrationResourcePropertyRequest & WithTags(TagsT &&value)
CreateIntegrationResourcePropertyRequest & WithSourceProcessingProperties(SourceProcessingPropertiesT &&value)
CreateIntegrationResourcePropertyRequest & WithTargetProcessingProperties(TargetProcessingPropertiesT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector