AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
40 AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::String& GetEntryId() const{ return m_entryId; }
50 inline bool EntryIdHasBeenSet() const { return m_entryIdHasBeenSet; }
51 inline void SetEntryId(const Aws::String& value) { m_entryIdHasBeenSet = true; m_entryId = value; }
52 inline void SetEntryId(Aws::String&& value) { m_entryIdHasBeenSet = true; m_entryId = std::move(value); }
53 inline void SetEntryId(const char* value) { m_entryIdHasBeenSet = true; m_entryId.assign(value); }
54 inline UpdateRecommendationStatusRequestEntry& WithEntryId(const Aws::String& value) { SetEntryId(value); return *this;}
55 inline UpdateRecommendationStatusRequestEntry& WithEntryId(Aws::String&& value) { SetEntryId(std::move(value)); return *this;}
56 inline UpdateRecommendationStatusRequestEntry& WithEntryId(const char* value) { SetEntryId(value); return *this;}
58
60
63 inline const ExcludeRecommendationReason& GetExcludeReason() const{ return m_excludeReason; }
64 inline bool ExcludeReasonHasBeenSet() const { return m_excludeReasonHasBeenSet; }
65 inline void SetExcludeReason(const ExcludeRecommendationReason& value) { m_excludeReasonHasBeenSet = true; m_excludeReason = value; }
66 inline void SetExcludeReason(ExcludeRecommendationReason&& value) { m_excludeReasonHasBeenSet = true; m_excludeReason = std::move(value); }
70
72
76 inline bool GetExcluded() const{ return m_excluded; }
77 inline bool ExcludedHasBeenSet() const { return m_excludedHasBeenSet; }
78 inline void SetExcluded(bool value) { m_excludedHasBeenSet = true; m_excluded = value; }
79 inline UpdateRecommendationStatusRequestEntry& WithExcluded(bool value) { SetExcluded(value); return *this;}
81
83
86 inline const UpdateRecommendationStatusItem& GetItem() const{ return m_item; }
87 inline bool ItemHasBeenSet() const { return m_itemHasBeenSet; }
88 inline void SetItem(const UpdateRecommendationStatusItem& value) { m_itemHasBeenSet = true; m_item = value; }
89 inline void SetItem(UpdateRecommendationStatusItem&& value) { m_itemHasBeenSet = true; m_item = std::move(value); }
93
95
98 inline const Aws::String& GetReferenceId() const{ return m_referenceId; }
99 inline bool ReferenceIdHasBeenSet() const { return m_referenceIdHasBeenSet; }
100 inline void SetReferenceId(const Aws::String& value) { m_referenceIdHasBeenSet = true; m_referenceId = value; }
101 inline void SetReferenceId(Aws::String&& value) { m_referenceIdHasBeenSet = true; m_referenceId = std::move(value); }
102 inline void SetReferenceId(const char* value) { m_referenceIdHasBeenSet = true; m_referenceId.assign(value); }
104 inline UpdateRecommendationStatusRequestEntry& WithReferenceId(Aws::String&& value) { SetReferenceId(std::move(value)); return *this;}
105 inline UpdateRecommendationStatusRequestEntry& WithReferenceId(const char* value) { SetReferenceId(value); return *this;}
107 private:
108
109 Aws::String m_entryId;
110 bool m_entryIdHasBeenSet = false;
111
112 ExcludeRecommendationReason m_excludeReason;
113 bool m_excludeReasonHasBeenSet = false;
114
115 bool m_excluded;
116 bool m_excludedHasBeenSet = false;
117
119 bool m_itemHasBeenSet = false;
120
121 Aws::String m_referenceId;
122 bool m_referenceIdHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace ResilienceHub
127} // namespace Aws
void SetEntryId(const char *value)
void SetExcluded(bool value)
const Aws::String & GetEntryId() const
bool ExcludedHasBeenSet() const
UpdateRecommendationStatusRequestEntry & WithExcludeReason(const ExcludeRecommendationReason &value)
bool ExcludeReasonHasBeenSet() const
const ExcludeRecommendationReason & GetExcludeReason() const
bool EntryIdHasBeenSet() const
AWS_RESILIENCEHUB_API UpdateRecommendationStatusRequestEntry(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUB_API UpdateRecommendationStatusRequestEntry()
void SetReferenceId(const Aws::String &value)
const Aws::String & GetReferenceId() const
UpdateRecommendationStatusRequestEntry & WithExcludeReason(ExcludeRecommendationReason &&value)
void SetItem(const UpdateRecommendationStatusItem &value)
const UpdateRecommendationStatusItem & GetItem() const
UpdateRecommendationStatusRequestEntry & WithEntryId(Aws::String &&value)
UpdateRecommendationStatusRequestEntry & WithReferenceId(Aws::String &&value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
bool ItemHasBeenSet() const
UpdateRecommendationStatusRequestEntry & WithItem(const UpdateRecommendationStatusItem &value)
UpdateRecommendationStatusRequestEntry & WithReferenceId(const Aws::String &value)
UpdateRecommendationStatusRequestEntry & WithEntryId(const char *value)
UpdateRecommendationStatusRequestEntry & WithItem(UpdateRecommendationStatusItem &&value)
UpdateRecommendationStatusRequestEntry & WithExcluded(bool value)
UpdateRecommendationStatusRequestEntry & WithEntryId(const Aws::String &value)
void SetReferenceId(Aws::String &&value)
void SetExcludeReason(const ExcludeRecommendationReason &value)
void SetEntryId(const Aws::String &value)
AWS_RESILIENCEHUB_API UpdateRecommendationStatusRequestEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GetExcluded() const
void SetEntryId(Aws::String &&value)
void SetItem(UpdateRecommendationStatusItem &&value)
UpdateRecommendationStatusRequestEntry & WithReferenceId(const char *value)
bool ReferenceIdHasBeenSet() const
void SetExcludeReason(ExcludeRecommendationReason &&value)
void SetReferenceId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue