AWS SDK for C++  0.14.3
AWS SDK for C++
CopyCommand.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
18 
19 namespace Aws
20 {
21 namespace Utils
22 {
23 namespace Json
24 {
25  class JsonValue;
26 } // namespace Json
27 } // namespace Utils
28 namespace Firehose
29 {
30 namespace Model
31 {
32 
37  {
38  public:
39  CopyCommand();
40  CopyCommand(const Aws::Utils::Json::JsonValue& jsonValue);
41  CopyCommand& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
42  Aws::Utils::Json::JsonValue Jsonize() const;
43 
48  inline const Aws::String& GetDataTableName() const{ return m_dataTableName; }
49 
54  inline void SetDataTableName(const Aws::String& value) { m_dataTableNameHasBeenSet = true; m_dataTableName = value; }
55 
60  inline void SetDataTableName(Aws::String&& value) { m_dataTableNameHasBeenSet = true; m_dataTableName = value; }
61 
66  inline void SetDataTableName(const char* value) { m_dataTableNameHasBeenSet = true; m_dataTableName.assign(value); }
67 
72  inline CopyCommand& WithDataTableName(const Aws::String& value) { SetDataTableName(value); return *this;}
73 
78  inline CopyCommand& WithDataTableName(Aws::String&& value) { SetDataTableName(value); return *this;}
79 
84  inline CopyCommand& WithDataTableName(const char* value) { SetDataTableName(value); return *this;}
85 
89  inline const Aws::String& GetDataTableColumns() const{ return m_dataTableColumns; }
90 
94  inline void SetDataTableColumns(const Aws::String& value) { m_dataTableColumnsHasBeenSet = true; m_dataTableColumns = value; }
95 
99  inline void SetDataTableColumns(Aws::String&& value) { m_dataTableColumnsHasBeenSet = true; m_dataTableColumns = value; }
100 
104  inline void SetDataTableColumns(const char* value) { m_dataTableColumnsHasBeenSet = true; m_dataTableColumns.assign(value); }
105 
109  inline CopyCommand& WithDataTableColumns(const Aws::String& value) { SetDataTableColumns(value); return *this;}
110 
114  inline CopyCommand& WithDataTableColumns(Aws::String&& value) { SetDataTableColumns(value); return *this;}
115 
119  inline CopyCommand& WithDataTableColumns(const char* value) { SetDataTableColumns(value); return *this;}
120 
139  inline const Aws::String& GetCopyOptions() const{ return m_copyOptions; }
140 
159  inline void SetCopyOptions(const Aws::String& value) { m_copyOptionsHasBeenSet = true; m_copyOptions = value; }
160 
179  inline void SetCopyOptions(Aws::String&& value) { m_copyOptionsHasBeenSet = true; m_copyOptions = value; }
180 
199  inline void SetCopyOptions(const char* value) { m_copyOptionsHasBeenSet = true; m_copyOptions.assign(value); }
200 
219  inline CopyCommand& WithCopyOptions(const Aws::String& value) { SetCopyOptions(value); return *this;}
220 
239  inline CopyCommand& WithCopyOptions(Aws::String&& value) { SetCopyOptions(value); return *this;}
240 
259  inline CopyCommand& WithCopyOptions(const char* value) { SetCopyOptions(value); return *this;}
260 
261  private:
262  Aws::String m_dataTableName;
263  bool m_dataTableNameHasBeenSet;
264  Aws::String m_dataTableColumns;
265  bool m_dataTableColumnsHasBeenSet;
266  Aws::String m_copyOptions;
267  bool m_copyOptionsHasBeenSet;
268  };
269 
270 } // namespace Model
271 } // namespace Firehose
272 } // namespace Aws
const Aws::String & GetDataTableColumns() const
Definition: CopyCommand.h:89
CopyCommand & WithCopyOptions(const Aws::String &value)
Definition: CopyCommand.h:219
CopyCommand & WithDataTableName(const Aws::String &value)
Definition: CopyCommand.h:72
CopyCommand & WithDataTableColumns(Aws::String &&value)
Definition: CopyCommand.h:114
const Aws::String & GetDataTableName() const
Definition: CopyCommand.h:48
#define AWS_FIREHOSE_API
CopyCommand & WithCopyOptions(Aws::String &&value)
Definition: CopyCommand.h:239
CopyCommand & WithDataTableColumns(const Aws::String &value)
Definition: CopyCommand.h:109
void SetDataTableColumns(const Aws::String &value)
Definition: CopyCommand.h:94
void SetDataTableColumns(const char *value)
Definition: CopyCommand.h:104
void SetDataTableColumns(Aws::String &&value)
Definition: CopyCommand.h:99
void SetDataTableName(const char *value)
Definition: CopyCommand.h:66
const Aws::String & GetCopyOptions() const
Definition: CopyCommand.h:139
void SetCopyOptions(const Aws::String &value)
Definition: CopyCommand.h:159
void SetCopyOptions(const char *value)
Definition: CopyCommand.h:199
void SetCopyOptions(Aws::String &&value)
Definition: CopyCommand.h:179
CopyCommand & WithCopyOptions(const char *value)
Definition: CopyCommand.h:259
CopyCommand & WithDataTableName(Aws::String &&value)
Definition: CopyCommand.h:78
void SetDataTableName(Aws::String &&value)
Definition: CopyCommand.h:60
CopyCommand & WithDataTableColumns(const char *value)
Definition: CopyCommand.h:119
CopyCommand & WithDataTableName(const char *value)
Definition: CopyCommand.h:84
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetDataTableName(const Aws::String &value)
Definition: CopyCommand.h:54
JSON (JavaScript Object Notation).