AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListCheckSummariesRequest.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 <utility>
11
12namespace Aws
13{
14namespace WellArchitected
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_WELLARCHITECTED_API ListCheckSummariesRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "ListCheckSummaries"; }
31
32 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
33
34
36
37 inline const Aws::String& GetWorkloadId() const { return m_workloadId; }
38 inline bool WorkloadIdHasBeenSet() const { return m_workloadIdHasBeenSet; }
39 template<typename WorkloadIdT = Aws::String>
40 void SetWorkloadId(WorkloadIdT&& value) { m_workloadIdHasBeenSet = true; m_workloadId = std::forward<WorkloadIdT>(value); }
41 template<typename WorkloadIdT = Aws::String>
42 ListCheckSummariesRequest& WithWorkloadId(WorkloadIdT&& value) { SetWorkloadId(std::forward<WorkloadIdT>(value)); return *this;}
44
46
47 inline const Aws::String& GetNextToken() const { return m_nextToken; }
48 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
49 template<typename NextTokenT = Aws::String>
50 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
51 template<typename NextTokenT = Aws::String>
52 ListCheckSummariesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
54
56
57 inline int GetMaxResults() const { return m_maxResults; }
58 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
59 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
60 inline ListCheckSummariesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
62
64
67 inline const Aws::String& GetLensArn() const { return m_lensArn; }
68 inline bool LensArnHasBeenSet() const { return m_lensArnHasBeenSet; }
69 template<typename LensArnT = Aws::String>
70 void SetLensArn(LensArnT&& value) { m_lensArnHasBeenSet = true; m_lensArn = std::forward<LensArnT>(value); }
71 template<typename LensArnT = Aws::String>
72 ListCheckSummariesRequest& WithLensArn(LensArnT&& value) { SetLensArn(std::forward<LensArnT>(value)); return *this;}
74
76
77 inline const Aws::String& GetPillarId() const { return m_pillarId; }
78 inline bool PillarIdHasBeenSet() const { return m_pillarIdHasBeenSet; }
79 template<typename PillarIdT = Aws::String>
80 void SetPillarId(PillarIdT&& value) { m_pillarIdHasBeenSet = true; m_pillarId = std::forward<PillarIdT>(value); }
81 template<typename PillarIdT = Aws::String>
82 ListCheckSummariesRequest& WithPillarId(PillarIdT&& value) { SetPillarId(std::forward<PillarIdT>(value)); return *this;}
84
86
87 inline const Aws::String& GetQuestionId() const { return m_questionId; }
88 inline bool QuestionIdHasBeenSet() const { return m_questionIdHasBeenSet; }
89 template<typename QuestionIdT = Aws::String>
90 void SetQuestionId(QuestionIdT&& value) { m_questionIdHasBeenSet = true; m_questionId = std::forward<QuestionIdT>(value); }
91 template<typename QuestionIdT = Aws::String>
92 ListCheckSummariesRequest& WithQuestionId(QuestionIdT&& value) { SetQuestionId(std::forward<QuestionIdT>(value)); return *this;}
94
96
97 inline const Aws::String& GetChoiceId() const { return m_choiceId; }
98 inline bool ChoiceIdHasBeenSet() const { return m_choiceIdHasBeenSet; }
99 template<typename ChoiceIdT = Aws::String>
100 void SetChoiceId(ChoiceIdT&& value) { m_choiceIdHasBeenSet = true; m_choiceId = std::forward<ChoiceIdT>(value); }
101 template<typename ChoiceIdT = Aws::String>
102 ListCheckSummariesRequest& WithChoiceId(ChoiceIdT&& value) { SetChoiceId(std::forward<ChoiceIdT>(value)); return *this;}
104 private:
105
106 Aws::String m_workloadId;
107 bool m_workloadIdHasBeenSet = false;
108
109 Aws::String m_nextToken;
110 bool m_nextTokenHasBeenSet = false;
111
112 int m_maxResults{0};
113 bool m_maxResultsHasBeenSet = false;
114
115 Aws::String m_lensArn;
116 bool m_lensArnHasBeenSet = false;
117
118 Aws::String m_pillarId;
119 bool m_pillarIdHasBeenSet = false;
120
121 Aws::String m_questionId;
122 bool m_questionIdHasBeenSet = false;
123
124 Aws::String m_choiceId;
125 bool m_choiceIdHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace WellArchitected
130} // namespace Aws
ListCheckSummariesRequest & WithLensArn(LensArnT &&value)
ListCheckSummariesRequest & WithQuestionId(QuestionIdT &&value)
ListCheckSummariesRequest & WithWorkloadId(WorkloadIdT &&value)
ListCheckSummariesRequest & WithPillarId(PillarIdT &&value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
ListCheckSummariesRequest & WithNextToken(NextTokenT &&value)
ListCheckSummariesRequest & WithChoiceId(ChoiceIdT &&value)
AWS_WELLARCHITECTED_API ListCheckSummariesRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String