AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RejectGroupingRecommendationEntry.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/GroupingRecommendationRejectionReason.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 ResilienceHub
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_RESILIENCEHUB_API RejectGroupingRecommendationEntry();
38 AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetGroupingRecommendationId() const{ return m_groupingRecommendationId; }
46 inline bool GroupingRecommendationIdHasBeenSet() const { return m_groupingRecommendationIdHasBeenSet; }
47 inline void SetGroupingRecommendationId(const Aws::String& value) { m_groupingRecommendationIdHasBeenSet = true; m_groupingRecommendationId = value; }
48 inline void SetGroupingRecommendationId(Aws::String&& value) { m_groupingRecommendationIdHasBeenSet = true; m_groupingRecommendationId = std::move(value); }
49 inline void SetGroupingRecommendationId(const char* value) { m_groupingRecommendationIdHasBeenSet = true; m_groupingRecommendationId.assign(value); }
54
56
60 inline const GroupingRecommendationRejectionReason& GetRejectionReason() const{ return m_rejectionReason; }
61 inline bool RejectionReasonHasBeenSet() const { return m_rejectionReasonHasBeenSet; }
62 inline void SetRejectionReason(const GroupingRecommendationRejectionReason& value) { m_rejectionReasonHasBeenSet = true; m_rejectionReason = value; }
63 inline void SetRejectionReason(GroupingRecommendationRejectionReason&& value) { m_rejectionReasonHasBeenSet = true; m_rejectionReason = std::move(value); }
67 private:
68
69 Aws::String m_groupingRecommendationId;
70 bool m_groupingRecommendationIdHasBeenSet = false;
71
73 bool m_rejectionReasonHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace ResilienceHub
78} // namespace Aws
void SetGroupingRecommendationId(const Aws::String &value)
RejectGroupingRecommendationEntry & WithRejectionReason(const GroupingRecommendationRejectionReason &value)
RejectGroupingRecommendationEntry & WithRejectionReason(GroupingRecommendationRejectionReason &&value)
bool RejectionReasonHasBeenSet() const
const Aws::String & GetGroupingRecommendationId() const
bool GroupingRecommendationIdHasBeenSet() const
const GroupingRecommendationRejectionReason & GetRejectionReason() const
RejectGroupingRecommendationEntry & WithGroupingRecommendationId(const Aws::String &value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
RejectGroupingRecommendationEntry & WithGroupingRecommendationId(const char *value)
RejectGroupingRecommendationEntry & WithGroupingRecommendationId(Aws::String &&value)
void SetGroupingRecommendationId(const char *value)
AWS_RESILIENCEHUB_API RejectGroupingRecommendationEntry(Aws::Utils::Json::JsonView jsonValue)
void SetGroupingRecommendationId(Aws::String &&value)
void SetRejectionReason(const GroupingRecommendationRejectionReason &value)
void SetRejectionReason(GroupingRecommendationRejectionReason &&value)
AWS_RESILIENCEHUB_API RejectGroupingRecommendationEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUB_API RejectGroupingRecommendationEntry()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue