AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ErrorDetails.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/dms/model/DefaultErrorDetails.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 DatabaseMigrationService
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_DATABASEMIGRATIONSERVICE_API ErrorDetails() = default;
35 AWS_DATABASEMIGRATIONSERVICE_API ErrorDetails(Aws::Utils::Json::JsonView jsonValue);
36 AWS_DATABASEMIGRATIONSERVICE_API ErrorDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const DefaultErrorDetails& GetDefaultErrorDetails() const { return m_defaultErrorDetails; }
45 inline bool DefaultErrorDetailsHasBeenSet() const { return m_defaultErrorDetailsHasBeenSet; }
46 template<typename DefaultErrorDetailsT = DefaultErrorDetails>
47 void SetDefaultErrorDetails(DefaultErrorDetailsT&& value) { m_defaultErrorDetailsHasBeenSet = true; m_defaultErrorDetails = std::forward<DefaultErrorDetailsT>(value); }
48 template<typename DefaultErrorDetailsT = DefaultErrorDetails>
49 ErrorDetails& WithDefaultErrorDetails(DefaultErrorDetailsT&& value) { SetDefaultErrorDetails(std::forward<DefaultErrorDetailsT>(value)); return *this;}
51 private:
52
53 DefaultErrorDetails m_defaultErrorDetails;
54 bool m_defaultErrorDetailsHasBeenSet = false;
55 };
56
57} // namespace Model
58} // namespace DatabaseMigrationService
59} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API ErrorDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API ErrorDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const DefaultErrorDetails & GetDefaultErrorDetails() const
void SetDefaultErrorDetails(DefaultErrorDetailsT &&value)
AWS_DATABASEMIGRATIONSERVICE_API ErrorDetails()=default
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ErrorDetails & WithDefaultErrorDetails(DefaultErrorDetailsT &&value)
Aws::Utils::Json::JsonValue JsonValue