AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
RejectGroupingRecommendationEntry.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
9#include <aws/resiliencehub/model/GroupingRecommendationRejectionReason.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ResilienceHub {
21namespace Model {
22
29 public:
30 AWS_RESILIENCEHUB_API RejectGroupingRecommendationEntry() = default;
33 AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetGroupingRecommendationId() const { return m_groupingRecommendationId; }
40 inline bool GroupingRecommendationIdHasBeenSet() const { return m_groupingRecommendationIdHasBeenSet; }
41 template <typename GroupingRecommendationIdT = Aws::String>
42 void SetGroupingRecommendationId(GroupingRecommendationIdT&& value) {
43 m_groupingRecommendationIdHasBeenSet = true;
44 m_groupingRecommendationId = std::forward<GroupingRecommendationIdT>(value);
45 }
46 template <typename GroupingRecommendationIdT = Aws::String>
48 SetGroupingRecommendationId(std::forward<GroupingRecommendationIdT>(value));
49 return *this;
50 }
52
54
58 inline GroupingRecommendationRejectionReason GetRejectionReason() const { return m_rejectionReason; }
59 inline bool RejectionReasonHasBeenSet() const { return m_rejectionReasonHasBeenSet; }
61 m_rejectionReasonHasBeenSet = true;
62 m_rejectionReason = value;
63 }
65 SetRejectionReason(value);
66 return *this;
67 }
69 private:
70 Aws::String m_groupingRecommendationId;
71
73 bool m_groupingRecommendationIdHasBeenSet = false;
74 bool m_rejectionReasonHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace ResilienceHub
79} // namespace Aws
void SetGroupingRecommendationId(GroupingRecommendationIdT &&value)
GroupingRecommendationRejectionReason GetRejectionReason() const
void SetRejectionReason(GroupingRecommendationRejectionReason value)
bool RejectionReasonHasBeenSet() const
const Aws::String & GetGroupingRecommendationId() const
bool GroupingRecommendationIdHasBeenSet() const
RejectGroupingRecommendationEntry & WithRejectionReason(GroupingRecommendationRejectionReason value)
RejectGroupingRecommendationEntry & WithGroupingRecommendationId(GroupingRecommendationIdT &&value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_RESILIENCEHUB_API RejectGroupingRecommendationEntry(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUB_API RejectGroupingRecommendationEntry()=default
AWS_RESILIENCEHUB_API RejectGroupingRecommendationEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue