AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListAppAssessmentsRequest.h
1
6#pragma once
7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/resiliencehub/ResilienceHubRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/resiliencehub/model/ComplianceStatus.h>
12#include <aws/resiliencehub/model/AssessmentInvoker.h>
13#include <aws/resiliencehub/model/AssessmentStatus.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Http
19{
20 class URI;
21} //namespace Http
22namespace ResilienceHub
23{
24namespace Model
25{
26
30 {
31 public:
32 AWS_RESILIENCEHUB_API ListAppAssessmentsRequest();
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 "ListAppAssessments"; }
39
40 AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override;
41
42 AWS_RESILIENCEHUB_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43
44
46
55 inline const Aws::String& GetAppArn() const{ return m_appArn; }
56 inline bool AppArnHasBeenSet() const { return m_appArnHasBeenSet; }
57 inline void SetAppArn(const Aws::String& value) { m_appArnHasBeenSet = true; m_appArn = value; }
58 inline void SetAppArn(Aws::String&& value) { m_appArnHasBeenSet = true; m_appArn = std::move(value); }
59 inline void SetAppArn(const char* value) { m_appArnHasBeenSet = true; m_appArn.assign(value); }
60 inline ListAppAssessmentsRequest& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;}
61 inline ListAppAssessmentsRequest& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;}
62 inline ListAppAssessmentsRequest& WithAppArn(const char* value) { SetAppArn(value); return *this;}
64
66
69 inline const Aws::String& GetAssessmentName() const{ return m_assessmentName; }
70 inline bool AssessmentNameHasBeenSet() const { return m_assessmentNameHasBeenSet; }
71 inline void SetAssessmentName(const Aws::String& value) { m_assessmentNameHasBeenSet = true; m_assessmentName = value; }
72 inline void SetAssessmentName(Aws::String&& value) { m_assessmentNameHasBeenSet = true; m_assessmentName = std::move(value); }
73 inline void SetAssessmentName(const char* value) { m_assessmentNameHasBeenSet = true; m_assessmentName.assign(value); }
74 inline ListAppAssessmentsRequest& WithAssessmentName(const Aws::String& value) { SetAssessmentName(value); return *this;}
75 inline ListAppAssessmentsRequest& WithAssessmentName(Aws::String&& value) { SetAssessmentName(std::move(value)); return *this;}
76 inline ListAppAssessmentsRequest& WithAssessmentName(const char* value) { SetAssessmentName(value); return *this;}
78
80
83 inline const Aws::Vector<AssessmentStatus>& GetAssessmentStatus() const{ return m_assessmentStatus; }
84 inline bool AssessmentStatusHasBeenSet() const { return m_assessmentStatusHasBeenSet; }
85 inline void SetAssessmentStatus(const Aws::Vector<AssessmentStatus>& value) { m_assessmentStatusHasBeenSet = true; m_assessmentStatus = value; }
86 inline void SetAssessmentStatus(Aws::Vector<AssessmentStatus>&& value) { m_assessmentStatusHasBeenSet = true; m_assessmentStatus = std::move(value); }
89 inline ListAppAssessmentsRequest& AddAssessmentStatus(const AssessmentStatus& value) { m_assessmentStatusHasBeenSet = true; m_assessmentStatus.push_back(value); return *this; }
90 inline ListAppAssessmentsRequest& AddAssessmentStatus(AssessmentStatus&& value) { m_assessmentStatusHasBeenSet = true; m_assessmentStatus.push_back(std::move(value)); return *this; }
92
94
97 inline const ComplianceStatus& GetComplianceStatus() const{ return m_complianceStatus; }
98 inline bool ComplianceStatusHasBeenSet() const { return m_complianceStatusHasBeenSet; }
99 inline void SetComplianceStatus(const ComplianceStatus& value) { m_complianceStatusHasBeenSet = true; m_complianceStatus = value; }
100 inline void SetComplianceStatus(ComplianceStatus&& value) { m_complianceStatusHasBeenSet = true; m_complianceStatus = std::move(value); }
102 inline ListAppAssessmentsRequest& WithComplianceStatus(ComplianceStatus&& value) { SetComplianceStatus(std::move(value)); return *this;}
104
106
110 inline const AssessmentInvoker& GetInvoker() const{ return m_invoker; }
111 inline bool InvokerHasBeenSet() const { return m_invokerHasBeenSet; }
112 inline void SetInvoker(const AssessmentInvoker& value) { m_invokerHasBeenSet = true; m_invoker = value; }
113 inline void SetInvoker(AssessmentInvoker&& value) { m_invokerHasBeenSet = true; m_invoker = std::move(value); }
114 inline ListAppAssessmentsRequest& WithInvoker(const AssessmentInvoker& value) { SetInvoker(value); return *this;}
115 inline ListAppAssessmentsRequest& WithInvoker(AssessmentInvoker&& value) { SetInvoker(std::move(value)); return *this;}
117
119
124 inline int GetMaxResults() const{ return m_maxResults; }
125 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
126 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
127 inline ListAppAssessmentsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
129
131
134 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
135 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
136 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
137 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
138 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
139 inline ListAppAssessmentsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
140 inline ListAppAssessmentsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
141 inline ListAppAssessmentsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
143
145
149 inline bool GetReverseOrder() const{ return m_reverseOrder; }
150 inline bool ReverseOrderHasBeenSet() const { return m_reverseOrderHasBeenSet; }
151 inline void SetReverseOrder(bool value) { m_reverseOrderHasBeenSet = true; m_reverseOrder = value; }
152 inline ListAppAssessmentsRequest& WithReverseOrder(bool value) { SetReverseOrder(value); return *this;}
154 private:
155
156 Aws::String m_appArn;
157 bool m_appArnHasBeenSet = false;
158
159 Aws::String m_assessmentName;
160 bool m_assessmentNameHasBeenSet = false;
161
162 Aws::Vector<AssessmentStatus> m_assessmentStatus;
163 bool m_assessmentStatusHasBeenSet = false;
164
165 ComplianceStatus m_complianceStatus;
166 bool m_complianceStatusHasBeenSet = false;
167
168 AssessmentInvoker m_invoker;
169 bool m_invokerHasBeenSet = false;
170
171 int m_maxResults;
172 bool m_maxResultsHasBeenSet = false;
173
174 Aws::String m_nextToken;
175 bool m_nextTokenHasBeenSet = false;
176
177 bool m_reverseOrder;
178 bool m_reverseOrderHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace ResilienceHub
183} // namespace Aws
ListAppAssessmentsRequest & WithComplianceStatus(ComplianceStatus &&value)
AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override
ListAppAssessmentsRequest & WithNextToken(const char *value)
ListAppAssessmentsRequest & WithInvoker(AssessmentInvoker &&value)
ListAppAssessmentsRequest & WithAppArn(const Aws::String &value)
ListAppAssessmentsRequest & WithComplianceStatus(const ComplianceStatus &value)
ListAppAssessmentsRequest & AddAssessmentStatus(const AssessmentStatus &value)
void SetAssessmentStatus(Aws::Vector< AssessmentStatus > &&value)
AWS_RESILIENCEHUB_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListAppAssessmentsRequest & WithNextToken(Aws::String &&value)
ListAppAssessmentsRequest & WithAssessmentStatus(const Aws::Vector< AssessmentStatus > &value)
ListAppAssessmentsRequest & WithAssessmentStatus(Aws::Vector< AssessmentStatus > &&value)
ListAppAssessmentsRequest & WithAppArn(const char *value)
ListAppAssessmentsRequest & WithAssessmentName(const char *value)
ListAppAssessmentsRequest & WithAppArn(Aws::String &&value)
ListAppAssessmentsRequest & WithInvoker(const AssessmentInvoker &value)
const Aws::Vector< AssessmentStatus > & GetAssessmentStatus() const
ListAppAssessmentsRequest & AddAssessmentStatus(AssessmentStatus &&value)
ListAppAssessmentsRequest & WithAssessmentName(Aws::String &&value)
ListAppAssessmentsRequest & WithAssessmentName(const Aws::String &value)
ListAppAssessmentsRequest & WithNextToken(const Aws::String &value)
void SetAssessmentStatus(const Aws::Vector< AssessmentStatus > &value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector