AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
41 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const DeliveryStreamFailureType& GetType() const{ return m_type; }
49 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
50 inline void SetType(const DeliveryStreamFailureType& value) { m_typeHasBeenSet = true; m_type = value; }
51 inline void SetType(DeliveryStreamFailureType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
52 inline FailureDescription& WithType(const DeliveryStreamFailureType& value) { SetType(value); return *this;}
53 inline FailureDescription& WithType(DeliveryStreamFailureType&& value) { SetType(std::move(value)); return *this;}
55
57
60 inline const Aws::String& GetDetails() const{ return m_details; }
61 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
62 inline void SetDetails(const Aws::String& value) { m_detailsHasBeenSet = true; m_details = value; }
63 inline void SetDetails(Aws::String&& value) { m_detailsHasBeenSet = true; m_details = std::move(value); }
64 inline void SetDetails(const char* value) { m_detailsHasBeenSet = true; m_details.assign(value); }
65 inline FailureDescription& WithDetails(const Aws::String& value) { SetDetails(value); return *this;}
66 inline FailureDescription& WithDetails(Aws::String&& value) { SetDetails(std::move(value)); return *this;}
67 inline FailureDescription& WithDetails(const char* value) { SetDetails(value); return *this;}
69 private:
70
72 bool m_typeHasBeenSet = false;
73
74 Aws::String m_details;
75 bool m_detailsHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Firehose
80} // namespace Aws
FailureDescription & WithType(const DeliveryStreamFailureType &value)
FailureDescription & WithDetails(const Aws::String &value)
FailureDescription & WithDetails(const char *value)
AWS_FIREHOSE_API FailureDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
FailureDescription & WithType(DeliveryStreamFailureType &&value)
AWS_FIREHOSE_API FailureDescription(Aws::Utils::Json::JsonView jsonValue)
FailureDescription & WithDetails(Aws::String &&value)
const DeliveryStreamFailureType & GetType() const
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(const DeliveryStreamFailureType &value)
void SetDetails(const Aws::String &value)
void SetType(DeliveryStreamFailureType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue