AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
FailureDescription.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/firehose/Firehose_EXPORTS.h>
9#include <aws/firehose/model/DeliveryStreamFailureType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Firehose {
21namespace Model {
22
32 public:
33 AWS_FIREHOSE_API FailureDescription() = default;
36 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline DeliveryStreamFailureType GetType() const { return m_type; }
43 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
45 m_typeHasBeenSet = true;
46 m_type = value;
47 }
49 SetType(value);
50 return *this;
51 }
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) {
62 m_detailsHasBeenSet = true;
63 m_details = std::forward<DetailsT>(value);
64 }
65 template <typename DetailsT = Aws::String>
66 FailureDescription& WithDetails(DetailsT&& value) {
67 SetDetails(std::forward<DetailsT>(value));
68 return *this;
69 }
71 private:
73
74 Aws::String m_details;
75 bool m_typeHasBeenSet = false;
76 bool m_detailsHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Firehose
81} // 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