/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that contains the failure details about an import
* job.See Also:
AWS
* API Reference
An Amazon S3 presigned URL that contains all the failed records and related * information.
*/ inline const Aws::String& GetFailedRecordsS3Url() const{ return m_failedRecordsS3Url; } /** *An Amazon S3 presigned URL that contains all the failed records and related * information.
*/ inline bool FailedRecordsS3UrlHasBeenSet() const { return m_failedRecordsS3UrlHasBeenSet; } /** *An Amazon S3 presigned URL that contains all the failed records and related * information.
*/ inline void SetFailedRecordsS3Url(const Aws::String& value) { m_failedRecordsS3UrlHasBeenSet = true; m_failedRecordsS3Url = value; } /** *An Amazon S3 presigned URL that contains all the failed records and related * information.
*/ inline void SetFailedRecordsS3Url(Aws::String&& value) { m_failedRecordsS3UrlHasBeenSet = true; m_failedRecordsS3Url = std::move(value); } /** *An Amazon S3 presigned URL that contains all the failed records and related * information.
*/ inline void SetFailedRecordsS3Url(const char* value) { m_failedRecordsS3UrlHasBeenSet = true; m_failedRecordsS3Url.assign(value); } /** *An Amazon S3 presigned URL that contains all the failed records and related * information.
*/ inline FailureInfo& WithFailedRecordsS3Url(const Aws::String& value) { SetFailedRecordsS3Url(value); return *this;} /** *An Amazon S3 presigned URL that contains all the failed records and related * information.
*/ inline FailureInfo& WithFailedRecordsS3Url(Aws::String&& value) { SetFailedRecordsS3Url(std::move(value)); return *this;} /** *An Amazon S3 presigned URL that contains all the failed records and related * information.
*/ inline FailureInfo& WithFailedRecordsS3Url(const char* value) { SetFailedRecordsS3Url(value); return *this;} /** *A message about why the import job failed.
*/ inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } /** *A message about why the import job failed.
*/ inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; } /** *A message about why the import job failed.
*/ inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; } /** *A message about why the import job failed.
*/ inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); } /** *A message about why the import job failed.
*/ inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); } /** *A message about why the import job failed.
*/ inline FailureInfo& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} /** *A message about why the import job failed.
*/ inline FailureInfo& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} /** *A message about why the import job failed.
*/ inline FailureInfo& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} private: Aws::String m_failedRecordsS3Url; bool m_failedRecordsS3UrlHasBeenSet = false; Aws::String m_errorMessage; bool m_errorMessageHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws