142 lines
4.4 KiB
C++
142 lines
4.4 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/sesv2/SESV2_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace SESV2
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>An object that contains the failure details about an import
|
|
* job.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/FailureInfo">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_SESV2_API FailureInfo
|
|
{
|
|
public:
|
|
FailureInfo();
|
|
FailureInfo(Aws::Utils::Json::JsonView jsonValue);
|
|
FailureInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>An Amazon S3 presigned URL that contains all the failed records and related
|
|
* information.</p>
|
|
*/
|
|
inline const Aws::String& GetFailedRecordsS3Url() const{ return m_failedRecordsS3Url; }
|
|
|
|
/**
|
|
* <p>An Amazon S3 presigned URL that contains all the failed records and related
|
|
* information.</p>
|
|
*/
|
|
inline bool FailedRecordsS3UrlHasBeenSet() const { return m_failedRecordsS3UrlHasBeenSet; }
|
|
|
|
/**
|
|
* <p>An Amazon S3 presigned URL that contains all the failed records and related
|
|
* information.</p>
|
|
*/
|
|
inline void SetFailedRecordsS3Url(const Aws::String& value) { m_failedRecordsS3UrlHasBeenSet = true; m_failedRecordsS3Url = value; }
|
|
|
|
/**
|
|
* <p>An Amazon S3 presigned URL that contains all the failed records and related
|
|
* information.</p>
|
|
*/
|
|
inline void SetFailedRecordsS3Url(Aws::String&& value) { m_failedRecordsS3UrlHasBeenSet = true; m_failedRecordsS3Url = std::move(value); }
|
|
|
|
/**
|
|
* <p>An Amazon S3 presigned URL that contains all the failed records and related
|
|
* information.</p>
|
|
*/
|
|
inline void SetFailedRecordsS3Url(const char* value) { m_failedRecordsS3UrlHasBeenSet = true; m_failedRecordsS3Url.assign(value); }
|
|
|
|
/**
|
|
* <p>An Amazon S3 presigned URL that contains all the failed records and related
|
|
* information.</p>
|
|
*/
|
|
inline FailureInfo& WithFailedRecordsS3Url(const Aws::String& value) { SetFailedRecordsS3Url(value); return *this;}
|
|
|
|
/**
|
|
* <p>An Amazon S3 presigned URL that contains all the failed records and related
|
|
* information.</p>
|
|
*/
|
|
inline FailureInfo& WithFailedRecordsS3Url(Aws::String&& value) { SetFailedRecordsS3Url(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>An Amazon S3 presigned URL that contains all the failed records and related
|
|
* information.</p>
|
|
*/
|
|
inline FailureInfo& WithFailedRecordsS3Url(const char* value) { SetFailedRecordsS3Url(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>A message about why the import job failed.</p>
|
|
*/
|
|
inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
|
|
|
|
/**
|
|
* <p>A message about why the import job failed.</p>
|
|
*/
|
|
inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
|
|
|
|
/**
|
|
* <p>A message about why the import job failed.</p>
|
|
*/
|
|
inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
|
|
|
|
/**
|
|
* <p>A message about why the import job failed.</p>
|
|
*/
|
|
inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
|
|
|
|
/**
|
|
* <p>A message about why the import job failed.</p>
|
|
*/
|
|
inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
|
|
|
|
/**
|
|
* <p>A message about why the import job failed.</p>
|
|
*/
|
|
inline FailureInfo& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
|
|
|
|
/**
|
|
* <p>A message about why the import job failed.</p>
|
|
*/
|
|
inline FailureInfo& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>A message about why the import job failed.</p>
|
|
*/
|
|
inline FailureInfo& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_failedRecordsS3Url;
|
|
bool m_failedRecordsS3UrlHasBeenSet;
|
|
|
|
Aws::String m_errorMessage;
|
|
bool m_errorMessageHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace SESV2
|
|
} // namespace Aws
|