AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FailureInfo.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SESV2
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SESV2_API FailureInfo();
36 AWS_SESV2_API FailureInfo(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetFailedRecordsS3Url() const{ return m_failedRecordsS3Url; }
47 inline bool FailedRecordsS3UrlHasBeenSet() const { return m_failedRecordsS3UrlHasBeenSet; }
48 inline void SetFailedRecordsS3Url(const Aws::String& value) { m_failedRecordsS3UrlHasBeenSet = true; m_failedRecordsS3Url = value; }
49 inline void SetFailedRecordsS3Url(Aws::String&& value) { m_failedRecordsS3UrlHasBeenSet = true; m_failedRecordsS3Url = std::move(value); }
50 inline void SetFailedRecordsS3Url(const char* value) { m_failedRecordsS3UrlHasBeenSet = true; m_failedRecordsS3Url.assign(value); }
51 inline FailureInfo& WithFailedRecordsS3Url(const Aws::String& value) { SetFailedRecordsS3Url(value); return *this;}
52 inline FailureInfo& WithFailedRecordsS3Url(Aws::String&& value) { SetFailedRecordsS3Url(std::move(value)); return *this;}
53 inline FailureInfo& WithFailedRecordsS3Url(const char* value) { SetFailedRecordsS3Url(value); return *this;}
55
57
60 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
61 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
62 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
63 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
64 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
65 inline FailureInfo& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
66 inline FailureInfo& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
67 inline FailureInfo& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
69 private:
70
71 Aws::String m_failedRecordsS3Url;
72 bool m_failedRecordsS3UrlHasBeenSet = false;
73
74 Aws::String m_errorMessage;
75 bool m_errorMessageHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace SESV2
80} // namespace Aws
FailureInfo & WithFailedRecordsS3Url(const Aws::String &value)
Definition FailureInfo.h:51
void SetErrorMessage(Aws::String &&value)
Definition FailureInfo.h:63
AWS_SESV2_API FailureInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetErrorMessage() const
Definition FailureInfo.h:60
FailureInfo & WithErrorMessage(const Aws::String &value)
Definition FailureInfo.h:65
FailureInfo & WithErrorMessage(const char *value)
Definition FailureInfo.h:67
void SetFailedRecordsS3Url(const Aws::String &value)
Definition FailureInfo.h:48
AWS_SESV2_API FailureInfo(Aws::Utils::Json::JsonView jsonValue)
void SetErrorMessage(const char *value)
Definition FailureInfo.h:64
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
FailureInfo & WithErrorMessage(Aws::String &&value)
Definition FailureInfo.h:66
void SetFailedRecordsS3Url(const char *value)
Definition FailureInfo.h:50
const Aws::String & GetFailedRecordsS3Url() const
Definition FailureInfo.h:46
void SetFailedRecordsS3Url(Aws::String &&value)
Definition FailureInfo.h:49
bool FailedRecordsS3UrlHasBeenSet() const
Definition FailureInfo.h:47
void SetErrorMessage(const Aws::String &value)
Definition FailureInfo.h:62
FailureInfo & WithFailedRecordsS3Url(Aws::String &&value)
Definition FailureInfo.h:52
FailureInfo & WithFailedRecordsS3Url(const char *value)
Definition FailureInfo.h:53
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue