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/model/TableDataImportJobStatus.h> 9 #include <aws/core/utils/memory/stl/AWSString.h> 10 #include <aws/honeycode/model/TableDataImportJobMetadata.h> 11 #include <utility> 12 13 namespace Aws 14 { 15 template<typename RESULT_TYPE> 16 class AmazonWebServiceResult; 17 18 namespace Utils 19 { 20 namespace Json 21 { 22 class JsonValue; 23 } // namespace Json 24 } // namespace Utils 25 namespace Honeycode 26 { 27 namespace Model 28 { 29 class AWS_HONEYCODE_API DescribeTableDataImportJobResult 30 { 31 public: 32 DescribeTableDataImportJobResult(); 33 DescribeTableDataImportJobResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 34 DescribeTableDataImportJobResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 35 36 37 /** 38 * <p> The current status of the import job. </p> 39 */ GetJobStatus()40 inline const TableDataImportJobStatus& GetJobStatus() const{ return m_jobStatus; } 41 42 /** 43 * <p> The current status of the import job. </p> 44 */ SetJobStatus(const TableDataImportJobStatus & value)45 inline void SetJobStatus(const TableDataImportJobStatus& value) { m_jobStatus = value; } 46 47 /** 48 * <p> The current status of the import job. </p> 49 */ SetJobStatus(TableDataImportJobStatus && value)50 inline void SetJobStatus(TableDataImportJobStatus&& value) { m_jobStatus = std::move(value); } 51 52 /** 53 * <p> The current status of the import job. </p> 54 */ WithJobStatus(const TableDataImportJobStatus & value)55 inline DescribeTableDataImportJobResult& WithJobStatus(const TableDataImportJobStatus& value) { SetJobStatus(value); return *this;} 56 57 /** 58 * <p> The current status of the import job. </p> 59 */ WithJobStatus(TableDataImportJobStatus && value)60 inline DescribeTableDataImportJobResult& WithJobStatus(TableDataImportJobStatus&& value) { SetJobStatus(std::move(value)); return *this;} 61 62 63 /** 64 * <p> A message providing more details about the current status of the import job. 65 * </p> 66 */ GetMessage()67 inline const Aws::String& GetMessage() const{ return m_message; } 68 69 /** 70 * <p> A message providing more details about the current status of the import job. 71 * </p> 72 */ SetMessage(const Aws::String & value)73 inline void SetMessage(const Aws::String& value) { m_message = value; } 74 75 /** 76 * <p> A message providing more details about the current status of the import job. 77 * </p> 78 */ SetMessage(Aws::String && value)79 inline void SetMessage(Aws::String&& value) { m_message = std::move(value); } 80 81 /** 82 * <p> A message providing more details about the current status of the import job. 83 * </p> 84 */ SetMessage(const char * value)85 inline void SetMessage(const char* value) { m_message.assign(value); } 86 87 /** 88 * <p> A message providing more details about the current status of the import job. 89 * </p> 90 */ WithMessage(const Aws::String & value)91 inline DescribeTableDataImportJobResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} 92 93 /** 94 * <p> A message providing more details about the current status of the import job. 95 * </p> 96 */ WithMessage(Aws::String && value)97 inline DescribeTableDataImportJobResult& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} 98 99 /** 100 * <p> A message providing more details about the current status of the import job. 101 * </p> 102 */ WithMessage(const char * value)103 inline DescribeTableDataImportJobResult& WithMessage(const char* value) { SetMessage(value); return *this;} 104 105 106 /** 107 * <p> The metadata about the job that was submitted for import. </p> 108 */ GetJobMetadata()109 inline const TableDataImportJobMetadata& GetJobMetadata() const{ return m_jobMetadata; } 110 111 /** 112 * <p> The metadata about the job that was submitted for import. </p> 113 */ SetJobMetadata(const TableDataImportJobMetadata & value)114 inline void SetJobMetadata(const TableDataImportJobMetadata& value) { m_jobMetadata = value; } 115 116 /** 117 * <p> The metadata about the job that was submitted for import. </p> 118 */ SetJobMetadata(TableDataImportJobMetadata && value)119 inline void SetJobMetadata(TableDataImportJobMetadata&& value) { m_jobMetadata = std::move(value); } 120 121 /** 122 * <p> The metadata about the job that was submitted for import. </p> 123 */ WithJobMetadata(const TableDataImportJobMetadata & value)124 inline DescribeTableDataImportJobResult& WithJobMetadata(const TableDataImportJobMetadata& value) { SetJobMetadata(value); return *this;} 125 126 /** 127 * <p> The metadata about the job that was submitted for import. </p> 128 */ WithJobMetadata(TableDataImportJobMetadata && value)129 inline DescribeTableDataImportJobResult& WithJobMetadata(TableDataImportJobMetadata&& value) { SetJobMetadata(std::move(value)); return *this;} 130 131 private: 132 133 TableDataImportJobStatus m_jobStatus; 134 135 Aws::String m_message; 136 137 TableDataImportJobMetadata m_jobMetadata; 138 }; 139 140 } // namespace Model 141 } // namespace Honeycode 142 } // namespace Aws 143