AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
FailureDescription.h
1
6#pragma once
7#include <aws/firehose/Firehose_EXPORTS.h>
8#include <aws/firehose/model/DeliveryStreamFailureType.h>
9#include <aws/core/utils/memory/stl/AWSString.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 Firehose
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_FIREHOSE_API FailureDescription() = default;
41 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline DeliveryStreamFailureType GetType() const { return m_type; }
49 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
50 inline void SetType(DeliveryStreamFailureType value) { m_typeHasBeenSet = true; m_type = value; }
51 inline FailureDescription& WithType(DeliveryStreamFailureType value) { SetType(value); return *this;}
53
55
58 inline const Aws::String& GetDetails() const { return m_details; }
59 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
60 template<typename DetailsT = Aws::String>
61 void SetDetails(DetailsT&& value) { m_detailsHasBeenSet = true; m_details = std::forward<DetailsT>(value); }
62 template<typename DetailsT = Aws::String>
63 FailureDescription& WithDetails(DetailsT&& value) { SetDetails(std::forward<DetailsT>(value)); return *this;}
65 private:
66
68 bool m_typeHasBeenSet = false;
69
70 Aws::String m_details;
71 bool m_detailsHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Firehose
76} // namespace Aws
AWS_FIREHOSE_API FailureDescription()=default
AWS_FIREHOSE_API FailureDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API FailureDescription(Aws::Utils::Json::JsonView jsonValue)
void SetType(DeliveryStreamFailureType value)
FailureDescription & WithDetails(DetailsT &&value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
DeliveryStreamFailureType GetType() const
FailureDescription & WithType(DeliveryStreamFailureType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue