AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetWorkloadId(const Aws::String& value) { m_workloadIdHasBeenSet = true; m_workloadId = value; }
40 inline void SetWorkloadId(Aws::String&& value) { m_workloadIdHasBeenSet = true; m_workloadId = std::move(value); }
41 inline void SetWorkloadId(const char* value) { m_workloadIdHasBeenSet = true; m_workloadId.assign(value); }
42 inline ListCheckSummariesRequest& WithWorkloadId(const Aws::String& value) { SetWorkloadId(value); return *this;}
43 inline ListCheckSummariesRequest& WithWorkloadId(Aws::String&& value) { SetWorkloadId(std::move(value)); return *this;}
44 inline ListCheckSummariesRequest& WithWorkloadId(const char* value) { SetWorkloadId(value); return *this;}
46
48
49 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
50 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
51 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
52 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
53 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
54 inline ListCheckSummariesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
55 inline ListCheckSummariesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
56 inline ListCheckSummariesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
58
60
61 inline int GetMaxResults() const{ return m_maxResults; }
62 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
63 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
64 inline ListCheckSummariesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
66
68
71 inline const Aws::String& GetLensArn() const{ return m_lensArn; }
72 inline bool LensArnHasBeenSet() const { return m_lensArnHasBeenSet; }
73 inline void SetLensArn(const Aws::String& value) { m_lensArnHasBeenSet = true; m_lensArn = value; }
74 inline void SetLensArn(Aws::String&& value) { m_lensArnHasBeenSet = true; m_lensArn = std::move(value); }
75 inline void SetLensArn(const char* value) { m_lensArnHasBeenSet = true; m_lensArn.assign(value); }
76 inline ListCheckSummariesRequest& WithLensArn(const Aws::String& value) { SetLensArn(value); return *this;}
77 inline ListCheckSummariesRequest& WithLensArn(Aws::String&& value) { SetLensArn(std::move(value)); return *this;}
78 inline ListCheckSummariesRequest& WithLensArn(const char* value) { SetLensArn(value); return *this;}
80
82
83 inline const Aws::String& GetPillarId() const{ return m_pillarId; }
84 inline bool PillarIdHasBeenSet() const { return m_pillarIdHasBeenSet; }
85 inline void SetPillarId(const Aws::String& value) { m_pillarIdHasBeenSet = true; m_pillarId = value; }
86 inline void SetPillarId(Aws::String&& value) { m_pillarIdHasBeenSet = true; m_pillarId = std::move(value); }
87 inline void SetPillarId(const char* value) { m_pillarIdHasBeenSet = true; m_pillarId.assign(value); }
88 inline ListCheckSummariesRequest& WithPillarId(const Aws::String& value) { SetPillarId(value); return *this;}
89 inline ListCheckSummariesRequest& WithPillarId(Aws::String&& value) { SetPillarId(std::move(value)); return *this;}
90 inline ListCheckSummariesRequest& WithPillarId(const char* value) { SetPillarId(value); return *this;}
92
94
95 inline const Aws::String& GetQuestionId() const{ return m_questionId; }
96 inline bool QuestionIdHasBeenSet() const { return m_questionIdHasBeenSet; }
97 inline void SetQuestionId(const Aws::String& value) { m_questionIdHasBeenSet = true; m_questionId = value; }
98 inline void SetQuestionId(Aws::String&& value) { m_questionIdHasBeenSet = true; m_questionId = std::move(value); }
99 inline void SetQuestionId(const char* value) { m_questionIdHasBeenSet = true; m_questionId.assign(value); }
100 inline ListCheckSummariesRequest& WithQuestionId(const Aws::String& value) { SetQuestionId(value); return *this;}
101 inline ListCheckSummariesRequest& WithQuestionId(Aws::String&& value) { SetQuestionId(std::move(value)); return *this;}
102 inline ListCheckSummariesRequest& WithQuestionId(const char* value) { SetQuestionId(value); return *this;}
104
106
107 inline const Aws::String& GetChoiceId() const{ return m_choiceId; }
108 inline bool ChoiceIdHasBeenSet() const { return m_choiceIdHasBeenSet; }
109 inline void SetChoiceId(const Aws::String& value) { m_choiceIdHasBeenSet = true; m_choiceId = value; }
110 inline void SetChoiceId(Aws::String&& value) { m_choiceIdHasBeenSet = true; m_choiceId = std::move(value); }
111 inline void SetChoiceId(const char* value) { m_choiceIdHasBeenSet = true; m_choiceId.assign(value); }
112 inline ListCheckSummariesRequest& WithChoiceId(const Aws::String& value) { SetChoiceId(value); return *this;}
113 inline ListCheckSummariesRequest& WithChoiceId(Aws::String&& value) { SetChoiceId(std::move(value)); return *this;}
114 inline ListCheckSummariesRequest& WithChoiceId(const char* value) { SetChoiceId(value); return *this;}
116 private:
117
118 Aws::String m_workloadId;
119 bool m_workloadIdHasBeenSet = false;
120
121 Aws::String m_nextToken;
122 bool m_nextTokenHasBeenSet = false;
123
124 int m_maxResults;
125 bool m_maxResultsHasBeenSet = false;
126
127 Aws::String m_lensArn;
128 bool m_lensArnHasBeenSet = false;
129
130 Aws::String m_pillarId;
131 bool m_pillarIdHasBeenSet = false;
132
133 Aws::String m_questionId;
134 bool m_questionIdHasBeenSet = false;
135
136 Aws::String m_choiceId;
137 bool m_choiceIdHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace WellArchitected
142} // namespace Aws
ListCheckSummariesRequest & WithPillarId(Aws::String &&value)
ListCheckSummariesRequest & WithWorkloadId(Aws::String &&value)
ListCheckSummariesRequest & WithLensArn(const char *value)
ListCheckSummariesRequest & WithLensArn(Aws::String &&value)
ListCheckSummariesRequest & WithQuestionId(const char *value)
ListCheckSummariesRequest & WithPillarId(const char *value)
ListCheckSummariesRequest & WithChoiceId(Aws::String &&value)
ListCheckSummariesRequest & WithQuestionId(const Aws::String &value)
ListCheckSummariesRequest & WithChoiceId(const char *value)
ListCheckSummariesRequest & WithNextToken(Aws::String &&value)
ListCheckSummariesRequest & WithLensArn(const Aws::String &value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
ListCheckSummariesRequest & WithChoiceId(const Aws::String &value)
ListCheckSummariesRequest & WithWorkloadId(const char *value)
ListCheckSummariesRequest & WithNextToken(const char *value)
ListCheckSummariesRequest & WithWorkloadId(const Aws::String &value)
ListCheckSummariesRequest & WithPillarId(const Aws::String &value)
ListCheckSummariesRequest & WithQuestionId(Aws::String &&value)
ListCheckSummariesRequest & WithNextToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String