AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FailedItem.h
1
6#pragma once
7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/fms/model/FailedItemReason.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 FMS
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_FMS_API FailedItem();
37 AWS_FMS_API FailedItem(Aws::Utils::Json::JsonView jsonValue);
40
41
43
46 inline const Aws::String& GetURI() const{ return m_uRI; }
47 inline bool URIHasBeenSet() const { return m_uRIHasBeenSet; }
48 inline void SetURI(const Aws::String& value) { m_uRIHasBeenSet = true; m_uRI = value; }
49 inline void SetURI(Aws::String&& value) { m_uRIHasBeenSet = true; m_uRI = std::move(value); }
50 inline void SetURI(const char* value) { m_uRIHasBeenSet = true; m_uRI.assign(value); }
51 inline FailedItem& WithURI(const Aws::String& value) { SetURI(value); return *this;}
52 inline FailedItem& WithURI(Aws::String&& value) { SetURI(std::move(value)); return *this;}
53 inline FailedItem& WithURI(const char* value) { SetURI(value); return *this;}
55
57
60 inline const FailedItemReason& GetReason() const{ return m_reason; }
61 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
62 inline void SetReason(const FailedItemReason& value) { m_reasonHasBeenSet = true; m_reason = value; }
63 inline void SetReason(FailedItemReason&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
64 inline FailedItem& WithReason(const FailedItemReason& value) { SetReason(value); return *this;}
65 inline FailedItem& WithReason(FailedItemReason&& value) { SetReason(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_uRI;
70 bool m_uRIHasBeenSet = false;
71
72 FailedItemReason m_reason;
73 bool m_reasonHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace FMS
78} // namespace Aws
const FailedItemReason & GetReason() const
Definition FailedItem.h:60
bool ReasonHasBeenSet() const
Definition FailedItem.h:61
FailedItem & WithReason(FailedItemReason &&value)
Definition FailedItem.h:65
void SetReason(const FailedItemReason &value)
Definition FailedItem.h:62
void SetReason(FailedItemReason &&value)
Definition FailedItem.h:63
void SetURI(const char *value)
Definition FailedItem.h:50
void SetURI(const Aws::String &value)
Definition FailedItem.h:48
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FMS_API FailedItem(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetURI() const
Definition FailedItem.h:46
void SetURI(Aws::String &&value)
Definition FailedItem.h:49
AWS_FMS_API FailedItem & operator=(Aws::Utils::Json::JsonView jsonValue)
FailedItem & WithURI(const Aws::String &value)
Definition FailedItem.h:51
FailedItem & WithURI(const char *value)
Definition FailedItem.h:53
FailedItem & WithReason(const FailedItemReason &value)
Definition FailedItem.h:64
FailedItem & WithURI(Aws::String &&value)
Definition FailedItem.h:52
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue