AWS SDK for C++  1.9.154
AWS SDK for C++
DestinationDescription.h
Go to the documentation of this file.
1 
6 #pragma once
16 #include <utility>
17 
18 namespace Aws
19 {
20 namespace Utils
21 {
22 namespace Json
23 {
24  class JsonValue;
25  class JsonView;
26 } // namespace Json
27 } // namespace Utils
28 namespace Firehose
29 {
30 namespace Model
31 {
32 
40  {
41  public:
46 
47 
51  inline const Aws::String& GetDestinationId() const{ return m_destinationId; }
52 
56  inline bool DestinationIdHasBeenSet() const { return m_destinationIdHasBeenSet; }
57 
61  inline void SetDestinationId(const Aws::String& value) { m_destinationIdHasBeenSet = true; m_destinationId = value; }
62 
66  inline void SetDestinationId(Aws::String&& value) { m_destinationIdHasBeenSet = true; m_destinationId = std::move(value); }
67 
71  inline void SetDestinationId(const char* value) { m_destinationIdHasBeenSet = true; m_destinationId.assign(value); }
72 
76  inline DestinationDescription& WithDestinationId(const Aws::String& value) { SetDestinationId(value); return *this;}
77 
81  inline DestinationDescription& WithDestinationId(Aws::String&& value) { SetDestinationId(std::move(value)); return *this;}
82 
86  inline DestinationDescription& WithDestinationId(const char* value) { SetDestinationId(value); return *this;}
87 
88 
92  inline const S3DestinationDescription& GetS3DestinationDescription() const{ return m_s3DestinationDescription; }
93 
97  inline bool S3DestinationDescriptionHasBeenSet() const { return m_s3DestinationDescriptionHasBeenSet; }
98 
102  inline void SetS3DestinationDescription(const S3DestinationDescription& value) { m_s3DestinationDescriptionHasBeenSet = true; m_s3DestinationDescription = value; }
103 
107  inline void SetS3DestinationDescription(S3DestinationDescription&& value) { m_s3DestinationDescriptionHasBeenSet = true; m_s3DestinationDescription = std::move(value); }
108 
112  inline DestinationDescription& WithS3DestinationDescription(const S3DestinationDescription& value) { SetS3DestinationDescription(value); return *this;}
113 
117  inline DestinationDescription& WithS3DestinationDescription(S3DestinationDescription&& value) { SetS3DestinationDescription(std::move(value)); return *this;}
118 
119 
123  inline const ExtendedS3DestinationDescription& GetExtendedS3DestinationDescription() const{ return m_extendedS3DestinationDescription; }
124 
128  inline bool ExtendedS3DestinationDescriptionHasBeenSet() const { return m_extendedS3DestinationDescriptionHasBeenSet; }
129 
133  inline void SetExtendedS3DestinationDescription(const ExtendedS3DestinationDescription& value) { m_extendedS3DestinationDescriptionHasBeenSet = true; m_extendedS3DestinationDescription = value; }
134 
138  inline void SetExtendedS3DestinationDescription(ExtendedS3DestinationDescription&& value) { m_extendedS3DestinationDescriptionHasBeenSet = true; m_extendedS3DestinationDescription = std::move(value); }
139 
143  inline DestinationDescription& WithExtendedS3DestinationDescription(const ExtendedS3DestinationDescription& value) { SetExtendedS3DestinationDescription(value); return *this;}
144 
148  inline DestinationDescription& WithExtendedS3DestinationDescription(ExtendedS3DestinationDescription&& value) { SetExtendedS3DestinationDescription(std::move(value)); return *this;}
149 
150 
154  inline const RedshiftDestinationDescription& GetRedshiftDestinationDescription() const{ return m_redshiftDestinationDescription; }
155 
159  inline bool RedshiftDestinationDescriptionHasBeenSet() const { return m_redshiftDestinationDescriptionHasBeenSet; }
160 
164  inline void SetRedshiftDestinationDescription(const RedshiftDestinationDescription& value) { m_redshiftDestinationDescriptionHasBeenSet = true; m_redshiftDestinationDescription = value; }
165 
169  inline void SetRedshiftDestinationDescription(RedshiftDestinationDescription&& value) { m_redshiftDestinationDescriptionHasBeenSet = true; m_redshiftDestinationDescription = std::move(value); }
170 
174  inline DestinationDescription& WithRedshiftDestinationDescription(const RedshiftDestinationDescription& value) { SetRedshiftDestinationDescription(value); return *this;}
175 
179  inline DestinationDescription& WithRedshiftDestinationDescription(RedshiftDestinationDescription&& value) { SetRedshiftDestinationDescription(std::move(value)); return *this;}
180 
181 
185  inline const ElasticsearchDestinationDescription& GetElasticsearchDestinationDescription() const{ return m_elasticsearchDestinationDescription; }
186 
190  inline bool ElasticsearchDestinationDescriptionHasBeenSet() const { return m_elasticsearchDestinationDescriptionHasBeenSet; }
191 
195  inline void SetElasticsearchDestinationDescription(const ElasticsearchDestinationDescription& value) { m_elasticsearchDestinationDescriptionHasBeenSet = true; m_elasticsearchDestinationDescription = value; }
196 
200  inline void SetElasticsearchDestinationDescription(ElasticsearchDestinationDescription&& value) { m_elasticsearchDestinationDescriptionHasBeenSet = true; m_elasticsearchDestinationDescription = std::move(value); }
201 
205  inline DestinationDescription& WithElasticsearchDestinationDescription(const ElasticsearchDestinationDescription& value) { SetElasticsearchDestinationDescription(value); return *this;}
206 
210  inline DestinationDescription& WithElasticsearchDestinationDescription(ElasticsearchDestinationDescription&& value) { SetElasticsearchDestinationDescription(std::move(value)); return *this;}
211 
212 
213 
214  inline const AmazonopensearchserviceDestinationDescription& GetAmazonopensearchserviceDestinationDescription() const{ return m_amazonopensearchserviceDestinationDescription; }
215 
216 
217  inline bool AmazonopensearchserviceDestinationDescriptionHasBeenSet() const { return m_amazonopensearchserviceDestinationDescriptionHasBeenSet; }
218 
219 
220  inline void SetAmazonopensearchserviceDestinationDescription(const AmazonopensearchserviceDestinationDescription& value) { m_amazonopensearchserviceDestinationDescriptionHasBeenSet = true; m_amazonopensearchserviceDestinationDescription = value; }
221 
222 
223  inline void SetAmazonopensearchserviceDestinationDescription(AmazonopensearchserviceDestinationDescription&& value) { m_amazonopensearchserviceDestinationDescriptionHasBeenSet = true; m_amazonopensearchserviceDestinationDescription = std::move(value); }
224 
225 
226  inline DestinationDescription& WithAmazonopensearchserviceDestinationDescription(const AmazonopensearchserviceDestinationDescription& value) { SetAmazonopensearchserviceDestinationDescription(value); return *this;}
227 
228 
229  inline DestinationDescription& WithAmazonopensearchserviceDestinationDescription(AmazonopensearchserviceDestinationDescription&& value) { SetAmazonopensearchserviceDestinationDescription(std::move(value)); return *this;}
230 
231 
235  inline const SplunkDestinationDescription& GetSplunkDestinationDescription() const{ return m_splunkDestinationDescription; }
236 
240  inline bool SplunkDestinationDescriptionHasBeenSet() const { return m_splunkDestinationDescriptionHasBeenSet; }
241 
245  inline void SetSplunkDestinationDescription(const SplunkDestinationDescription& value) { m_splunkDestinationDescriptionHasBeenSet = true; m_splunkDestinationDescription = value; }
246 
250  inline void SetSplunkDestinationDescription(SplunkDestinationDescription&& value) { m_splunkDestinationDescriptionHasBeenSet = true; m_splunkDestinationDescription = std::move(value); }
251 
255  inline DestinationDescription& WithSplunkDestinationDescription(const SplunkDestinationDescription& value) { SetSplunkDestinationDescription(value); return *this;}
256 
260  inline DestinationDescription& WithSplunkDestinationDescription(SplunkDestinationDescription&& value) { SetSplunkDestinationDescription(std::move(value)); return *this;}
261 
262 
266  inline const HttpEndpointDestinationDescription& GetHttpEndpointDestinationDescription() const{ return m_httpEndpointDestinationDescription; }
267 
271  inline bool HttpEndpointDestinationDescriptionHasBeenSet() const { return m_httpEndpointDestinationDescriptionHasBeenSet; }
272 
276  inline void SetHttpEndpointDestinationDescription(const HttpEndpointDestinationDescription& value) { m_httpEndpointDestinationDescriptionHasBeenSet = true; m_httpEndpointDestinationDescription = value; }
277 
281  inline void SetHttpEndpointDestinationDescription(HttpEndpointDestinationDescription&& value) { m_httpEndpointDestinationDescriptionHasBeenSet = true; m_httpEndpointDestinationDescription = std::move(value); }
282 
286  inline DestinationDescription& WithHttpEndpointDestinationDescription(const HttpEndpointDestinationDescription& value) { SetHttpEndpointDestinationDescription(value); return *this;}
287 
291  inline DestinationDescription& WithHttpEndpointDestinationDescription(HttpEndpointDestinationDescription&& value) { SetHttpEndpointDestinationDescription(std::move(value)); return *this;}
292 
293  private:
294 
295  Aws::String m_destinationId;
296  bool m_destinationIdHasBeenSet;
297 
298  S3DestinationDescription m_s3DestinationDescription;
299  bool m_s3DestinationDescriptionHasBeenSet;
300 
301  ExtendedS3DestinationDescription m_extendedS3DestinationDescription;
302  bool m_extendedS3DestinationDescriptionHasBeenSet;
303 
304  RedshiftDestinationDescription m_redshiftDestinationDescription;
305  bool m_redshiftDestinationDescriptionHasBeenSet;
306 
307  ElasticsearchDestinationDescription m_elasticsearchDestinationDescription;
308  bool m_elasticsearchDestinationDescriptionHasBeenSet;
309 
310  AmazonopensearchserviceDestinationDescription m_amazonopensearchserviceDestinationDescription;
311  bool m_amazonopensearchserviceDestinationDescriptionHasBeenSet;
312 
313  SplunkDestinationDescription m_splunkDestinationDescription;
314  bool m_splunkDestinationDescriptionHasBeenSet;
315 
316  HttpEndpointDestinationDescription m_httpEndpointDestinationDescription;
317  bool m_httpEndpointDestinationDescriptionHasBeenSet;
318  };
319 
320 } // namespace Model
321 } // namespace Firehose
322 } // namespace Aws
Aws::Firehose::Model::DestinationDescription::SetS3DestinationDescription
void SetS3DestinationDescription(S3DestinationDescription &&value)
Definition: DestinationDescription.h:107
Aws::Firehose::Model::DestinationDescription::WithSplunkDestinationDescription
DestinationDescription & WithSplunkDestinationDescription(SplunkDestinationDescription &&value)
Definition: DestinationDescription.h:260
Aws::Firehose::Model::RedshiftDestinationDescription
Definition: RedshiftDestinationDescription.h:38
Aws::Firehose::Model::DestinationDescription::GetExtendedS3DestinationDescription
const ExtendedS3DestinationDescription & GetExtendedS3DestinationDescription() const
Definition: DestinationDescription.h:123
Aws::Firehose::Model::DestinationDescription::GetDestinationId
const Aws::String & GetDestinationId() const
Definition: DestinationDescription.h:51
Aws::Firehose::Model::DestinationDescription::WithRedshiftDestinationDescription
DestinationDescription & WithRedshiftDestinationDescription(RedshiftDestinationDescription &&value)
Definition: DestinationDescription.h:179
Aws::Firehose::Model::DestinationDescription::WithElasticsearchDestinationDescription
DestinationDescription & WithElasticsearchDestinationDescription(const ElasticsearchDestinationDescription &value)
Definition: DestinationDescription.h:205
Aws::Firehose::Model::DestinationDescription::WithRedshiftDestinationDescription
DestinationDescription & WithRedshiftDestinationDescription(const RedshiftDestinationDescription &value)
Definition: DestinationDescription.h:174
Aws::Firehose::Model::DestinationDescription::HttpEndpointDestinationDescriptionHasBeenSet
bool HttpEndpointDestinationDescriptionHasBeenSet() const
Definition: DestinationDescription.h:271
Aws::Firehose::Model::DestinationDescription::S3DestinationDescriptionHasBeenSet
bool S3DestinationDescriptionHasBeenSet() const
Definition: DestinationDescription.h:97
Aws::Firehose::Model::DestinationDescription::WithExtendedS3DestinationDescription
DestinationDescription & WithExtendedS3DestinationDescription(const ExtendedS3DestinationDescription &value)
Definition: DestinationDescription.h:143
Aws::Firehose::Model::DestinationDescription::SetExtendedS3DestinationDescription
void SetExtendedS3DestinationDescription(const ExtendedS3DestinationDescription &value)
Definition: DestinationDescription.h:133
Aws::Firehose::Model::DestinationDescription::WithDestinationId
DestinationDescription & WithDestinationId(const Aws::String &value)
Definition: DestinationDescription.h:76
Aws::Firehose::Model::DestinationDescription::WithS3DestinationDescription
DestinationDescription & WithS3DestinationDescription(S3DestinationDescription &&value)
Definition: DestinationDescription.h:117
Aws::Firehose::Model::DestinationDescription::RedshiftDestinationDescriptionHasBeenSet
bool RedshiftDestinationDescriptionHasBeenSet() const
Definition: DestinationDescription.h:159
Aws::Firehose::Model::DestinationDescription::SetHttpEndpointDestinationDescription
void SetHttpEndpointDestinationDescription(HttpEndpointDestinationDescription &&value)
Definition: DestinationDescription.h:281
Aws::Firehose::Model::DestinationDescription::SetRedshiftDestinationDescription
void SetRedshiftDestinationDescription(const RedshiftDestinationDescription &value)
Definition: DestinationDescription.h:164
Aws::Firehose::Model::DestinationDescription::GetS3DestinationDescription
const S3DestinationDescription & GetS3DestinationDescription() const
Definition: DestinationDescription.h:92
ElasticsearchDestinationDescription.h
Aws::Firehose::Model::DestinationDescription::GetSplunkDestinationDescription
const SplunkDestinationDescription & GetSplunkDestinationDescription() const
Definition: DestinationDescription.h:235
Aws::Firehose::Model::DestinationDescription::WithHttpEndpointDestinationDescription
DestinationDescription & WithHttpEndpointDestinationDescription(HttpEndpointDestinationDescription &&value)
Definition: DestinationDescription.h:291
Aws::Firehose::Model::DestinationDescription::WithSplunkDestinationDescription
DestinationDescription & WithSplunkDestinationDescription(const SplunkDestinationDescription &value)
Definition: DestinationDescription.h:255
Aws::Firehose::Model::DestinationDescription
Definition: DestinationDescription.h:40
HttpEndpointDestinationDescription.h
Aws::Firehose::Model::DestinationDescription::AmazonopensearchserviceDestinationDescriptionHasBeenSet
bool AmazonopensearchserviceDestinationDescriptionHasBeenSet() const
Definition: DestinationDescription.h:217
Aws::Firehose::Model::DestinationDescription::operator=
DestinationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
SplunkDestinationDescription.h
Aws::Firehose::Model::DestinationDescription::SetRedshiftDestinationDescription
void SetRedshiftDestinationDescription(RedshiftDestinationDescription &&value)
Definition: DestinationDescription.h:169
Aws::Firehose::Model::DestinationDescription::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Firehose::Model::DestinationDescription::WithExtendedS3DestinationDescription
DestinationDescription & WithExtendedS3DestinationDescription(ExtendedS3DestinationDescription &&value)
Definition: DestinationDescription.h:148
Aws::Firehose::Model::DestinationDescription::SetSplunkDestinationDescription
void SetSplunkDestinationDescription(const SplunkDestinationDescription &value)
Definition: DestinationDescription.h:245
Aws::Firehose::Model::DestinationDescription::DestinationIdHasBeenSet
bool DestinationIdHasBeenSet() const
Definition: DestinationDescription.h:56
Aws::Firehose::Model::DestinationDescription::SetSplunkDestinationDescription
void SetSplunkDestinationDescription(SplunkDestinationDescription &&value)
Definition: DestinationDescription.h:250
Aws::Firehose::Model::SplunkDestinationDescription
Definition: SplunkDestinationDescription.h:38
Aws::Firehose::Model::DestinationDescription::WithAmazonopensearchserviceDestinationDescription
DestinationDescription & WithAmazonopensearchserviceDestinationDescription(const AmazonopensearchserviceDestinationDescription &value)
Definition: DestinationDescription.h:226
ExtendedS3DestinationDescription.h
Aws::Firehose::Model::DestinationDescription::SetHttpEndpointDestinationDescription
void SetHttpEndpointDestinationDescription(const HttpEndpointDestinationDescription &value)
Definition: DestinationDescription.h:276
Aws::Firehose::Model::DestinationDescription::GetRedshiftDestinationDescription
const RedshiftDestinationDescription & GetRedshiftDestinationDescription() const
Definition: DestinationDescription.h:154
Aws::Firehose::Model::DestinationDescription::DestinationDescription
DestinationDescription()
Aws::Firehose::Model::DestinationDescription::GetAmazonopensearchserviceDestinationDescription
const AmazonopensearchserviceDestinationDescription & GetAmazonopensearchserviceDestinationDescription() const
Definition: DestinationDescription.h:214
Aws::Firehose::Model::DestinationDescription::SetElasticsearchDestinationDescription
void SetElasticsearchDestinationDescription(const ElasticsearchDestinationDescription &value)
Definition: DestinationDescription.h:195
Aws::Firehose::Model::DestinationDescription::SplunkDestinationDescriptionHasBeenSet
bool SplunkDestinationDescriptionHasBeenSet() const
Definition: DestinationDescription.h:240
Aws::Firehose::Model::DestinationDescription::SetDestinationId
void SetDestinationId(const Aws::String &value)
Definition: DestinationDescription.h:61
AWS_FIREHOSE_API
#define AWS_FIREHOSE_API
Definition: Firehose_EXPORTS.h:28
Aws::Firehose::Model::DestinationDescription::SetS3DestinationDescription
void SetS3DestinationDescription(const S3DestinationDescription &value)
Definition: DestinationDescription.h:102
Aws::Firehose::Model::DestinationDescription::WithDestinationId
DestinationDescription & WithDestinationId(Aws::String &&value)
Definition: DestinationDescription.h:81
Aws::Firehose::Model::ElasticsearchDestinationDescription
Definition: ElasticsearchDestinationDescription.h:40
S3DestinationDescription.h
Aws::Firehose::Model::DestinationDescription::WithDestinationId
DestinationDescription & WithDestinationId(const char *value)
Definition: DestinationDescription.h:86
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Firehose::Model::AmazonopensearchserviceDestinationDescription
Definition: AmazonopensearchserviceDestinationDescription.h:35
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Firehose_EXPORTS.h
Aws::Firehose::Model::DestinationDescription::SetExtendedS3DestinationDescription
void SetExtendedS3DestinationDescription(ExtendedS3DestinationDescription &&value)
Definition: DestinationDescription.h:138
Aws::Firehose::Model::DestinationDescription::SetDestinationId
void SetDestinationId(Aws::String &&value)
Definition: DestinationDescription.h:66
AmazonopensearchserviceDestinationDescription.h
Aws::Firehose::Model::DestinationDescription::GetHttpEndpointDestinationDescription
const HttpEndpointDestinationDescription & GetHttpEndpointDestinationDescription() const
Definition: DestinationDescription.h:266
Aws::Firehose::Model::S3DestinationDescription
Definition: S3DestinationDescription.h:36
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::Firehose::Model::DestinationDescription::SetAmazonopensearchserviceDestinationDescription
void SetAmazonopensearchserviceDestinationDescription(AmazonopensearchserviceDestinationDescription &&value)
Definition: DestinationDescription.h:223
Aws
Definition: AccessManagementClient.h:15
Aws::Firehose::Model::DestinationDescription::DestinationDescription
DestinationDescription(Aws::Utils::Json::JsonView jsonValue)
Aws::Firehose::Model::DestinationDescription::WithElasticsearchDestinationDescription
DestinationDescription & WithElasticsearchDestinationDescription(ElasticsearchDestinationDescription &&value)
Definition: DestinationDescription.h:210
Aws::Firehose::Model::DestinationDescription::SetElasticsearchDestinationDescription
void SetElasticsearchDestinationDescription(ElasticsearchDestinationDescription &&value)
Definition: DestinationDescription.h:200
RedshiftDestinationDescription.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Firehose::Model::DestinationDescription::WithS3DestinationDescription
DestinationDescription & WithS3DestinationDescription(const S3DestinationDescription &value)
Definition: DestinationDescription.h:112
Aws::Firehose::Model::DestinationDescription::ExtendedS3DestinationDescriptionHasBeenSet
bool ExtendedS3DestinationDescriptionHasBeenSet() const
Definition: DestinationDescription.h:128
Aws::Firehose::Model::ExtendedS3DestinationDescription
Definition: ExtendedS3DestinationDescription.h:41
Aws::Firehose::Model::DestinationDescription::SetAmazonopensearchserviceDestinationDescription
void SetAmazonopensearchserviceDestinationDescription(const AmazonopensearchserviceDestinationDescription &value)
Definition: DestinationDescription.h:220
Aws::Firehose::Model::DestinationDescription::WithAmazonopensearchserviceDestinationDescription
DestinationDescription & WithAmazonopensearchserviceDestinationDescription(AmazonopensearchserviceDestinationDescription &&value)
Definition: DestinationDescription.h:229
Aws::Firehose::Model::DestinationDescription::GetElasticsearchDestinationDescription
const ElasticsearchDestinationDescription & GetElasticsearchDestinationDescription() const
Definition: DestinationDescription.h:185
Aws::Firehose::Model::DestinationDescription::WithHttpEndpointDestinationDescription
DestinationDescription & WithHttpEndpointDestinationDescription(const HttpEndpointDestinationDescription &value)
Definition: DestinationDescription.h:286
Aws::Firehose::Model::HttpEndpointDestinationDescription
Definition: HttpEndpointDestinationDescription.h:40
Aws::Firehose::Model::DestinationDescription::ElasticsearchDestinationDescriptionHasBeenSet
bool ElasticsearchDestinationDescriptionHasBeenSet() const
Definition: DestinationDescription.h:190
Aws::Firehose::Model::DestinationDescription::SetDestinationId
void SetDestinationId(const char *value)
Definition: DestinationDescription.h:71