AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
49 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
50 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
51 inline InsightFeedback& WithId(const Aws::String& value) { SetId(value); return *this;}
52 inline InsightFeedback& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
53 inline InsightFeedback& WithId(const char* value) { SetId(value); return *this;}
55
57
60 inline const InsightFeedbackOption& GetFeedback() const{ return m_feedback; }
61 inline bool FeedbackHasBeenSet() const { return m_feedbackHasBeenSet; }
62 inline void SetFeedback(const InsightFeedbackOption& value) { m_feedbackHasBeenSet = true; m_feedback = value; }
63 inline void SetFeedback(InsightFeedbackOption&& value) { m_feedbackHasBeenSet = true; m_feedback = std::move(value); }
64 inline InsightFeedback& WithFeedback(const InsightFeedbackOption& value) { SetFeedback(value); return *this;}
65 inline InsightFeedback& WithFeedback(InsightFeedbackOption&& value) { SetFeedback(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_id;
70 bool m_idHasBeenSet = false;
71
72 InsightFeedbackOption m_feedback;
73 bool m_feedbackHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace DevOpsGuru
78} // namespace Aws
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFeedback(const InsightFeedbackOption &value)
InsightFeedback & WithFeedback(InsightFeedbackOption &&value)
InsightFeedback & WithId(const char *value)
InsightFeedback & WithId(Aws::String &&value)
const Aws::String & GetId() const
const InsightFeedbackOption & GetFeedback() const
AWS_DEVOPSGURU_API InsightFeedback & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetId(const Aws::String &value)
AWS_DEVOPSGURU_API InsightFeedback(Aws::Utils::Json::JsonView jsonValue)
void SetFeedback(InsightFeedbackOption &&value)
InsightFeedback & WithFeedback(const InsightFeedbackOption &value)
InsightFeedback & WithId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue