AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
InsightFeedback.h
1
6#pragma once
7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devops-guru/model/InsightFeedbackOption.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 DevOpsGuru
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DEVOPSGURU_API InsightFeedback() = default;
37 AWS_DEVOPSGURU_API InsightFeedback(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetId() const { return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 template<typename IdT = Aws::String>
49 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
50 template<typename IdT = Aws::String>
51 InsightFeedback& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
53
55
58 inline InsightFeedbackOption GetFeedback() const { return m_feedback; }
59 inline bool FeedbackHasBeenSet() const { return m_feedbackHasBeenSet; }
60 inline void SetFeedback(InsightFeedbackOption value) { m_feedbackHasBeenSet = true; m_feedback = value; }
61 inline InsightFeedback& WithFeedback(InsightFeedbackOption value) { SetFeedback(value); return *this;}
63 private:
64
65 Aws::String m_id;
66 bool m_idHasBeenSet = false;
67
69 bool m_feedbackHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace DevOpsGuru
74} // namespace Aws
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
InsightFeedbackOption GetFeedback() const
AWS_DEVOPSGURU_API InsightFeedback()=default
InsightFeedback & WithId(IdT &&value)
InsightFeedback & WithFeedback(InsightFeedbackOption value)
void SetFeedback(InsightFeedbackOption value)
const Aws::String & GetId() const
AWS_DEVOPSGURU_API InsightFeedback & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSGURU_API InsightFeedback(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue