AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WAFEntityMigrationException.h
1
6#pragma once
7#include <aws/waf/WAF_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/waf/model/MigrationErrorType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace WAF
23{
24namespace Model
25{
26
46 {
47 public:
52
53
55
56 inline const Aws::String& GetMessage() const{ return m_message; }
57 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
58 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
59 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
60 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
61 inline WAFEntityMigrationException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
62 inline WAFEntityMigrationException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
63 inline WAFEntityMigrationException& WithMessage(const char* value) { SetMessage(value); return *this;}
65
67
68 inline const MigrationErrorType& GetMigrationErrorType() const{ return m_migrationErrorType; }
69 inline bool MigrationErrorTypeHasBeenSet() const { return m_migrationErrorTypeHasBeenSet; }
70 inline void SetMigrationErrorType(const MigrationErrorType& value) { m_migrationErrorTypeHasBeenSet = true; m_migrationErrorType = value; }
71 inline void SetMigrationErrorType(MigrationErrorType&& value) { m_migrationErrorTypeHasBeenSet = true; m_migrationErrorType = std::move(value); }
75
77
78 inline const Aws::String& GetMigrationErrorReason() const{ return m_migrationErrorReason; }
79 inline bool MigrationErrorReasonHasBeenSet() const { return m_migrationErrorReasonHasBeenSet; }
80 inline void SetMigrationErrorReason(const Aws::String& value) { m_migrationErrorReasonHasBeenSet = true; m_migrationErrorReason = value; }
81 inline void SetMigrationErrorReason(Aws::String&& value) { m_migrationErrorReasonHasBeenSet = true; m_migrationErrorReason = std::move(value); }
82 inline void SetMigrationErrorReason(const char* value) { m_migrationErrorReasonHasBeenSet = true; m_migrationErrorReason.assign(value); }
85 inline WAFEntityMigrationException& WithMigrationErrorReason(const char* value) { SetMigrationErrorReason(value); return *this;}
87 private:
88
89 Aws::String m_message;
90 bool m_messageHasBeenSet = false;
91
92 MigrationErrorType m_migrationErrorType;
93 bool m_migrationErrorTypeHasBeenSet = false;
94
95 Aws::String m_migrationErrorReason;
96 bool m_migrationErrorReasonHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace WAF
101} // namespace Aws
WAFEntityMigrationException & WithMessage(Aws::String &&value)
WAFEntityMigrationException & WithMessage(const char *value)
WAFEntityMigrationException & WithMigrationErrorType(const MigrationErrorType &value)
AWS_WAF_API WAFEntityMigrationException(Aws::Utils::Json::JsonView jsonValue)
WAFEntityMigrationException & WithMigrationErrorType(MigrationErrorType &&value)
WAFEntityMigrationException & WithMigrationErrorReason(const char *value)
WAFEntityMigrationException & WithMessage(const Aws::String &value)
void SetMigrationErrorType(const MigrationErrorType &value)
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WAF_API WAFEntityMigrationException & operator=(Aws::Utils::Json::JsonView jsonValue)
WAFEntityMigrationException & WithMigrationErrorReason(const Aws::String &value)
const MigrationErrorType & GetMigrationErrorType() const
WAFEntityMigrationException & WithMigrationErrorReason(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue