AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UserFeedback.h
1
6#pragma once
7#include <aws/codeguruprofiler/CodeGuruProfiler_EXPORTS.h>
8#include <aws/codeguruprofiler/model/FeedbackType.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CodeGuruProfiler
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_CODEGURUPROFILER_API UserFeedback() = default;
37 AWS_CODEGURUPROFILER_API UserFeedback(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEGURUPROFILER_API UserFeedback& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODEGURUPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline FeedbackType GetType() const { return m_type; }
48 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
49 inline void SetType(FeedbackType value) { m_typeHasBeenSet = true; m_type = value; }
50 inline UserFeedback& WithType(FeedbackType value) { SetType(value); return *this;}
52 private:
53
55 bool m_typeHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace CodeGuruProfiler
60} // namespace Aws
AWS_CODEGURUPROFILER_API UserFeedback(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEGURUPROFILER_API UserFeedback()=default
AWS_CODEGURUPROFILER_API UserFeedback & operator=(Aws::Utils::Json::JsonView jsonValue)
UserFeedback & WithType(FeedbackType value)
AWS_CODEGURUPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue