AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
BotAnalyzerRecommendation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
9#include <aws/lexv2-models/model/IssueLocation.h>
10#include <aws/lexv2-models/model/Priority.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace LexModelsV2 {
22namespace Model {
23
31 public:
32 AWS_LEXMODELSV2_API BotAnalyzerRecommendation() = default;
35 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const IssueLocation& GetIssueLocation() const { return m_issueLocation; }
43 inline bool IssueLocationHasBeenSet() const { return m_issueLocationHasBeenSet; }
44 template <typename IssueLocationT = IssueLocation>
45 void SetIssueLocation(IssueLocationT&& value) {
46 m_issueLocationHasBeenSet = true;
47 m_issueLocation = std::forward<IssueLocationT>(value);
48 }
49 template <typename IssueLocationT = IssueLocation>
51 SetIssueLocation(std::forward<IssueLocationT>(value));
52 return *this;
53 }
55
57
61 inline Priority GetPriority() const { return m_priority; }
62 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
63 inline void SetPriority(Priority value) {
64 m_priorityHasBeenSet = true;
65 m_priority = value;
66 }
68 SetPriority(value);
69 return *this;
70 }
72
74
77 inline const Aws::String& GetIssueDescription() const { return m_issueDescription; }
78 inline bool IssueDescriptionHasBeenSet() const { return m_issueDescriptionHasBeenSet; }
79 template <typename IssueDescriptionT = Aws::String>
80 void SetIssueDescription(IssueDescriptionT&& value) {
81 m_issueDescriptionHasBeenSet = true;
82 m_issueDescription = std::forward<IssueDescriptionT>(value);
83 }
84 template <typename IssueDescriptionT = Aws::String>
85 BotAnalyzerRecommendation& WithIssueDescription(IssueDescriptionT&& value) {
86 SetIssueDescription(std::forward<IssueDescriptionT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetProposedFix() const { return m_proposedFix; }
96 inline bool ProposedFixHasBeenSet() const { return m_proposedFixHasBeenSet; }
97 template <typename ProposedFixT = Aws::String>
98 void SetProposedFix(ProposedFixT&& value) {
99 m_proposedFixHasBeenSet = true;
100 m_proposedFix = std::forward<ProposedFixT>(value);
101 }
102 template <typename ProposedFixT = Aws::String>
104 SetProposedFix(std::forward<ProposedFixT>(value));
105 return *this;
106 }
108 private:
109 IssueLocation m_issueLocation;
110
111 Priority m_priority{Priority::NOT_SET};
112
113 Aws::String m_issueDescription;
114
115 Aws::String m_proposedFix;
116 bool m_issueLocationHasBeenSet = false;
117 bool m_priorityHasBeenSet = false;
118 bool m_issueDescriptionHasBeenSet = false;
119 bool m_proposedFixHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace LexModelsV2
124} // namespace Aws
BotAnalyzerRecommendation & WithPriority(Priority value)
AWS_LEXMODELSV2_API BotAnalyzerRecommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
BotAnalyzerRecommendation & WithIssueDescription(IssueDescriptionT &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
BotAnalyzerRecommendation & WithProposedFix(ProposedFixT &&value)
AWS_LEXMODELSV2_API BotAnalyzerRecommendation(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API BotAnalyzerRecommendation()=default
BotAnalyzerRecommendation & WithIssueLocation(IssueLocationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue