AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetWorkloadId(const Aws::String& value) { m_workloadIdHasBeenSet = true; m_workloadId = value; }
50 inline void SetWorkloadId(Aws::String&& value) { m_workloadIdHasBeenSet = true; m_workloadId = std::move(value); }
51 inline void SetWorkloadId(const char* value) { m_workloadIdHasBeenSet = true; m_workloadId.assign(value); }
52 inline ListAnswersRequest& WithWorkloadId(const Aws::String& value) { SetWorkloadId(value); return *this;}
53 inline ListAnswersRequest& WithWorkloadId(Aws::String&& value) { SetWorkloadId(std::move(value)); return *this;}
54 inline ListAnswersRequest& WithWorkloadId(const char* value) { SetWorkloadId(value); return *this;}
56
58
59 inline const Aws::String& GetLensAlias() const{ return m_lensAlias; }
60 inline bool LensAliasHasBeenSet() const { return m_lensAliasHasBeenSet; }
61 inline void SetLensAlias(const Aws::String& value) { m_lensAliasHasBeenSet = true; m_lensAlias = value; }
62 inline void SetLensAlias(Aws::String&& value) { m_lensAliasHasBeenSet = true; m_lensAlias = std::move(value); }
63 inline void SetLensAlias(const char* value) { m_lensAliasHasBeenSet = true; m_lensAlias.assign(value); }
64 inline ListAnswersRequest& WithLensAlias(const Aws::String& value) { SetLensAlias(value); return *this;}
65 inline ListAnswersRequest& WithLensAlias(Aws::String&& value) { SetLensAlias(std::move(value)); return *this;}
66 inline ListAnswersRequest& WithLensAlias(const char* value) { SetLensAlias(value); return *this;}
68
70
71 inline const Aws::String& GetPillarId() const{ return m_pillarId; }
72 inline bool PillarIdHasBeenSet() const { return m_pillarIdHasBeenSet; }
73 inline void SetPillarId(const Aws::String& value) { m_pillarIdHasBeenSet = true; m_pillarId = value; }
74 inline void SetPillarId(Aws::String&& value) { m_pillarIdHasBeenSet = true; m_pillarId = std::move(value); }
75 inline void SetPillarId(const char* value) { m_pillarIdHasBeenSet = true; m_pillarId.assign(value); }
76 inline ListAnswersRequest& WithPillarId(const Aws::String& value) { SetPillarId(value); return *this;}
77 inline ListAnswersRequest& WithPillarId(Aws::String&& value) { SetPillarId(std::move(value)); return *this;}
78 inline ListAnswersRequest& WithPillarId(const char* value) { SetPillarId(value); return *this;}
80
82
83 inline int GetMilestoneNumber() const{ return m_milestoneNumber; }
84 inline bool MilestoneNumberHasBeenSet() const { return m_milestoneNumberHasBeenSet; }
85 inline void SetMilestoneNumber(int value) { m_milestoneNumberHasBeenSet = true; m_milestoneNumber = value; }
86 inline ListAnswersRequest& WithMilestoneNumber(int value) { SetMilestoneNumber(value); return *this;}
88
90
91 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
92 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
93 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
94 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
95 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
96 inline ListAnswersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
97 inline ListAnswersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
98 inline ListAnswersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
100
102
105 inline int GetMaxResults() const{ return m_maxResults; }
106 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
107 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
108 inline ListAnswersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
110
112
115 inline const QuestionPriority& GetQuestionPriority() const{ return m_questionPriority; }
116 inline bool QuestionPriorityHasBeenSet() const { return m_questionPriorityHasBeenSet; }
117 inline void SetQuestionPriority(const QuestionPriority& value) { m_questionPriorityHasBeenSet = true; m_questionPriority = value; }
118 inline void SetQuestionPriority(QuestionPriority&& value) { m_questionPriorityHasBeenSet = true; m_questionPriority = std::move(value); }
120 inline ListAnswersRequest& WithQuestionPriority(QuestionPriority&& value) { SetQuestionPriority(std::move(value)); return *this;}
122 private:
123
124 Aws::String m_workloadId;
125 bool m_workloadIdHasBeenSet = false;
126
127 Aws::String m_lensAlias;
128 bool m_lensAliasHasBeenSet = false;
129
130 Aws::String m_pillarId;
131 bool m_pillarIdHasBeenSet = false;
132
133 int m_milestoneNumber;
134 bool m_milestoneNumberHasBeenSet = false;
135
136 Aws::String m_nextToken;
137 bool m_nextTokenHasBeenSet = false;
138
139 int m_maxResults;
140 bool m_maxResultsHasBeenSet = false;
141
142 QuestionPriority m_questionPriority;
143 bool m_questionPriorityHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace WellArchitected
148} // namespace Aws
ListAnswersRequest & WithPillarId(const char *value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const QuestionPriority & GetQuestionPriority() const
virtual const char * GetServiceRequestName() const override
ListAnswersRequest & WithLensAlias(Aws::String &&value)
ListAnswersRequest & WithQuestionPriority(const QuestionPriority &value)
ListAnswersRequest & WithQuestionPriority(QuestionPriority &&value)
ListAnswersRequest & WithLensAlias(const char *value)
void SetQuestionPriority(const QuestionPriority &value)
ListAnswersRequest & WithNextToken(const Aws::String &value)
ListAnswersRequest & WithWorkloadId(const Aws::String &value)
ListAnswersRequest & WithPillarId(Aws::String &&value)
ListAnswersRequest & WithLensAlias(const Aws::String &value)
ListAnswersRequest & WithNextToken(Aws::String &&value)
ListAnswersRequest & WithPillarId(const Aws::String &value)
ListAnswersRequest & WithWorkloadId(const char *value)
ListAnswersRequest & WithNextToken(const char *value)
ListAnswersRequest & WithMilestoneNumber(int value)
ListAnswersRequest & WithWorkloadId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String