AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchCreateTopicReviewedAnswerResult.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/model/SucceededTopicReviewedAnswer.h>
11#include <aws/quicksight/model/InvalidTopicReviewedAnswer.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace QuickSight
27{
28namespace Model
29{
31 {
32 public:
36
37
39
43 inline const Aws::String& GetTopicId() const{ return m_topicId; }
44 inline void SetTopicId(const Aws::String& value) { m_topicId = value; }
45 inline void SetTopicId(Aws::String&& value) { m_topicId = std::move(value); }
46 inline void SetTopicId(const char* value) { m_topicId.assign(value); }
47 inline BatchCreateTopicReviewedAnswerResult& WithTopicId(const Aws::String& value) { SetTopicId(value); return *this;}
48 inline BatchCreateTopicReviewedAnswerResult& WithTopicId(Aws::String&& value) { SetTopicId(std::move(value)); return *this;}
49 inline BatchCreateTopicReviewedAnswerResult& WithTopicId(const char* value) { SetTopicId(value); return *this;}
51
53
56 inline const Aws::String& GetTopicArn() const{ return m_topicArn; }
57 inline void SetTopicArn(const Aws::String& value) { m_topicArn = value; }
58 inline void SetTopicArn(Aws::String&& value) { m_topicArn = std::move(value); }
59 inline void SetTopicArn(const char* value) { m_topicArn.assign(value); }
60 inline BatchCreateTopicReviewedAnswerResult& WithTopicArn(const Aws::String& value) { SetTopicArn(value); return *this;}
61 inline BatchCreateTopicReviewedAnswerResult& WithTopicArn(Aws::String&& value) { SetTopicArn(std::move(value)); return *this;}
62 inline BatchCreateTopicReviewedAnswerResult& WithTopicArn(const char* value) { SetTopicArn(value); return *this;}
64
66
69 inline const Aws::Vector<SucceededTopicReviewedAnswer>& GetSucceededAnswers() const{ return m_succeededAnswers; }
70 inline void SetSucceededAnswers(const Aws::Vector<SucceededTopicReviewedAnswer>& value) { m_succeededAnswers = value; }
71 inline void SetSucceededAnswers(Aws::Vector<SucceededTopicReviewedAnswer>&& value) { m_succeededAnswers = std::move(value); }
74 inline BatchCreateTopicReviewedAnswerResult& AddSucceededAnswers(const SucceededTopicReviewedAnswer& value) { m_succeededAnswers.push_back(value); return *this; }
75 inline BatchCreateTopicReviewedAnswerResult& AddSucceededAnswers(SucceededTopicReviewedAnswer&& value) { m_succeededAnswers.push_back(std::move(value)); return *this; }
77
79
82 inline const Aws::Vector<InvalidTopicReviewedAnswer>& GetInvalidAnswers() const{ return m_invalidAnswers; }
83 inline void SetInvalidAnswers(const Aws::Vector<InvalidTopicReviewedAnswer>& value) { m_invalidAnswers = value; }
84 inline void SetInvalidAnswers(Aws::Vector<InvalidTopicReviewedAnswer>&& value) { m_invalidAnswers = std::move(value); }
87 inline BatchCreateTopicReviewedAnswerResult& AddInvalidAnswers(const InvalidTopicReviewedAnswer& value) { m_invalidAnswers.push_back(value); return *this; }
88 inline BatchCreateTopicReviewedAnswerResult& AddInvalidAnswers(InvalidTopicReviewedAnswer&& value) { m_invalidAnswers.push_back(std::move(value)); return *this; }
90
92
95 inline int GetStatus() const{ return m_status; }
96 inline void SetStatus(int value) { m_status = value; }
97 inline BatchCreateTopicReviewedAnswerResult& WithStatus(int value) { SetStatus(value); return *this;}
99
101
102 inline const Aws::String& GetRequestId() const{ return m_requestId; }
103 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
104 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
105 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
106 inline BatchCreateTopicReviewedAnswerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
107 inline BatchCreateTopicReviewedAnswerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
108 inline BatchCreateTopicReviewedAnswerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
110 private:
111
112 Aws::String m_topicId;
113
114 Aws::String m_topicArn;
115
117
119
120 int m_status;
121
122 Aws::String m_requestId;
123 };
124
125} // namespace Model
126} // namespace QuickSight
127} // namespace Aws
AWS_QUICKSIGHT_API BatchCreateTopicReviewedAnswerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetInvalidAnswers(const Aws::Vector< InvalidTopicReviewedAnswer > &value)
BatchCreateTopicReviewedAnswerResult & WithTopicId(const char *value)
BatchCreateTopicReviewedAnswerResult & WithTopicArn(const char *value)
void SetSucceededAnswers(Aws::Vector< SucceededTopicReviewedAnswer > &&value)
BatchCreateTopicReviewedAnswerResult & WithSucceededAnswers(Aws::Vector< SucceededTopicReviewedAnswer > &&value)
BatchCreateTopicReviewedAnswerResult & WithTopicId(const Aws::String &value)
const Aws::Vector< SucceededTopicReviewedAnswer > & GetSucceededAnswers() const
BatchCreateTopicReviewedAnswerResult & WithRequestId(const Aws::String &value)
BatchCreateTopicReviewedAnswerResult & AddSucceededAnswers(const SucceededTopicReviewedAnswer &value)
BatchCreateTopicReviewedAnswerResult & WithTopicArn(Aws::String &&value)
BatchCreateTopicReviewedAnswerResult & WithInvalidAnswers(const Aws::Vector< InvalidTopicReviewedAnswer > &value)
BatchCreateTopicReviewedAnswerResult & AddInvalidAnswers(InvalidTopicReviewedAnswer &&value)
void SetSucceededAnswers(const Aws::Vector< SucceededTopicReviewedAnswer > &value)
BatchCreateTopicReviewedAnswerResult & WithRequestId(Aws::String &&value)
AWS_QUICKSIGHT_API BatchCreateTopicReviewedAnswerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchCreateTopicReviewedAnswerResult & AddSucceededAnswers(SucceededTopicReviewedAnswer &&value)
BatchCreateTopicReviewedAnswerResult & WithSucceededAnswers(const Aws::Vector< SucceededTopicReviewedAnswer > &value)
BatchCreateTopicReviewedAnswerResult & WithRequestId(const char *value)
BatchCreateTopicReviewedAnswerResult & WithInvalidAnswers(Aws::Vector< InvalidTopicReviewedAnswer > &&value)
BatchCreateTopicReviewedAnswerResult & WithTopicArn(const Aws::String &value)
const Aws::Vector< InvalidTopicReviewedAnswer > & GetInvalidAnswers() const
BatchCreateTopicReviewedAnswerResult & WithTopicId(Aws::String &&value)
BatchCreateTopicReviewedAnswerResult & AddInvalidAnswers(const InvalidTopicReviewedAnswer &value)
void SetInvalidAnswers(Aws::Vector< InvalidTopicReviewedAnswer > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue