AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateRecommendationStatusRequestEntry.h
1
6#pragma once
7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/resiliencehub/model/ExcludeRecommendationReason.h>
10#include <aws/resiliencehub/model/UpdateRecommendationStatusItem.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ResilienceHub
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_RESILIENCEHUB_API UpdateRecommendationStatusRequestEntry() = default;
40 AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetAppComponentId() const { return m_appComponentId; }
48 inline bool AppComponentIdHasBeenSet() const { return m_appComponentIdHasBeenSet; }
49 template<typename AppComponentIdT = Aws::String>
50 void SetAppComponentId(AppComponentIdT&& value) { m_appComponentIdHasBeenSet = true; m_appComponentId = std::forward<AppComponentIdT>(value); }
51 template<typename AppComponentIdT = Aws::String>
52 UpdateRecommendationStatusRequestEntry& WithAppComponentId(AppComponentIdT&& value) { SetAppComponentId(std::forward<AppComponentIdT>(value)); return *this;}
54
56
61 inline const Aws::String& GetEntryId() const { return m_entryId; }
62 inline bool EntryIdHasBeenSet() const { return m_entryIdHasBeenSet; }
63 template<typename EntryIdT = Aws::String>
64 void SetEntryId(EntryIdT&& value) { m_entryIdHasBeenSet = true; m_entryId = std::forward<EntryIdT>(value); }
65 template<typename EntryIdT = Aws::String>
66 UpdateRecommendationStatusRequestEntry& WithEntryId(EntryIdT&& value) { SetEntryId(std::forward<EntryIdT>(value)); return *this;}
68
70
73 inline ExcludeRecommendationReason GetExcludeReason() const { return m_excludeReason; }
74 inline bool ExcludeReasonHasBeenSet() const { return m_excludeReasonHasBeenSet; }
75 inline void SetExcludeReason(ExcludeRecommendationReason value) { m_excludeReasonHasBeenSet = true; m_excludeReason = value; }
78
80
84 inline bool GetExcluded() const { return m_excluded; }
85 inline bool ExcludedHasBeenSet() const { return m_excludedHasBeenSet; }
86 inline void SetExcluded(bool value) { m_excludedHasBeenSet = true; m_excluded = value; }
87 inline UpdateRecommendationStatusRequestEntry& WithExcluded(bool value) { SetExcluded(value); return *this;}
89
91
94 inline const UpdateRecommendationStatusItem& GetItem() const { return m_item; }
95 inline bool ItemHasBeenSet() const { return m_itemHasBeenSet; }
96 template<typename ItemT = UpdateRecommendationStatusItem>
97 void SetItem(ItemT&& value) { m_itemHasBeenSet = true; m_item = std::forward<ItemT>(value); }
98 template<typename ItemT = UpdateRecommendationStatusItem>
99 UpdateRecommendationStatusRequestEntry& WithItem(ItemT&& value) { SetItem(std::forward<ItemT>(value)); return *this;}
101
103
106 inline const Aws::String& GetReferenceId() const { return m_referenceId; }
107 inline bool ReferenceIdHasBeenSet() const { return m_referenceIdHasBeenSet; }
108 template<typename ReferenceIdT = Aws::String>
109 void SetReferenceId(ReferenceIdT&& value) { m_referenceIdHasBeenSet = true; m_referenceId = std::forward<ReferenceIdT>(value); }
110 template<typename ReferenceIdT = Aws::String>
111 UpdateRecommendationStatusRequestEntry& WithReferenceId(ReferenceIdT&& value) { SetReferenceId(std::forward<ReferenceIdT>(value)); return *this;}
113 private:
114
115 Aws::String m_appComponentId;
116 bool m_appComponentIdHasBeenSet = false;
117
118 Aws::String m_entryId;
119 bool m_entryIdHasBeenSet = false;
120
122 bool m_excludeReasonHasBeenSet = false;
123
124 bool m_excluded{false};
125 bool m_excludedHasBeenSet = false;
126
127 UpdateRecommendationStatusItem m_item;
128 bool m_itemHasBeenSet = false;
129
130 Aws::String m_referenceId;
131 bool m_referenceIdHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace ResilienceHub
136} // namespace Aws
void SetExcludeReason(ExcludeRecommendationReason value)
void SetExcluded(bool value)
const Aws::String & GetEntryId() const
void SetAppComponentId(AppComponentIdT &&value)
UpdateRecommendationStatusRequestEntry & WithReferenceId(ReferenceIdT &&value)
bool ExcludedHasBeenSet() const
bool ExcludeReasonHasBeenSet() const
bool EntryIdHasBeenSet() const
AWS_RESILIENCEHUB_API UpdateRecommendationStatusRequestEntry(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetReferenceId() const
void SetItem(ItemT &&value)
const UpdateRecommendationStatusItem & GetItem() const
const Aws::String & GetAppComponentId() const
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
bool ItemHasBeenSet() const
UpdateRecommendationStatusRequestEntry & WithExcludeReason(ExcludeRecommendationReason value)
UpdateRecommendationStatusRequestEntry & WithAppComponentId(AppComponentIdT &&value)
UpdateRecommendationStatusRequestEntry & WithExcluded(bool value)
UpdateRecommendationStatusRequestEntry & WithEntryId(EntryIdT &&value)
ExcludeRecommendationReason GetExcludeReason() const
UpdateRecommendationStatusRequestEntry & WithItem(ItemT &&value)
AWS_RESILIENCEHUB_API UpdateRecommendationStatusRequestEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUB_API UpdateRecommendationStatusRequestEntry()=default
bool GetExcluded() const
void SetEntryId(EntryIdT &&value)
bool ReferenceIdHasBeenSet() const
void SetReferenceId(ReferenceIdT &&value)
bool AppComponentIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue