AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListAnswersRequest.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/wellarchitected/WellArchitectedRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/wellarchitected/model/QuestionPriority.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace WellArchitected
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_WELLARCHITECTED_API ListAnswersRequest() = default;
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "ListAnswers"; }
39
40 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
41
42 AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43
44
46
47 inline const Aws::String& GetWorkloadId() const { return m_workloadId; }
48 inline bool WorkloadIdHasBeenSet() const { return m_workloadIdHasBeenSet; }
49 template<typename WorkloadIdT = Aws::String>
50 void SetWorkloadId(WorkloadIdT&& value) { m_workloadIdHasBeenSet = true; m_workloadId = std::forward<WorkloadIdT>(value); }
51 template<typename WorkloadIdT = Aws::String>
52 ListAnswersRequest& WithWorkloadId(WorkloadIdT&& value) { SetWorkloadId(std::forward<WorkloadIdT>(value)); return *this;}
54
56
57 inline const Aws::String& GetLensAlias() const { return m_lensAlias; }
58 inline bool LensAliasHasBeenSet() const { return m_lensAliasHasBeenSet; }
59 template<typename LensAliasT = Aws::String>
60 void SetLensAlias(LensAliasT&& value) { m_lensAliasHasBeenSet = true; m_lensAlias = std::forward<LensAliasT>(value); }
61 template<typename LensAliasT = Aws::String>
62 ListAnswersRequest& WithLensAlias(LensAliasT&& value) { SetLensAlias(std::forward<LensAliasT>(value)); return *this;}
64
66
67 inline const Aws::String& GetPillarId() const { return m_pillarId; }
68 inline bool PillarIdHasBeenSet() const { return m_pillarIdHasBeenSet; }
69 template<typename PillarIdT = Aws::String>
70 void SetPillarId(PillarIdT&& value) { m_pillarIdHasBeenSet = true; m_pillarId = std::forward<PillarIdT>(value); }
71 template<typename PillarIdT = Aws::String>
72 ListAnswersRequest& WithPillarId(PillarIdT&& value) { SetPillarId(std::forward<PillarIdT>(value)); return *this;}
74
76
77 inline int GetMilestoneNumber() const { return m_milestoneNumber; }
78 inline bool MilestoneNumberHasBeenSet() const { return m_milestoneNumberHasBeenSet; }
79 inline void SetMilestoneNumber(int value) { m_milestoneNumberHasBeenSet = true; m_milestoneNumber = value; }
80 inline ListAnswersRequest& WithMilestoneNumber(int value) { SetMilestoneNumber(value); return *this;}
82
84
85 inline const Aws::String& GetNextToken() const { return m_nextToken; }
86 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
87 template<typename NextTokenT = Aws::String>
88 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
89 template<typename NextTokenT = Aws::String>
90 ListAnswersRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
92
94
97 inline int GetMaxResults() const { return m_maxResults; }
98 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
99 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
100 inline ListAnswersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
102
104
107 inline QuestionPriority GetQuestionPriority() const { return m_questionPriority; }
108 inline bool QuestionPriorityHasBeenSet() const { return m_questionPriorityHasBeenSet; }
109 inline void SetQuestionPriority(QuestionPriority value) { m_questionPriorityHasBeenSet = true; m_questionPriority = value; }
112 private:
113
114 Aws::String m_workloadId;
115 bool m_workloadIdHasBeenSet = false;
116
117 Aws::String m_lensAlias;
118 bool m_lensAliasHasBeenSet = false;
119
120 Aws::String m_pillarId;
121 bool m_pillarIdHasBeenSet = false;
122
123 int m_milestoneNumber{0};
124 bool m_milestoneNumberHasBeenSet = false;
125
126 Aws::String m_nextToken;
127 bool m_nextTokenHasBeenSet = false;
128
129 int m_maxResults{0};
130 bool m_maxResultsHasBeenSet = false;
131
133 bool m_questionPriorityHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace WellArchitected
138} // namespace Aws
ListAnswersRequest & WithQuestionPriority(QuestionPriority value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
ListAnswersRequest & WithNextToken(NextTokenT &&value)
AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListAnswersRequest & WithWorkloadId(WorkloadIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_WELLARCHITECTED_API ListAnswersRequest()=default
ListAnswersRequest & WithLensAlias(LensAliasT &&value)
ListAnswersRequest & WithPillarId(PillarIdT &&value)
ListAnswersRequest & WithMilestoneNumber(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String