AWS SDK for C++  0.12.9
AWS SDK for C++
S3DestinationConfiguration.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
22 
23 namespace Aws
24 {
25 namespace Utils
26 {
27 namespace Json
28 {
29  class JsonValue;
30 } // namespace Json
31 } // namespace Utils
32 namespace Firehose
33 {
34 namespace Model
35 {
36 
41  {
42  public:
45  S3DestinationConfiguration& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
46  Aws::Utils::Json::JsonValue Jsonize() const;
47 
51  inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
52 
56  inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
57 
61  inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
62 
66  inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
67 
71  inline S3DestinationConfiguration& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
72 
76  inline S3DestinationConfiguration& WithRoleARN(Aws::String&& value) { SetRoleARN(value); return *this;}
77 
81  inline S3DestinationConfiguration& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
82 
86  inline const Aws::String& GetBucketARN() const{ return m_bucketARN; }
87 
91  inline void SetBucketARN(const Aws::String& value) { m_bucketARNHasBeenSet = true; m_bucketARN = value; }
92 
96  inline void SetBucketARN(Aws::String&& value) { m_bucketARNHasBeenSet = true; m_bucketARN = value; }
97 
101  inline void SetBucketARN(const char* value) { m_bucketARNHasBeenSet = true; m_bucketARN.assign(value); }
102 
106  inline S3DestinationConfiguration& WithBucketARN(const Aws::String& value) { SetBucketARN(value); return *this;}
107 
111  inline S3DestinationConfiguration& WithBucketARN(Aws::String&& value) { SetBucketARN(value); return *this;}
112 
116  inline S3DestinationConfiguration& WithBucketARN(const char* value) { SetBucketARN(value); return *this;}
117 
128  inline const Aws::String& GetPrefix() const{ return m_prefix; }
129 
140  inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
141 
152  inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = value; }
153 
164  inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
165 
176  inline S3DestinationConfiguration& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
177 
188  inline S3DestinationConfiguration& WithPrefix(Aws::String&& value) { SetPrefix(value); return *this;}
189 
200  inline S3DestinationConfiguration& WithPrefix(const char* value) { SetPrefix(value); return *this;}
201 
206  inline const BufferingHints& GetBufferingHints() const{ return m_bufferingHints; }
207 
212  inline void SetBufferingHints(const BufferingHints& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = value; }
213 
218  inline void SetBufferingHints(BufferingHints&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = value; }
219 
224  inline S3DestinationConfiguration& WithBufferingHints(const BufferingHints& value) { SetBufferingHints(value); return *this;}
225 
230  inline S3DestinationConfiguration& WithBufferingHints(BufferingHints&& value) { SetBufferingHints(value); return *this;}
231 
239  inline const CompressionFormat& GetCompressionFormat() const{ return m_compressionFormat; }
240 
248  inline void SetCompressionFormat(const CompressionFormat& value) { m_compressionFormatHasBeenSet = true; m_compressionFormat = value; }
249 
257  inline void SetCompressionFormat(CompressionFormat&& value) { m_compressionFormatHasBeenSet = true; m_compressionFormat = value; }
258 
266  inline S3DestinationConfiguration& WithCompressionFormat(const CompressionFormat& value) { SetCompressionFormat(value); return *this;}
267 
275  inline S3DestinationConfiguration& WithCompressionFormat(CompressionFormat&& value) { SetCompressionFormat(value); return *this;}
276 
281  inline const EncryptionConfiguration& GetEncryptionConfiguration() const{ return m_encryptionConfiguration; }
282 
287  inline void SetEncryptionConfiguration(const EncryptionConfiguration& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = value; }
288 
293  inline void SetEncryptionConfiguration(EncryptionConfiguration&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = value; }
294 
299  inline S3DestinationConfiguration& WithEncryptionConfiguration(const EncryptionConfiguration& value) { SetEncryptionConfiguration(value); return *this;}
300 
305  inline S3DestinationConfiguration& WithEncryptionConfiguration(EncryptionConfiguration&& value) { SetEncryptionConfiguration(value); return *this;}
306 
310  inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const{ return m_cloudWatchLoggingOptions; }
311 
315  inline void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; }
316 
320  inline void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; }
321 
325  inline S3DestinationConfiguration& WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { SetCloudWatchLoggingOptions(value); return *this;}
326 
330  inline S3DestinationConfiguration& WithCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { SetCloudWatchLoggingOptions(value); return *this;}
331 
332  private:
333  Aws::String m_roleARN;
334  bool m_roleARNHasBeenSet;
335  Aws::String m_bucketARN;
336  bool m_bucketARNHasBeenSet;
337  Aws::String m_prefix;
338  bool m_prefixHasBeenSet;
339  BufferingHints m_bufferingHints;
340  bool m_bufferingHintsHasBeenSet;
341  CompressionFormat m_compressionFormat;
342  bool m_compressionFormatHasBeenSet;
343  EncryptionConfiguration m_encryptionConfiguration;
344  bool m_encryptionConfigurationHasBeenSet;
345  CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
346  bool m_cloudWatchLoggingOptionsHasBeenSet;
347  };
348 
349 } // namespace Model
350 } // namespace Firehose
351 } // namespace Aws
void SetEncryptionConfiguration(EncryptionConfiguration &&value)
S3DestinationConfiguration & WithPrefix(Aws::String &&value)
S3DestinationConfiguration & WithEncryptionConfiguration(EncryptionConfiguration &&value)
S3DestinationConfiguration & WithPrefix(const char *value)
S3DestinationConfiguration & WithPrefix(const Aws::String &value)
S3DestinationConfiguration & WithRoleARN(const Aws::String &value)
S3DestinationConfiguration & WithCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
#define AWS_FIREHOSE_API
S3DestinationConfiguration & WithBucketARN(const Aws::String &value)
S3DestinationConfiguration & WithBufferingHints(BufferingHints &&value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
S3DestinationConfiguration & WithCompressionFormat(CompressionFormat &&value)
S3DestinationConfiguration & WithRoleARN(Aws::String &&value)
void SetEncryptionConfiguration(const EncryptionConfiguration &value)
S3DestinationConfiguration & WithCompressionFormat(const CompressionFormat &value)
const CloudWatchLoggingOptions & GetCloudWatchLoggingOptions() const
S3DestinationConfiguration & WithRoleARN(const char *value)
S3DestinationConfiguration & WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
S3DestinationConfiguration & WithBufferingHints(const BufferingHints &value)
S3DestinationConfiguration & WithBucketARN(const char *value)
void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
void SetCompressionFormat(const CompressionFormat &value)
S3DestinationConfiguration & WithEncryptionConfiguration(const EncryptionConfiguration &value)
S3DestinationConfiguration & WithBucketARN(Aws::String &&value)
void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
JSON (JavaScript Object Notation).