AWS SDK for C++

AWS SDK for C++ Version 1.11.907

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
36 AWS_WELLARCHITECTED_API EndpointParameters GetEndpointContextParams() const override;
37
39
43 inline const Aws::String& GetRecommendationArn() const { return m_recommendationArn; }
44 inline bool RecommendationArnHasBeenSet() const { return m_recommendationArnHasBeenSet; }
45 template <typename RecommendationArnT = Aws::String>
46 void SetRecommendationArn(RecommendationArnT&& value) {
47 m_recommendationArnHasBeenSet = true;
48 m_recommendationArn = std::forward<RecommendationArnT>(value);
49 }
50 template <typename RecommendationArnT = Aws::String>
52 SetRecommendationArn(std::forward<RecommendationArnT>(value));
53 return *this;
54 }
56
58
61 inline RecommendationFeedbackType GetType() const { return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
64 m_typeHasBeenSet = true;
65 m_type = value;
66 }
68 SetType(value);
69 return *this;
70 }
72
74
77 inline FeedbackCategory GetFeedbackCategory() const { return m_feedbackCategory; }
78 inline bool FeedbackCategoryHasBeenSet() const { return m_feedbackCategoryHasBeenSet; }
80 m_feedbackCategoryHasBeenSet = true;
81 m_feedbackCategory = value;
82 }
85 return *this;
86 }
88
90
93 inline const Aws::String& GetComments() const { return m_comments; }
94 inline bool CommentsHasBeenSet() const { return m_commentsHasBeenSet; }
95 template <typename CommentsT = Aws::String>
96 void SetComments(CommentsT&& value) {
97 m_commentsHasBeenSet = true;
98 m_comments = std::forward<CommentsT>(value);
99 }
100 template <typename CommentsT = Aws::String>
102 SetComments(std::forward<CommentsT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_recommendationArn;
108
110
112
113 Aws::String m_comments;
114 bool m_recommendationArnHasBeenSet = false;
115 bool m_typeHasBeenSet = false;
116 bool m_feedbackCategoryHasBeenSet = false;
117 bool m_commentsHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace WellArchitected
122} // namespace Aws
PutAgentRecommendationFeedbackRequest & WithRecommendationArn(RecommendationArnT &&value)
AWS_WELLARCHITECTED_API PutAgentRecommendationFeedbackRequest()=default
PutAgentRecommendationFeedbackRequest & WithType(RecommendationFeedbackType value)
AWS_WELLARCHITECTED_API EndpointParameters GetEndpointContextParams() const override
PutAgentRecommendationFeedbackRequest & WithComments(CommentsT &&value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
PutAgentRecommendationFeedbackRequest & WithFeedbackCategory(FeedbackCategory value)
Aws::Endpoint::EndpointParameters EndpointParameters
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String