AWS SDK for C++  1.9.156
AWS SDK for C++
FailureInfo.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SESV2
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
45  inline const Aws::String& GetFailedRecordsS3Url() const{ return m_failedRecordsS3Url; }
46 
51  inline bool FailedRecordsS3UrlHasBeenSet() const { return m_failedRecordsS3UrlHasBeenSet; }
52 
57  inline void SetFailedRecordsS3Url(const Aws::String& value) { m_failedRecordsS3UrlHasBeenSet = true; m_failedRecordsS3Url = value; }
58 
63  inline void SetFailedRecordsS3Url(Aws::String&& value) { m_failedRecordsS3UrlHasBeenSet = true; m_failedRecordsS3Url = std::move(value); }
64 
69  inline void SetFailedRecordsS3Url(const char* value) { m_failedRecordsS3UrlHasBeenSet = true; m_failedRecordsS3Url.assign(value); }
70 
75  inline FailureInfo& WithFailedRecordsS3Url(const Aws::String& value) { SetFailedRecordsS3Url(value); return *this;}
76 
81  inline FailureInfo& WithFailedRecordsS3Url(Aws::String&& value) { SetFailedRecordsS3Url(std::move(value)); return *this;}
82 
87  inline FailureInfo& WithFailedRecordsS3Url(const char* value) { SetFailedRecordsS3Url(value); return *this;}
88 
89 
93  inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
94 
98  inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
99 
103  inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
104 
108  inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
109 
113  inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
114 
118  inline FailureInfo& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
119 
123  inline FailureInfo& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
124 
128  inline FailureInfo& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
129 
130  private:
131 
132  Aws::String m_failedRecordsS3Url;
133  bool m_failedRecordsS3UrlHasBeenSet;
134 
135  Aws::String m_errorMessage;
136  bool m_errorMessageHasBeenSet;
137  };
138 
139 } // namespace Model
140 } // namespace SESV2
141 } // namespace Aws
Aws::SESV2::Model::FailureInfo::ErrorMessageHasBeenSet
bool ErrorMessageHasBeenSet() const
Definition: FailureInfo.h:98
Aws::SESV2::Model::FailureInfo::FailureInfo
FailureInfo()
Aws::SESV2::Model::FailureInfo::SetErrorMessage
void SetErrorMessage(const Aws::String &value)
Definition: FailureInfo.h:103
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::FailureInfo::WithErrorMessage
FailureInfo & WithErrorMessage(const char *value)
Definition: FailureInfo.h:128
Aws::SESV2::Model::FailureInfo::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SESV2::Model::FailureInfo::SetErrorMessage
void SetErrorMessage(Aws::String &&value)
Definition: FailureInfo.h:108
Aws::SESV2::Model::FailureInfo::FailureInfo
FailureInfo(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::FailureInfo::WithFailedRecordsS3Url
FailureInfo & WithFailedRecordsS3Url(Aws::String &&value)
Definition: FailureInfo.h:81
Aws::SESV2::Model::FailureInfo::SetFailedRecordsS3Url
void SetFailedRecordsS3Url(Aws::String &&value)
Definition: FailureInfo.h:63
Aws::SESV2::Model::FailureInfo::SetErrorMessage
void SetErrorMessage(const char *value)
Definition: FailureInfo.h:113
Aws::SESV2::Model::FailureInfo::WithErrorMessage
FailureInfo & WithErrorMessage(Aws::String &&value)
Definition: FailureInfo.h:123
Aws::SESV2::Model::FailureInfo::SetFailedRecordsS3Url
void SetFailedRecordsS3Url(const char *value)
Definition: FailureInfo.h:69
Aws::SESV2::Model::FailureInfo::WithErrorMessage
FailureInfo & WithErrorMessage(const Aws::String &value)
Definition: FailureInfo.h:118
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
SESV2_EXPORTS.h
Aws::SESV2::Model::FailureInfo::GetFailedRecordsS3Url
const Aws::String & GetFailedRecordsS3Url() const
Definition: FailureInfo.h:45
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::FailureInfo::SetFailedRecordsS3Url
void SetFailedRecordsS3Url(const Aws::String &value)
Definition: FailureInfo.h:57
Aws::SESV2::Model::FailureInfo::WithFailedRecordsS3Url
FailureInfo & WithFailedRecordsS3Url(const char *value)
Definition: FailureInfo.h:87
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::FailureInfo::FailedRecordsS3UrlHasBeenSet
bool FailedRecordsS3UrlHasBeenSet() const
Definition: FailureInfo.h:51
Aws::SESV2::Model::FailureInfo::GetErrorMessage
const Aws::String & GetErrorMessage() const
Definition: FailureInfo.h:93
Aws::SESV2::Model::FailureInfo::operator=
FailureInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::FailureInfo::WithFailedRecordsS3Url
FailureInfo & WithFailedRecordsS3Url(const Aws::String &value)
Definition: FailureInfo.h:75
Aws::SESV2::Model::FailureInfo
Definition: FailureInfo.h:33