1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/honeycode/Honeycode_EXPORTS.h> 8 #include <aws/honeycode/HoneycodeRequest.h> 9 #include <aws/core/utils/memory/stl/AWSString.h> 10 #include <utility> 11 12 namespace Aws 13 { 14 namespace Honeycode 15 { 16 namespace Model 17 { 18 19 /** 20 */ 21 class AWS_HONEYCODE_API DescribeTableDataImportJobRequest : public HoneycodeRequest 22 { 23 public: 24 DescribeTableDataImportJobRequest(); 25 26 // Service request name is the Operation name which will send this request out, 27 // each operation should has unique request name, so that we can get operation's name from this request. 28 // Note: this is not true for response, multiple operations may have the same response name, 29 // so we can not get operation's name from response. GetServiceRequestName()30 inline virtual const char* GetServiceRequestName() const override { return "DescribeTableDataImportJob"; } 31 32 Aws::String SerializePayload() const override; 33 34 35 /** 36 * <p>The ID of the workbook into which data was imported.</p> <p> If a workbook 37 * with the specified id could not be found, this API throws 38 * ResourceNotFoundException. </p> 39 */ GetWorkbookId()40 inline const Aws::String& GetWorkbookId() const{ return m_workbookId; } 41 42 /** 43 * <p>The ID of the workbook into which data was imported.</p> <p> If a workbook 44 * with the specified id could not be found, this API throws 45 * ResourceNotFoundException. </p> 46 */ WorkbookIdHasBeenSet()47 inline bool WorkbookIdHasBeenSet() const { return m_workbookIdHasBeenSet; } 48 49 /** 50 * <p>The ID of the workbook into which data was imported.</p> <p> If a workbook 51 * with the specified id could not be found, this API throws 52 * ResourceNotFoundException. </p> 53 */ SetWorkbookId(const Aws::String & value)54 inline void SetWorkbookId(const Aws::String& value) { m_workbookIdHasBeenSet = true; m_workbookId = value; } 55 56 /** 57 * <p>The ID of the workbook into which data was imported.</p> <p> If a workbook 58 * with the specified id could not be found, this API throws 59 * ResourceNotFoundException. </p> 60 */ SetWorkbookId(Aws::String && value)61 inline void SetWorkbookId(Aws::String&& value) { m_workbookIdHasBeenSet = true; m_workbookId = std::move(value); } 62 63 /** 64 * <p>The ID of the workbook into which data was imported.</p> <p> If a workbook 65 * with the specified id could not be found, this API throws 66 * ResourceNotFoundException. </p> 67 */ SetWorkbookId(const char * value)68 inline void SetWorkbookId(const char* value) { m_workbookIdHasBeenSet = true; m_workbookId.assign(value); } 69 70 /** 71 * <p>The ID of the workbook into which data was imported.</p> <p> If a workbook 72 * with the specified id could not be found, this API throws 73 * ResourceNotFoundException. </p> 74 */ WithWorkbookId(const Aws::String & value)75 inline DescribeTableDataImportJobRequest& WithWorkbookId(const Aws::String& value) { SetWorkbookId(value); return *this;} 76 77 /** 78 * <p>The ID of the workbook into which data was imported.</p> <p> If a workbook 79 * with the specified id could not be found, this API throws 80 * ResourceNotFoundException. </p> 81 */ WithWorkbookId(Aws::String && value)82 inline DescribeTableDataImportJobRequest& WithWorkbookId(Aws::String&& value) { SetWorkbookId(std::move(value)); return *this;} 83 84 /** 85 * <p>The ID of the workbook into which data was imported.</p> <p> If a workbook 86 * with the specified id could not be found, this API throws 87 * ResourceNotFoundException. </p> 88 */ WithWorkbookId(const char * value)89 inline DescribeTableDataImportJobRequest& WithWorkbookId(const char* value) { SetWorkbookId(value); return *this;} 90 91 92 /** 93 * <p>The ID of the table into which data was imported.</p> <p> If a table with the 94 * specified id could not be found, this API throws ResourceNotFoundException. </p> 95 */ GetTableId()96 inline const Aws::String& GetTableId() const{ return m_tableId; } 97 98 /** 99 * <p>The ID of the table into which data was imported.</p> <p> If a table with the 100 * specified id could not be found, this API throws ResourceNotFoundException. </p> 101 */ TableIdHasBeenSet()102 inline bool TableIdHasBeenSet() const { return m_tableIdHasBeenSet; } 103 104 /** 105 * <p>The ID of the table into which data was imported.</p> <p> If a table with the 106 * specified id could not be found, this API throws ResourceNotFoundException. </p> 107 */ SetTableId(const Aws::String & value)108 inline void SetTableId(const Aws::String& value) { m_tableIdHasBeenSet = true; m_tableId = value; } 109 110 /** 111 * <p>The ID of the table into which data was imported.</p> <p> If a table with the 112 * specified id could not be found, this API throws ResourceNotFoundException. </p> 113 */ SetTableId(Aws::String && value)114 inline void SetTableId(Aws::String&& value) { m_tableIdHasBeenSet = true; m_tableId = std::move(value); } 115 116 /** 117 * <p>The ID of the table into which data was imported.</p> <p> If a table with the 118 * specified id could not be found, this API throws ResourceNotFoundException. </p> 119 */ SetTableId(const char * value)120 inline void SetTableId(const char* value) { m_tableIdHasBeenSet = true; m_tableId.assign(value); } 121 122 /** 123 * <p>The ID of the table into which data was imported.</p> <p> If a table with the 124 * specified id could not be found, this API throws ResourceNotFoundException. </p> 125 */ WithTableId(const Aws::String & value)126 inline DescribeTableDataImportJobRequest& WithTableId(const Aws::String& value) { SetTableId(value); return *this;} 127 128 /** 129 * <p>The ID of the table into which data was imported.</p> <p> If a table with the 130 * specified id could not be found, this API throws ResourceNotFoundException. </p> 131 */ WithTableId(Aws::String && value)132 inline DescribeTableDataImportJobRequest& WithTableId(Aws::String&& value) { SetTableId(std::move(value)); return *this;} 133 134 /** 135 * <p>The ID of the table into which data was imported.</p> <p> If a table with the 136 * specified id could not be found, this API throws ResourceNotFoundException. </p> 137 */ WithTableId(const char * value)138 inline DescribeTableDataImportJobRequest& WithTableId(const char* value) { SetTableId(value); return *this;} 139 140 141 /** 142 * <p>The ID of the job that was returned by the StartTableDataImportJob 143 * request.</p> <p> If a job with the specified id could not be found, this API 144 * throws ResourceNotFoundException. </p> 145 */ GetJobId()146 inline const Aws::String& GetJobId() const{ return m_jobId; } 147 148 /** 149 * <p>The ID of the job that was returned by the StartTableDataImportJob 150 * request.</p> <p> If a job with the specified id could not be found, this API 151 * throws ResourceNotFoundException. </p> 152 */ JobIdHasBeenSet()153 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } 154 155 /** 156 * <p>The ID of the job that was returned by the StartTableDataImportJob 157 * request.</p> <p> If a job with the specified id could not be found, this API 158 * throws ResourceNotFoundException. </p> 159 */ SetJobId(const Aws::String & value)160 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } 161 162 /** 163 * <p>The ID of the job that was returned by the StartTableDataImportJob 164 * request.</p> <p> If a job with the specified id could not be found, this API 165 * throws ResourceNotFoundException. </p> 166 */ SetJobId(Aws::String && value)167 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } 168 169 /** 170 * <p>The ID of the job that was returned by the StartTableDataImportJob 171 * request.</p> <p> If a job with the specified id could not be found, this API 172 * throws ResourceNotFoundException. </p> 173 */ SetJobId(const char * value)174 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } 175 176 /** 177 * <p>The ID of the job that was returned by the StartTableDataImportJob 178 * request.</p> <p> If a job with the specified id could not be found, this API 179 * throws ResourceNotFoundException. </p> 180 */ WithJobId(const Aws::String & value)181 inline DescribeTableDataImportJobRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} 182 183 /** 184 * <p>The ID of the job that was returned by the StartTableDataImportJob 185 * request.</p> <p> If a job with the specified id could not be found, this API 186 * throws ResourceNotFoundException. </p> 187 */ WithJobId(Aws::String && value)188 inline DescribeTableDataImportJobRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} 189 190 /** 191 * <p>The ID of the job that was returned by the StartTableDataImportJob 192 * request.</p> <p> If a job with the specified id could not be found, this API 193 * throws ResourceNotFoundException. </p> 194 */ WithJobId(const char * value)195 inline DescribeTableDataImportJobRequest& WithJobId(const char* value) { SetJobId(value); return *this;} 196 197 private: 198 199 Aws::String m_workbookId; 200 bool m_workbookIdHasBeenSet; 201 202 Aws::String m_tableId; 203 bool m_tableIdHasBeenSet; 204 205 Aws::String m_jobId; 206 bool m_jobIdHasBeenSet; 207 }; 208 209 } // namespace Model 210 } // namespace Honeycode 211 } // namespace Aws 212