AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const FeedbackType& GetType() const{ return m_type; }
48 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
49 inline void SetType(const FeedbackType& value) { m_typeHasBeenSet = true; m_type = value; }
50 inline void SetType(FeedbackType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
51 inline UserFeedback& WithType(const FeedbackType& value) { SetType(value); return *this;}
52 inline UserFeedback& WithType(FeedbackType&& value) { SetType(std::move(value)); return *this;}
54 private:
55
56 FeedbackType m_type;
57 bool m_typeHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace CodeGuruProfiler
62} // namespace Aws
UserFeedback & WithType(FeedbackType &&value)
AWS_CODEGURUPROFILER_API UserFeedback(Aws::Utils::Json::JsonView jsonValue)
const FeedbackType & GetType() const
UserFeedback & WithType(const FeedbackType &value)
void SetType(const FeedbackType &value)
AWS_CODEGURUPROFILER_API UserFeedback & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEGURUPROFILER_API UserFeedback()
AWS_CODEGURUPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue