AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetReviewTemplateAnswerResult.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wellarchitected/model/ReviewTemplateAnswer.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace WellArchitected
25{
26namespace Model
27{
29 {
30 public:
31 AWS_WELLARCHITECTED_API GetReviewTemplateAnswerResult();
34
35
37
40 inline const Aws::String& GetTemplateArn() const{ return m_templateArn; }
41 inline void SetTemplateArn(const Aws::String& value) { m_templateArn = value; }
42 inline void SetTemplateArn(Aws::String&& value) { m_templateArn = std::move(value); }
43 inline void SetTemplateArn(const char* value) { m_templateArn.assign(value); }
44 inline GetReviewTemplateAnswerResult& WithTemplateArn(const Aws::String& value) { SetTemplateArn(value); return *this;}
45 inline GetReviewTemplateAnswerResult& WithTemplateArn(Aws::String&& value) { SetTemplateArn(std::move(value)); return *this;}
46 inline GetReviewTemplateAnswerResult& WithTemplateArn(const char* value) { SetTemplateArn(value); return *this;}
48
50
51 inline const Aws::String& GetLensAlias() const{ return m_lensAlias; }
52 inline void SetLensAlias(const Aws::String& value) { m_lensAlias = value; }
53 inline void SetLensAlias(Aws::String&& value) { m_lensAlias = std::move(value); }
54 inline void SetLensAlias(const char* value) { m_lensAlias.assign(value); }
55 inline GetReviewTemplateAnswerResult& WithLensAlias(const Aws::String& value) { SetLensAlias(value); return *this;}
56 inline GetReviewTemplateAnswerResult& WithLensAlias(Aws::String&& value) { SetLensAlias(std::move(value)); return *this;}
57 inline GetReviewTemplateAnswerResult& WithLensAlias(const char* value) { SetLensAlias(value); return *this;}
59
61
64 inline const ReviewTemplateAnswer& GetAnswer() const{ return m_answer; }
65 inline void SetAnswer(const ReviewTemplateAnswer& value) { m_answer = value; }
66 inline void SetAnswer(ReviewTemplateAnswer&& value) { m_answer = std::move(value); }
67 inline GetReviewTemplateAnswerResult& WithAnswer(const ReviewTemplateAnswer& value) { SetAnswer(value); return *this;}
68 inline GetReviewTemplateAnswerResult& WithAnswer(ReviewTemplateAnswer&& value) { SetAnswer(std::move(value)); return *this;}
70
72
73 inline const Aws::String& GetRequestId() const{ return m_requestId; }
74 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
75 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
76 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
77 inline GetReviewTemplateAnswerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
78 inline GetReviewTemplateAnswerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
79 inline GetReviewTemplateAnswerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
81 private:
82
83 Aws::String m_templateArn;
84
85 Aws::String m_lensAlias;
86
87 ReviewTemplateAnswer m_answer;
88
89 Aws::String m_requestId;
90 };
91
92} // namespace Model
93} // namespace WellArchitected
94} // namespace Aws
GetReviewTemplateAnswerResult & WithRequestId(Aws::String &&value)
GetReviewTemplateAnswerResult & WithLensAlias(const char *value)
GetReviewTemplateAnswerResult & WithRequestId(const char *value)
GetReviewTemplateAnswerResult & WithTemplateArn(Aws::String &&value)
GetReviewTemplateAnswerResult & WithLensAlias(Aws::String &&value)
GetReviewTemplateAnswerResult & WithRequestId(const Aws::String &value)
GetReviewTemplateAnswerResult & WithAnswer(const ReviewTemplateAnswer &value)
AWS_WELLARCHITECTED_API GetReviewTemplateAnswerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_WELLARCHITECTED_API GetReviewTemplateAnswerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetReviewTemplateAnswerResult & WithLensAlias(const Aws::String &value)
GetReviewTemplateAnswerResult & WithTemplateArn(const Aws::String &value)
GetReviewTemplateAnswerResult & WithTemplateArn(const char *value)
GetReviewTemplateAnswerResult & WithAnswer(ReviewTemplateAnswer &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue