AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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); }
55 inline BatchUpdateRecommendationStatusSuccessfulEntry& WithEntryId(Aws::String&& value) { SetEntryId(std::move(value)); return *this;}
56 inline BatchUpdateRecommendationStatusSuccessfulEntry& 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
75 inline bool GetExcluded() const{ return m_excluded; }
76 inline bool ExcludedHasBeenSet() const { return m_excludedHasBeenSet; }
77 inline void SetExcluded(bool value) { m_excludedHasBeenSet = true; m_excluded = value; }
78 inline BatchUpdateRecommendationStatusSuccessfulEntry& WithExcluded(bool value) { SetExcluded(value); return *this;}
80
82
85 inline const UpdateRecommendationStatusItem& GetItem() const{ return m_item; }
86 inline bool ItemHasBeenSet() const { return m_itemHasBeenSet; }
87 inline void SetItem(const UpdateRecommendationStatusItem& value) { m_itemHasBeenSet = true; m_item = value; }
88 inline void SetItem(UpdateRecommendationStatusItem&& value) { m_itemHasBeenSet = true; m_item = std::move(value); }
92
94
97 inline const Aws::String& GetReferenceId() const{ return m_referenceId; }
98 inline bool ReferenceIdHasBeenSet() const { return m_referenceIdHasBeenSet; }
99 inline void SetReferenceId(const Aws::String& value) { m_referenceIdHasBeenSet = true; m_referenceId = value; }
100 inline void SetReferenceId(Aws::String&& value) { m_referenceIdHasBeenSet = true; m_referenceId = std::move(value); }
101 inline void SetReferenceId(const char* value) { m_referenceIdHasBeenSet = true; m_referenceId.assign(value); }
104 inline BatchUpdateRecommendationStatusSuccessfulEntry& WithReferenceId(const char* value) { SetReferenceId(value); return *this;}
106 private:
107
108 Aws::String m_entryId;
109 bool m_entryIdHasBeenSet = false;
110
111 ExcludeRecommendationReason m_excludeReason;
112 bool m_excludeReasonHasBeenSet = false;
113
114 bool m_excluded;
115 bool m_excludedHasBeenSet = false;
116
118 bool m_itemHasBeenSet = false;
119
120 Aws::String m_referenceId;
121 bool m_referenceIdHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace ResilienceHub
126} // namespace Aws
bool EntryIdHasBeenSet() const
void SetExcluded(bool value)
BatchUpdateRecommendationStatusSuccessfulEntry & WithReferenceId(const char *value)
bool ReferenceIdHasBeenSet() const
BatchUpdateRecommendationStatusSuccessfulEntry & WithEntryId(Aws::String &&value)
BatchUpdateRecommendationStatusSuccessfulEntry & WithEntryId(const Aws::String &value)
void SetExcludeReason(const ExcludeRecommendationReason &value)
void SetEntryId(Aws::String &&value)
void SetReferenceId(const Aws::String &value)
void SetExcludeReason(ExcludeRecommendationReason &&value)
BatchUpdateRecommendationStatusSuccessfulEntry & WithExcludeReason(const ExcludeRecommendationReason &value)
void SetEntryId(const char *value)
const ExcludeRecommendationReason & GetExcludeReason() const
AWS_RESILIENCEHUB_API BatchUpdateRecommendationStatusSuccessfulEntry(Aws::Utils::Json::JsonView jsonValue)
BatchUpdateRecommendationStatusSuccessfulEntry & WithItem(UpdateRecommendationStatusItem &&value)
bool ItemHasBeenSet() const
const UpdateRecommendationStatusItem & GetItem() const
void SetItem(UpdateRecommendationStatusItem &&value)
BatchUpdateRecommendationStatusSuccessfulEntry & WithEntryId(const char *value)
AWS_RESILIENCEHUB_API BatchUpdateRecommendationStatusSuccessfulEntry()
bool GetExcluded() const
BatchUpdateRecommendationStatusSuccessfulEntry & WithReferenceId(const Aws::String &value)
BatchUpdateRecommendationStatusSuccessfulEntry & WithExcluded(bool value)
bool ExcludeReasonHasBeenSet() const
BatchUpdateRecommendationStatusSuccessfulEntry & WithExcludeReason(ExcludeRecommendationReason &&value)
BatchUpdateRecommendationStatusSuccessfulEntry & WithItem(const UpdateRecommendationStatusItem &value)
AWS_RESILIENCEHUB_API BatchUpdateRecommendationStatusSuccessfulEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetEntryId() const
void SetReferenceId(const char *value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
bool ExcludedHasBeenSet() const
const Aws::String & GetReferenceId() const
void SetItem(const UpdateRecommendationStatusItem &value)
BatchUpdateRecommendationStatusSuccessfulEntry & WithReferenceId(Aws::String &&value)
void SetEntryId(const Aws::String &value)
void SetReferenceId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue