AWS SDK for C++

AWS SDK for C++ Version 1.11.868

Loading...
Searching...
No Matches
PutAgentRecommendationFeedbackRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wellarchitected/WellArchitectedRequest.h>
9#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
10#include <aws/wellarchitected/model/FeedbackCategory.h>
11#include <aws/wellarchitected/model/RecommendationFeedbackType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace WellArchitected {
17namespace Model {
18
22 public:
23 AWS_WELLARCHITECTED_API PutAgentRecommendationFeedbackRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "PutAgentRecommendationFeedback"; }
30
31 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::String& GetRecommendationArn() const { return m_recommendationArn; }
39 inline bool RecommendationArnHasBeenSet() const { return m_recommendationArnHasBeenSet; }
40 template <typename RecommendationArnT = Aws::String>
41 void SetRecommendationArn(RecommendationArnT&& value) {
42 m_recommendationArnHasBeenSet = true;
43 m_recommendationArn = std::forward<RecommendationArnT>(value);
44 }
45 template <typename RecommendationArnT = Aws::String>
47 SetRecommendationArn(std::forward<RecommendationArnT>(value));
48 return *this;
49 }
51
53
56 inline RecommendationFeedbackType GetType() const { return m_type; }
57 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
59 m_typeHasBeenSet = true;
60 m_type = value;
61 }
63 SetType(value);
64 return *this;
65 }
67
69
72 inline FeedbackCategory GetFeedbackCategory() const { return m_feedbackCategory; }
73 inline bool FeedbackCategoryHasBeenSet() const { return m_feedbackCategoryHasBeenSet; }
75 m_feedbackCategoryHasBeenSet = true;
76 m_feedbackCategory = value;
77 }
80 return *this;
81 }
83
85
88 inline const Aws::String& GetComments() const { return m_comments; }
89 inline bool CommentsHasBeenSet() const { return m_commentsHasBeenSet; }
90 template <typename CommentsT = Aws::String>
91 void SetComments(CommentsT&& value) {
92 m_commentsHasBeenSet = true;
93 m_comments = std::forward<CommentsT>(value);
94 }
95 template <typename CommentsT = Aws::String>
97 SetComments(std::forward<CommentsT>(value));
98 return *this;
99 }
101 private:
102 Aws::String m_recommendationArn;
103
105
107
108 Aws::String m_comments;
109 bool m_recommendationArnHasBeenSet = false;
110 bool m_typeHasBeenSet = false;
111 bool m_feedbackCategoryHasBeenSet = false;
112 bool m_commentsHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace WellArchitected
117} // namespace Aws
PutAgentRecommendationFeedbackRequest & WithRecommendationArn(RecommendationArnT &&value)
AWS_WELLARCHITECTED_API PutAgentRecommendationFeedbackRequest()=default
PutAgentRecommendationFeedbackRequest & WithType(RecommendationFeedbackType value)
PutAgentRecommendationFeedbackRequest & WithComments(CommentsT &&value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
PutAgentRecommendationFeedbackRequest & WithFeedbackCategory(FeedbackCategory value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String