AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InvalidTopicReviewedAnswer.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/ReviewedAnswerErrorCode.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 QuickSight
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QUICKSIGHT_API InvalidTopicReviewedAnswer();
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetAnswerId() const{ return m_answerId; }
47 inline bool AnswerIdHasBeenSet() const { return m_answerIdHasBeenSet; }
48 inline void SetAnswerId(const Aws::String& value) { m_answerIdHasBeenSet = true; m_answerId = value; }
49 inline void SetAnswerId(Aws::String&& value) { m_answerIdHasBeenSet = true; m_answerId = std::move(value); }
50 inline void SetAnswerId(const char* value) { m_answerIdHasBeenSet = true; m_answerId.assign(value); }
51 inline InvalidTopicReviewedAnswer& WithAnswerId(const Aws::String& value) { SetAnswerId(value); return *this;}
52 inline InvalidTopicReviewedAnswer& WithAnswerId(Aws::String&& value) { SetAnswerId(std::move(value)); return *this;}
53 inline InvalidTopicReviewedAnswer& WithAnswerId(const char* value) { SetAnswerId(value); return *this;}
55
57
61 inline const ReviewedAnswerErrorCode& GetError() const{ return m_error; }
62 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
63 inline void SetError(const ReviewedAnswerErrorCode& value) { m_errorHasBeenSet = true; m_error = value; }
64 inline void SetError(ReviewedAnswerErrorCode&& value) { m_errorHasBeenSet = true; m_error = std::move(value); }
65 inline InvalidTopicReviewedAnswer& WithError(const ReviewedAnswerErrorCode& value) { SetError(value); return *this;}
66 inline InvalidTopicReviewedAnswer& WithError(ReviewedAnswerErrorCode&& value) { SetError(std::move(value)); return *this;}
68 private:
69
70 Aws::String m_answerId;
71 bool m_answerIdHasBeenSet = false;
72
74 bool m_errorHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace QuickSight
79} // namespace Aws
InvalidTopicReviewedAnswer & WithAnswerId(const Aws::String &value)
AWS_QUICKSIGHT_API InvalidTopicReviewedAnswer & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API InvalidTopicReviewedAnswer(Aws::Utils::Json::JsonView jsonValue)
InvalidTopicReviewedAnswer & WithAnswerId(Aws::String &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
InvalidTopicReviewedAnswer & WithAnswerId(const char *value)
void SetError(const ReviewedAnswerErrorCode &value)
InvalidTopicReviewedAnswer & WithError(ReviewedAnswerErrorCode &&value)
InvalidTopicReviewedAnswer & WithError(const ReviewedAnswerErrorCode &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue