AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BatchUpdateRecommendationStatusSuccessfulEntry.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 BatchUpdateRecommendationStatusSuccessfulEntry() = 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 BatchUpdateRecommendationStatusSuccessfulEntry& 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 BatchUpdateRecommendationStatusSuccessfulEntry& 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
83 inline bool GetExcluded() const { return m_excluded; }
84 inline bool ExcludedHasBeenSet() const { return m_excludedHasBeenSet; }
85 inline void SetExcluded(bool value) { m_excludedHasBeenSet = true; m_excluded = value; }
86 inline BatchUpdateRecommendationStatusSuccessfulEntry& WithExcluded(bool value) { SetExcluded(value); return *this;}
88
90
93 inline const UpdateRecommendationStatusItem& GetItem() const { return m_item; }
94 inline bool ItemHasBeenSet() const { return m_itemHasBeenSet; }
95 template<typename ItemT = UpdateRecommendationStatusItem>
96 void SetItem(ItemT&& value) { m_itemHasBeenSet = true; m_item = std::forward<ItemT>(value); }
97 template<typename ItemT = UpdateRecommendationStatusItem>
98 BatchUpdateRecommendationStatusSuccessfulEntry& WithItem(ItemT&& value) { SetItem(std::forward<ItemT>(value)); return *this;}
100
102
105 inline const Aws::String& GetReferenceId() const { return m_referenceId; }
106 inline bool ReferenceIdHasBeenSet() const { return m_referenceIdHasBeenSet; }
107 template<typename ReferenceIdT = Aws::String>
108 void SetReferenceId(ReferenceIdT&& value) { m_referenceIdHasBeenSet = true; m_referenceId = std::forward<ReferenceIdT>(value); }
109 template<typename ReferenceIdT = Aws::String>
110 BatchUpdateRecommendationStatusSuccessfulEntry& WithReferenceId(ReferenceIdT&& value) { SetReferenceId(std::forward<ReferenceIdT>(value)); return *this;}
112 private:
113
114 Aws::String m_appComponentId;
115 bool m_appComponentIdHasBeenSet = false;
116
117 Aws::String m_entryId;
118 bool m_entryIdHasBeenSet = false;
119
121 bool m_excludeReasonHasBeenSet = false;
122
123 bool m_excluded{false};
124 bool m_excludedHasBeenSet = false;
125
126 UpdateRecommendationStatusItem m_item;
127 bool m_itemHasBeenSet = false;
128
129 Aws::String m_referenceId;
130 bool m_referenceIdHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace ResilienceHub
135} // namespace Aws
bool EntryIdHasBeenSet() const
void SetExcluded(bool value)
bool ReferenceIdHasBeenSet() const
bool AppComponentIdHasBeenSet() const
void SetReferenceId(ReferenceIdT &&value)
const Aws::String & GetAppComponentId() const
ExcludeRecommendationReason GetExcludeReason() const
void SetAppComponentId(AppComponentIdT &&value)
AWS_RESILIENCEHUB_API BatchUpdateRecommendationStatusSuccessfulEntry(Aws::Utils::Json::JsonView jsonValue)
BatchUpdateRecommendationStatusSuccessfulEntry & WithEntryId(EntryIdT &&value)
bool ItemHasBeenSet() const
const UpdateRecommendationStatusItem & GetItem() const
BatchUpdateRecommendationStatusSuccessfulEntry & WithReferenceId(ReferenceIdT &&value)
BatchUpdateRecommendationStatusSuccessfulEntry & WithExcludeReason(ExcludeRecommendationReason value)
BatchUpdateRecommendationStatusSuccessfulEntry & WithAppComponentId(AppComponentIdT &&value)
bool GetExcluded() const
AWS_RESILIENCEHUB_API BatchUpdateRecommendationStatusSuccessfulEntry()=default
BatchUpdateRecommendationStatusSuccessfulEntry & WithExcluded(bool value)
bool ExcludeReasonHasBeenSet() const
void SetEntryId(EntryIdT &&value)
AWS_RESILIENCEHUB_API BatchUpdateRecommendationStatusSuccessfulEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetEntryId() const
BatchUpdateRecommendationStatusSuccessfulEntry & WithItem(ItemT &&value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
bool ExcludedHasBeenSet() const
const Aws::String & GetReferenceId() const
void SetItem(ItemT &&value)
void SetExcludeReason(ExcludeRecommendationReason value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue