AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListAppsRequest.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/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace ResilienceHub
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_RESILIENCEHUB_API ListAppsRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListApps"; }
36
37 AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override;
38
39 AWS_RESILIENCEHUB_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
52 inline const Aws::String& GetAppArn() const{ return m_appArn; }
53 inline bool AppArnHasBeenSet() const { return m_appArnHasBeenSet; }
54 inline void SetAppArn(const Aws::String& value) { m_appArnHasBeenSet = true; m_appArn = value; }
55 inline void SetAppArn(Aws::String&& value) { m_appArnHasBeenSet = true; m_appArn = std::move(value); }
56 inline void SetAppArn(const char* value) { m_appArnHasBeenSet = true; m_appArn.assign(value); }
57 inline ListAppsRequest& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;}
58 inline ListAppsRequest& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;}
59 inline ListAppsRequest& WithAppArn(const char* value) { SetAppArn(value); return *this;}
61
63
70 inline const Aws::String& GetAwsApplicationArn() const{ return m_awsApplicationArn; }
71 inline bool AwsApplicationArnHasBeenSet() const { return m_awsApplicationArnHasBeenSet; }
72 inline void SetAwsApplicationArn(const Aws::String& value) { m_awsApplicationArnHasBeenSet = true; m_awsApplicationArn = value; }
73 inline void SetAwsApplicationArn(Aws::String&& value) { m_awsApplicationArnHasBeenSet = true; m_awsApplicationArn = std::move(value); }
74 inline void SetAwsApplicationArn(const char* value) { m_awsApplicationArnHasBeenSet = true; m_awsApplicationArn.assign(value); }
75 inline ListAppsRequest& WithAwsApplicationArn(const Aws::String& value) { SetAwsApplicationArn(value); return *this;}
76 inline ListAppsRequest& WithAwsApplicationArn(Aws::String&& value) { SetAwsApplicationArn(std::move(value)); return *this;}
77 inline ListAppsRequest& WithAwsApplicationArn(const char* value) { SetAwsApplicationArn(value); return *this;}
79
81
85 inline const Aws::Utils::DateTime& GetFromLastAssessmentTime() const{ return m_fromLastAssessmentTime; }
86 inline bool FromLastAssessmentTimeHasBeenSet() const { return m_fromLastAssessmentTimeHasBeenSet; }
87 inline void SetFromLastAssessmentTime(const Aws::Utils::DateTime& value) { m_fromLastAssessmentTimeHasBeenSet = true; m_fromLastAssessmentTime = value; }
88 inline void SetFromLastAssessmentTime(Aws::Utils::DateTime&& value) { m_fromLastAssessmentTimeHasBeenSet = true; m_fromLastAssessmentTime = std::move(value); }
92
94
99 inline int GetMaxResults() const{ return m_maxResults; }
100 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
101 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
102 inline ListAppsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
104
106
109 inline const Aws::String& GetName() const{ return m_name; }
110 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
111 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
112 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
113 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
114 inline ListAppsRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
115 inline ListAppsRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
116 inline ListAppsRequest& WithName(const char* value) { SetName(value); return *this;}
118
120
123 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
124 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
125 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
126 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
127 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
128 inline ListAppsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
129 inline ListAppsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
130 inline ListAppsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
132
134
140 inline bool GetReverseOrder() const{ return m_reverseOrder; }
141 inline bool ReverseOrderHasBeenSet() const { return m_reverseOrderHasBeenSet; }
142 inline void SetReverseOrder(bool value) { m_reverseOrderHasBeenSet = true; m_reverseOrder = value; }
143 inline ListAppsRequest& WithReverseOrder(bool value) { SetReverseOrder(value); return *this;}
145
147
151 inline const Aws::Utils::DateTime& GetToLastAssessmentTime() const{ return m_toLastAssessmentTime; }
152 inline bool ToLastAssessmentTimeHasBeenSet() const { return m_toLastAssessmentTimeHasBeenSet; }
153 inline void SetToLastAssessmentTime(const Aws::Utils::DateTime& value) { m_toLastAssessmentTimeHasBeenSet = true; m_toLastAssessmentTime = value; }
154 inline void SetToLastAssessmentTime(Aws::Utils::DateTime&& value) { m_toLastAssessmentTimeHasBeenSet = true; m_toLastAssessmentTime = std::move(value); }
158 private:
159
160 Aws::String m_appArn;
161 bool m_appArnHasBeenSet = false;
162
163 Aws::String m_awsApplicationArn;
164 bool m_awsApplicationArnHasBeenSet = false;
165
166 Aws::Utils::DateTime m_fromLastAssessmentTime;
167 bool m_fromLastAssessmentTimeHasBeenSet = false;
168
169 int m_maxResults;
170 bool m_maxResultsHasBeenSet = false;
171
172 Aws::String m_name;
173 bool m_nameHasBeenSet = false;
174
175 Aws::String m_nextToken;
176 bool m_nextTokenHasBeenSet = false;
177
178 bool m_reverseOrder;
179 bool m_reverseOrderHasBeenSet = false;
180
181 Aws::Utils::DateTime m_toLastAssessmentTime;
182 bool m_toLastAssessmentTimeHasBeenSet = false;
183 };
184
185} // namespace Model
186} // namespace ResilienceHub
187} // namespace Aws
ListAppsRequest & WithAwsApplicationArn(const char *value)
AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override
void SetFromLastAssessmentTime(const Aws::Utils::DateTime &value)
ListAppsRequest & WithAwsApplicationArn(const Aws::String &value)
const Aws::Utils::DateTime & GetFromLastAssessmentTime() const
ListAppsRequest & WithNextToken(const char *value)
void SetToLastAssessmentTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetToLastAssessmentTime() const
ListAppsRequest & WithName(const Aws::String &value)
ListAppsRequest & WithAwsApplicationArn(Aws::String &&value)
void SetFromLastAssessmentTime(Aws::Utils::DateTime &&value)
void SetAwsApplicationArn(const Aws::String &value)
const Aws::String & GetAwsApplicationArn() const
ListAppsRequest & WithFromLastAssessmentTime(const Aws::Utils::DateTime &value)
ListAppsRequest & WithMaxResults(int value)
void SetName(const Aws::String &value)
void SetNextToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ListAppsRequest & WithAppArn(const char *value)
ListAppsRequest & WithAppArn(Aws::String &&value)
AWS_RESILIENCEHUB_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListAppsRequest & WithReverseOrder(bool value)
ListAppsRequest & WithNextToken(const Aws::String &value)
void SetToLastAssessmentTime(Aws::Utils::DateTime &&value)
void SetAppArn(const Aws::String &value)
ListAppsRequest & WithToLastAssessmentTime(Aws::Utils::DateTime &&value)
ListAppsRequest & WithToLastAssessmentTime(const Aws::Utils::DateTime &value)
void SetAwsApplicationArn(Aws::String &&value)
ListAppsRequest & WithFromLastAssessmentTime(Aws::Utils::DateTime &&value)
ListAppsRequest & WithAppArn(const Aws::String &value)
ListAppsRequest & WithName(const char *value)
ListAppsRequest & WithName(Aws::String &&value)
ListAppsRequest & WithNextToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String