AWS SDK for C++  0.12.9
AWS SDK for C++
RedshiftDestinationDescription.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:
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 RedshiftDestinationDescription& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
72 
76  inline RedshiftDestinationDescription& WithRoleARN(Aws::String&& value) { SetRoleARN(value); return *this;}
77 
81  inline RedshiftDestinationDescription& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
82 
86  inline const Aws::String& GetClusterJDBCURL() const{ return m_clusterJDBCURL; }
87 
91  inline void SetClusterJDBCURL(const Aws::String& value) { m_clusterJDBCURLHasBeenSet = true; m_clusterJDBCURL = value; }
92 
96  inline void SetClusterJDBCURL(Aws::String&& value) { m_clusterJDBCURLHasBeenSet = true; m_clusterJDBCURL = value; }
97 
101  inline void SetClusterJDBCURL(const char* value) { m_clusterJDBCURLHasBeenSet = true; m_clusterJDBCURL.assign(value); }
102 
106  inline RedshiftDestinationDescription& WithClusterJDBCURL(const Aws::String& value) { SetClusterJDBCURL(value); return *this;}
107 
111  inline RedshiftDestinationDescription& WithClusterJDBCURL(Aws::String&& value) { SetClusterJDBCURL(value); return *this;}
112 
116  inline RedshiftDestinationDescription& WithClusterJDBCURL(const char* value) { SetClusterJDBCURL(value); return *this;}
117 
121  inline const CopyCommand& GetCopyCommand() const{ return m_copyCommand; }
122 
126  inline void SetCopyCommand(const CopyCommand& value) { m_copyCommandHasBeenSet = true; m_copyCommand = value; }
127 
131  inline void SetCopyCommand(CopyCommand&& value) { m_copyCommandHasBeenSet = true; m_copyCommand = value; }
132 
136  inline RedshiftDestinationDescription& WithCopyCommand(const CopyCommand& value) { SetCopyCommand(value); return *this;}
137 
141  inline RedshiftDestinationDescription& WithCopyCommand(CopyCommand&& value) { SetCopyCommand(value); return *this;}
142 
146  inline const Aws::String& GetUsername() const{ return m_username; }
147 
151  inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; }
152 
156  inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = value; }
157 
161  inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); }
162 
166  inline RedshiftDestinationDescription& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
167 
171  inline RedshiftDestinationDescription& WithUsername(Aws::String&& value) { SetUsername(value); return *this;}
172 
176  inline RedshiftDestinationDescription& WithUsername(const char* value) { SetUsername(value); return *this;}
177 
182  inline const RedshiftRetryOptions& GetRetryOptions() const{ return m_retryOptions; }
183 
188  inline void SetRetryOptions(const RedshiftRetryOptions& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = value; }
189 
194  inline void SetRetryOptions(RedshiftRetryOptions&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = value; }
195 
200  inline RedshiftDestinationDescription& WithRetryOptions(const RedshiftRetryOptions& value) { SetRetryOptions(value); return *this;}
201 
206  inline RedshiftDestinationDescription& WithRetryOptions(RedshiftRetryOptions&& value) { SetRetryOptions(value); return *this;}
207 
211  inline const S3DestinationDescription& GetS3DestinationDescription() const{ return m_s3DestinationDescription; }
212 
216  inline void SetS3DestinationDescription(const S3DestinationDescription& value) { m_s3DestinationDescriptionHasBeenSet = true; m_s3DestinationDescription = value; }
217 
221  inline void SetS3DestinationDescription(S3DestinationDescription&& value) { m_s3DestinationDescriptionHasBeenSet = true; m_s3DestinationDescription = value; }
222 
226  inline RedshiftDestinationDescription& WithS3DestinationDescription(const S3DestinationDescription& value) { SetS3DestinationDescription(value); return *this;}
227 
231  inline RedshiftDestinationDescription& WithS3DestinationDescription(S3DestinationDescription&& value) { SetS3DestinationDescription(value); return *this;}
232 
236  inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const{ return m_cloudWatchLoggingOptions; }
237 
241  inline void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; }
242 
246  inline void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; }
247 
251  inline RedshiftDestinationDescription& WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { SetCloudWatchLoggingOptions(value); return *this;}
252 
256  inline RedshiftDestinationDescription& WithCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { SetCloudWatchLoggingOptions(value); return *this;}
257 
258  private:
259  Aws::String m_roleARN;
260  bool m_roleARNHasBeenSet;
261  Aws::String m_clusterJDBCURL;
262  bool m_clusterJDBCURLHasBeenSet;
263  CopyCommand m_copyCommand;
264  bool m_copyCommandHasBeenSet;
265  Aws::String m_username;
266  bool m_usernameHasBeenSet;
267  RedshiftRetryOptions m_retryOptions;
268  bool m_retryOptionsHasBeenSet;
269  S3DestinationDescription m_s3DestinationDescription;
270  bool m_s3DestinationDescriptionHasBeenSet;
271  CloudWatchLoggingOptions m_cloudWatchLoggingOptions;
272  bool m_cloudWatchLoggingOptionsHasBeenSet;
273  };
274 
275 } // namespace Model
276 } // namespace Firehose
277 } // namespace Aws
void SetS3DestinationDescription(S3DestinationDescription &&value)
void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
#define AWS_FIREHOSE_API
const CloudWatchLoggingOptions & GetCloudWatchLoggingOptions() const
RedshiftDestinationDescription & WithRoleARN(Aws::String &&value)
RedshiftDestinationDescription & WithClusterJDBCURL(const Aws::String &value)
RedshiftDestinationDescription & WithUsername(const Aws::String &value)
RedshiftDestinationDescription & WithClusterJDBCURL(const char *value)
RedshiftDestinationDescription & WithUsername(Aws::String &&value)
RedshiftDestinationDescription & WithRetryOptions(const RedshiftRetryOptions &value)
RedshiftDestinationDescription & WithCloudWatchLoggingOptions(CloudWatchLoggingOptions &&value)
RedshiftDestinationDescription & WithUsername(const char *value)
RedshiftDestinationDescription & WithRoleARN(const char *value)
void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
RedshiftDestinationDescription & WithCopyCommand(const CopyCommand &value)
RedshiftDestinationDescription & WithS3DestinationDescription(S3DestinationDescription &&value)
RedshiftDestinationDescription & WithRetryOptions(RedshiftRetryOptions &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
RedshiftDestinationDescription & WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions &value)
RedshiftDestinationDescription & WithCopyCommand(CopyCommand &&value)
RedshiftDestinationDescription & WithClusterJDBCURL(Aws::String &&value)
const S3DestinationDescription & GetS3DestinationDescription() const
void SetS3DestinationDescription(const S3DestinationDescription &value)
RedshiftDestinationDescription & WithRoleARN(const Aws::String &value)
RedshiftDestinationDescription & WithS3DestinationDescription(const S3DestinationDescription &value)
JSON (JavaScript Object Notation).