AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateIntegrationRequest.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/redshift/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Redshift
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_REDSHIFT_API CreateIntegrationRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateIntegration"; }
34
35 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
36
37 protected:
38 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39
40 public:
41
43
47 inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
48 inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
49 inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; }
50 inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); }
51 inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); }
52 inline CreateIntegrationRequest& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
53 inline CreateIntegrationRequest& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
54 inline CreateIntegrationRequest& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
56
58
62 inline const Aws::String& GetTargetArn() const{ return m_targetArn; }
63 inline bool TargetArnHasBeenSet() const { return m_targetArnHasBeenSet; }
64 inline void SetTargetArn(const Aws::String& value) { m_targetArnHasBeenSet = true; m_targetArn = value; }
65 inline void SetTargetArn(Aws::String&& value) { m_targetArnHasBeenSet = true; m_targetArn = std::move(value); }
66 inline void SetTargetArn(const char* value) { m_targetArnHasBeenSet = true; m_targetArn.assign(value); }
67 inline CreateIntegrationRequest& WithTargetArn(const Aws::String& value) { SetTargetArn(value); return *this;}
68 inline CreateIntegrationRequest& WithTargetArn(Aws::String&& value) { SetTargetArn(std::move(value)); return *this;}
69 inline CreateIntegrationRequest& WithTargetArn(const char* value) { SetTargetArn(value); return *this;}
71
73
76 inline const Aws::String& GetIntegrationName() const{ return m_integrationName; }
77 inline bool IntegrationNameHasBeenSet() const { return m_integrationNameHasBeenSet; }
78 inline void SetIntegrationName(const Aws::String& value) { m_integrationNameHasBeenSet = true; m_integrationName = value; }
79 inline void SetIntegrationName(Aws::String&& value) { m_integrationNameHasBeenSet = true; m_integrationName = std::move(value); }
80 inline void SetIntegrationName(const char* value) { m_integrationNameHasBeenSet = true; m_integrationName.assign(value); }
81 inline CreateIntegrationRequest& WithIntegrationName(const Aws::String& value) { SetIntegrationName(value); return *this;}
82 inline CreateIntegrationRequest& WithIntegrationName(Aws::String&& value) { SetIntegrationName(std::move(value)); return *this;}
83 inline CreateIntegrationRequest& WithIntegrationName(const char* value) { SetIntegrationName(value); return *this;}
85
87
92 inline const Aws::String& GetKMSKeyId() const{ return m_kMSKeyId; }
93 inline bool KMSKeyIdHasBeenSet() const { return m_kMSKeyIdHasBeenSet; }
94 inline void SetKMSKeyId(const Aws::String& value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId = value; }
95 inline void SetKMSKeyId(Aws::String&& value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId = std::move(value); }
96 inline void SetKMSKeyId(const char* value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId.assign(value); }
97 inline CreateIntegrationRequest& WithKMSKeyId(const Aws::String& value) { SetKMSKeyId(value); return *this;}
98 inline CreateIntegrationRequest& WithKMSKeyId(Aws::String&& value) { SetKMSKeyId(std::move(value)); return *this;}
99 inline CreateIntegrationRequest& WithKMSKeyId(const char* value) { SetKMSKeyId(value); return *this;}
101
103
106 inline const Aws::Vector<Tag>& GetTagList() const{ return m_tagList; }
107 inline bool TagListHasBeenSet() const { return m_tagListHasBeenSet; }
108 inline void SetTagList(const Aws::Vector<Tag>& value) { m_tagListHasBeenSet = true; m_tagList = value; }
109 inline void SetTagList(Aws::Vector<Tag>&& value) { m_tagListHasBeenSet = true; m_tagList = std::move(value); }
110 inline CreateIntegrationRequest& WithTagList(const Aws::Vector<Tag>& value) { SetTagList(value); return *this;}
111 inline CreateIntegrationRequest& WithTagList(Aws::Vector<Tag>&& value) { SetTagList(std::move(value)); return *this;}
112 inline CreateIntegrationRequest& AddTagList(const Tag& value) { m_tagListHasBeenSet = true; m_tagList.push_back(value); return *this; }
113 inline CreateIntegrationRequest& AddTagList(Tag&& value) { m_tagListHasBeenSet = true; m_tagList.push_back(std::move(value)); return *this; }
115
117
125 inline const Aws::Map<Aws::String, Aws::String>& GetAdditionalEncryptionContext() const{ return m_additionalEncryptionContext; }
126 inline bool AdditionalEncryptionContextHasBeenSet() const { return m_additionalEncryptionContextHasBeenSet; }
127 inline void SetAdditionalEncryptionContext(const Aws::Map<Aws::String, Aws::String>& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext = value; }
128 inline void SetAdditionalEncryptionContext(Aws::Map<Aws::String, Aws::String>&& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext = std::move(value); }
131 inline CreateIntegrationRequest& AddAdditionalEncryptionContext(const Aws::String& key, const Aws::String& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(key, value); return *this; }
132 inline CreateIntegrationRequest& AddAdditionalEncryptionContext(Aws::String&& key, const Aws::String& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(std::move(key), value); return *this; }
133 inline CreateIntegrationRequest& AddAdditionalEncryptionContext(const Aws::String& key, Aws::String&& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(key, std::move(value)); return *this; }
134 inline CreateIntegrationRequest& AddAdditionalEncryptionContext(Aws::String&& key, Aws::String&& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(std::move(key), std::move(value)); return *this; }
135 inline CreateIntegrationRequest& AddAdditionalEncryptionContext(const char* key, Aws::String&& value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(key, std::move(value)); return *this; }
136 inline CreateIntegrationRequest& AddAdditionalEncryptionContext(Aws::String&& key, const char* value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(std::move(key), value); return *this; }
137 inline CreateIntegrationRequest& AddAdditionalEncryptionContext(const char* key, const char* value) { m_additionalEncryptionContextHasBeenSet = true; m_additionalEncryptionContext.emplace(key, value); return *this; }
139
141
144 inline const Aws::String& GetDescription() const{ return m_description; }
145 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
146 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
147 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
148 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
149 inline CreateIntegrationRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
150 inline CreateIntegrationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
151 inline CreateIntegrationRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
153 private:
154
155 Aws::String m_sourceArn;
156 bool m_sourceArnHasBeenSet = false;
157
158 Aws::String m_targetArn;
159 bool m_targetArnHasBeenSet = false;
160
161 Aws::String m_integrationName;
162 bool m_integrationNameHasBeenSet = false;
163
164 Aws::String m_kMSKeyId;
165 bool m_kMSKeyIdHasBeenSet = false;
166
167 Aws::Vector<Tag> m_tagList;
168 bool m_tagListHasBeenSet = false;
169
170 Aws::Map<Aws::String, Aws::String> m_additionalEncryptionContext;
171 bool m_additionalEncryptionContextHasBeenSet = false;
172
173 Aws::String m_description;
174 bool m_descriptionHasBeenSet = false;
175 };
176
177} // namespace Model
178} // namespace Redshift
179} // namespace Aws
CreateIntegrationRequest & AddAdditionalEncryptionContext(Aws::String &&key, const char *value)
CreateIntegrationRequest & AddAdditionalEncryptionContext(Aws::String &&key, Aws::String &&value)
CreateIntegrationRequest & WithDescription(const char *value)
CreateIntegrationRequest & WithAdditionalEncryptionContext(Aws::Map< Aws::String, Aws::String > &&value)
CreateIntegrationRequest & WithKMSKeyId(const char *value)
CreateIntegrationRequest & WithSourceArn(Aws::String &&value)
CreateIntegrationRequest & AddAdditionalEncryptionContext(const Aws::String &key, Aws::String &&value)
CreateIntegrationRequest & WithSourceArn(const char *value)
CreateIntegrationRequest & WithAdditionalEncryptionContext(const Aws::Map< Aws::String, Aws::String > &value)
CreateIntegrationRequest & WithIntegrationName(Aws::String &&value)
void SetAdditionalEncryptionContext(Aws::Map< Aws::String, Aws::String > &&value)
CreateIntegrationRequest & WithTargetArn(const Aws::String &value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
CreateIntegrationRequest & WithTargetArn(Aws::String &&value)
CreateIntegrationRequest & WithDescription(Aws::String &&value)
CreateIntegrationRequest & WithTagList(Aws::Vector< Tag > &&value)
CreateIntegrationRequest & WithIntegrationName(const Aws::String &value)
CreateIntegrationRequest & AddAdditionalEncryptionContext(const Aws::String &key, const Aws::String &value)
CreateIntegrationRequest & WithSourceArn(const Aws::String &value)
CreateIntegrationRequest & WithIntegrationName(const char *value)
CreateIntegrationRequest & AddTagList(Tag &&value)
CreateIntegrationRequest & WithTargetArn(const char *value)
CreateIntegrationRequest & WithKMSKeyId(Aws::String &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateIntegrationRequest & WithKMSKeyId(const Aws::String &value)
CreateIntegrationRequest & AddAdditionalEncryptionContext(Aws::String &&key, const Aws::String &value)
CreateIntegrationRequest & WithDescription(const Aws::String &value)
CreateIntegrationRequest & AddAdditionalEncryptionContext(const char *key, const char *value)
void SetTagList(const Aws::Vector< Tag > &value)
CreateIntegrationRequest & AddTagList(const Tag &value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalEncryptionContext() const
void SetAdditionalEncryptionContext(const Aws::Map< Aws::String, Aws::String > &value)
CreateIntegrationRequest & WithTagList(const Aws::Vector< Tag > &value)
virtual const char * GetServiceRequestName() const override
CreateIntegrationRequest & AddAdditionalEncryptionContext(const char *key, Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector