AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename AppArnT = Aws::String>
55 void SetAppArn(AppArnT&& value) { m_appArnHasBeenSet = true; m_appArn = std::forward<AppArnT>(value); }
56 template<typename AppArnT = Aws::String>
57 ListAppsRequest& WithAppArn(AppArnT&& value) { SetAppArn(std::forward<AppArnT>(value)); return *this;}
59
61
68 inline const Aws::String& GetAwsApplicationArn() const { return m_awsApplicationArn; }
69 inline bool AwsApplicationArnHasBeenSet() const { return m_awsApplicationArnHasBeenSet; }
70 template<typename AwsApplicationArnT = Aws::String>
71 void SetAwsApplicationArn(AwsApplicationArnT&& value) { m_awsApplicationArnHasBeenSet = true; m_awsApplicationArn = std::forward<AwsApplicationArnT>(value); }
72 template<typename AwsApplicationArnT = Aws::String>
73 ListAppsRequest& WithAwsApplicationArn(AwsApplicationArnT&& value) { SetAwsApplicationArn(std::forward<AwsApplicationArnT>(value)); return *this;}
75
77
81 inline const Aws::Utils::DateTime& GetFromLastAssessmentTime() const { return m_fromLastAssessmentTime; }
82 inline bool FromLastAssessmentTimeHasBeenSet() const { return m_fromLastAssessmentTimeHasBeenSet; }
83 template<typename FromLastAssessmentTimeT = Aws::Utils::DateTime>
84 void SetFromLastAssessmentTime(FromLastAssessmentTimeT&& value) { m_fromLastAssessmentTimeHasBeenSet = true; m_fromLastAssessmentTime = std::forward<FromLastAssessmentTimeT>(value); }
85 template<typename FromLastAssessmentTimeT = Aws::Utils::DateTime>
86 ListAppsRequest& WithFromLastAssessmentTime(FromLastAssessmentTimeT&& value) { SetFromLastAssessmentTime(std::forward<FromLastAssessmentTimeT>(value)); return *this;}
88
90
95 inline int GetMaxResults() const { return m_maxResults; }
96 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
97 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
98 inline ListAppsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
100
102
105 inline const Aws::String& GetName() const { return m_name; }
106 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
107 template<typename NameT = Aws::String>
108 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
109 template<typename NameT = Aws::String>
110 ListAppsRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
112
114
117 inline const Aws::String& GetNextToken() const { return m_nextToken; }
118 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
119 template<typename NextTokenT = Aws::String>
120 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
121 template<typename NextTokenT = Aws::String>
122 ListAppsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
124
126
132 inline bool GetReverseOrder() const { return m_reverseOrder; }
133 inline bool ReverseOrderHasBeenSet() const { return m_reverseOrderHasBeenSet; }
134 inline void SetReverseOrder(bool value) { m_reverseOrderHasBeenSet = true; m_reverseOrder = value; }
135 inline ListAppsRequest& WithReverseOrder(bool value) { SetReverseOrder(value); return *this;}
137
139
143 inline const Aws::Utils::DateTime& GetToLastAssessmentTime() const { return m_toLastAssessmentTime; }
144 inline bool ToLastAssessmentTimeHasBeenSet() const { return m_toLastAssessmentTimeHasBeenSet; }
145 template<typename ToLastAssessmentTimeT = Aws::Utils::DateTime>
146 void SetToLastAssessmentTime(ToLastAssessmentTimeT&& value) { m_toLastAssessmentTimeHasBeenSet = true; m_toLastAssessmentTime = std::forward<ToLastAssessmentTimeT>(value); }
147 template<typename ToLastAssessmentTimeT = Aws::Utils::DateTime>
148 ListAppsRequest& WithToLastAssessmentTime(ToLastAssessmentTimeT&& value) { SetToLastAssessmentTime(std::forward<ToLastAssessmentTimeT>(value)); return *this;}
150 private:
151
152 Aws::String m_appArn;
153 bool m_appArnHasBeenSet = false;
154
155 Aws::String m_awsApplicationArn;
156 bool m_awsApplicationArnHasBeenSet = false;
157
158 Aws::Utils::DateTime m_fromLastAssessmentTime{};
159 bool m_fromLastAssessmentTimeHasBeenSet = false;
160
161 int m_maxResults{0};
162 bool m_maxResultsHasBeenSet = false;
163
164 Aws::String m_name;
165 bool m_nameHasBeenSet = false;
166
167 Aws::String m_nextToken;
168 bool m_nextTokenHasBeenSet = false;
169
170 bool m_reverseOrder{false};
171 bool m_reverseOrderHasBeenSet = false;
172
173 Aws::Utils::DateTime m_toLastAssessmentTime{};
174 bool m_toLastAssessmentTimeHasBeenSet = false;
175 };
176
177} // namespace Model
178} // namespace ResilienceHub
179} // namespace Aws
ListAppsRequest & WithAppArn(AppArnT &&value)
AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override
const Aws::Utils::DateTime & GetFromLastAssessmentTime() const
ListAppsRequest & WithFromLastAssessmentTime(FromLastAssessmentTimeT &&value)
const Aws::Utils::DateTime & GetToLastAssessmentTime() const
const Aws::String & GetAwsApplicationArn() const
ListAppsRequest & WithMaxResults(int value)
ListAppsRequest & WithNextToken(NextTokenT &&value)
void SetFromLastAssessmentTime(FromLastAssessmentTimeT &&value)
virtual const char * GetServiceRequestName() const override
AWS_RESILIENCEHUB_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListAppsRequest & WithReverseOrder(bool value)
void SetAwsApplicationArn(AwsApplicationArnT &&value)
void SetToLastAssessmentTime(ToLastAssessmentTimeT &&value)
ListAppsRequest & WithAwsApplicationArn(AwsApplicationArnT &&value)
AWS_RESILIENCEHUB_API ListAppsRequest()=default
ListAppsRequest & WithToLastAssessmentTime(ToLastAssessmentTimeT &&value)
ListAppsRequest & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String