AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
GetReviewTemplateAnswerRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wellarchitected/WellArchitectedRequest.h>
9#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace WellArchitected {
15namespace Model {
16
20 public:
21 AWS_WELLARCHITECTED_API GetReviewTemplateAnswerRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetReviewTemplateAnswer"; }
28
29 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetTemplateArn() const { return m_templateArn; }
36 inline bool TemplateArnHasBeenSet() const { return m_templateArnHasBeenSet; }
37 template <typename TemplateArnT = Aws::String>
38 void SetTemplateArn(TemplateArnT&& value) {
39 m_templateArnHasBeenSet = true;
40 m_templateArn = std::forward<TemplateArnT>(value);
41 }
42 template <typename TemplateArnT = Aws::String>
44 SetTemplateArn(std::forward<TemplateArnT>(value));
45 return *this;
46 }
48
50
51 inline const Aws::String& GetLensAlias() const { return m_lensAlias; }
52 inline bool LensAliasHasBeenSet() const { return m_lensAliasHasBeenSet; }
53 template <typename LensAliasT = Aws::String>
54 void SetLensAlias(LensAliasT&& value) {
55 m_lensAliasHasBeenSet = true;
56 m_lensAlias = std::forward<LensAliasT>(value);
57 }
58 template <typename LensAliasT = Aws::String>
60 SetLensAlias(std::forward<LensAliasT>(value));
61 return *this;
62 }
64
66
67 inline const Aws::String& GetQuestionId() const { return m_questionId; }
68 inline bool QuestionIdHasBeenSet() const { return m_questionIdHasBeenSet; }
69 template <typename QuestionIdT = Aws::String>
70 void SetQuestionId(QuestionIdT&& value) {
71 m_questionIdHasBeenSet = true;
72 m_questionId = std::forward<QuestionIdT>(value);
73 }
74 template <typename QuestionIdT = Aws::String>
76 SetQuestionId(std::forward<QuestionIdT>(value));
77 return *this;
78 }
80 private:
81 Aws::String m_templateArn;
82 bool m_templateArnHasBeenSet = false;
83
84 Aws::String m_lensAlias;
85 bool m_lensAliasHasBeenSet = false;
86
87 Aws::String m_questionId;
88 bool m_questionIdHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace WellArchitected
93} // namespace Aws
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
GetReviewTemplateAnswerRequest & WithLensAlias(LensAliasT &&value)
GetReviewTemplateAnswerRequest & WithTemplateArn(TemplateArnT &&value)
AWS_WELLARCHITECTED_API GetReviewTemplateAnswerRequest()=default
GetReviewTemplateAnswerRequest & WithQuestionId(QuestionIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String