AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListRecommendationsRequest.h
1
6#pragma once
7#include <aws/trustedadvisor/TrustedAdvisor_EXPORTS.h>
8#include <aws/trustedadvisor/TrustedAdvisorRequest.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/trustedadvisor/model/RecommendationPillar.h>
12#include <aws/trustedadvisor/model/RecommendationSource.h>
13#include <aws/trustedadvisor/model/RecommendationStatus.h>
14#include <aws/trustedadvisor/model/RecommendationType.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Http
20{
21 class URI;
22} //namespace Http
23namespace TrustedAdvisor
24{
25namespace Model
26{
27
31 {
32 public:
33 AWS_TRUSTEDADVISOR_API ListRecommendationsRequest();
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "ListRecommendations"; }
40
41 AWS_TRUSTEDADVISOR_API Aws::String SerializePayload() const override;
42
43 AWS_TRUSTEDADVISOR_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
44
45
47
50 inline const Aws::Utils::DateTime& GetAfterLastUpdatedAt() const{ return m_afterLastUpdatedAt; }
51 inline bool AfterLastUpdatedAtHasBeenSet() const { return m_afterLastUpdatedAtHasBeenSet; }
52 inline void SetAfterLastUpdatedAt(const Aws::Utils::DateTime& value) { m_afterLastUpdatedAtHasBeenSet = true; m_afterLastUpdatedAt = value; }
53 inline void SetAfterLastUpdatedAt(Aws::Utils::DateTime&& value) { m_afterLastUpdatedAtHasBeenSet = true; m_afterLastUpdatedAt = std::move(value); }
57
59
62 inline const Aws::String& GetAwsService() const{ return m_awsService; }
63 inline bool AwsServiceHasBeenSet() const { return m_awsServiceHasBeenSet; }
64 inline void SetAwsService(const Aws::String& value) { m_awsServiceHasBeenSet = true; m_awsService = value; }
65 inline void SetAwsService(Aws::String&& value) { m_awsServiceHasBeenSet = true; m_awsService = std::move(value); }
66 inline void SetAwsService(const char* value) { m_awsServiceHasBeenSet = true; m_awsService.assign(value); }
67 inline ListRecommendationsRequest& WithAwsService(const Aws::String& value) { SetAwsService(value); return *this;}
68 inline ListRecommendationsRequest& WithAwsService(Aws::String&& value) { SetAwsService(std::move(value)); return *this;}
69 inline ListRecommendationsRequest& WithAwsService(const char* value) { SetAwsService(value); return *this;}
71
73
76 inline const Aws::Utils::DateTime& GetBeforeLastUpdatedAt() const{ return m_beforeLastUpdatedAt; }
77 inline bool BeforeLastUpdatedAtHasBeenSet() const { return m_beforeLastUpdatedAtHasBeenSet; }
78 inline void SetBeforeLastUpdatedAt(const Aws::Utils::DateTime& value) { m_beforeLastUpdatedAtHasBeenSet = true; m_beforeLastUpdatedAt = value; }
79 inline void SetBeforeLastUpdatedAt(Aws::Utils::DateTime&& value) { m_beforeLastUpdatedAtHasBeenSet = true; m_beforeLastUpdatedAt = std::move(value); }
83
85
88 inline const Aws::String& GetCheckIdentifier() const{ return m_checkIdentifier; }
89 inline bool CheckIdentifierHasBeenSet() const { return m_checkIdentifierHasBeenSet; }
90 inline void SetCheckIdentifier(const Aws::String& value) { m_checkIdentifierHasBeenSet = true; m_checkIdentifier = value; }
91 inline void SetCheckIdentifier(Aws::String&& value) { m_checkIdentifierHasBeenSet = true; m_checkIdentifier = std::move(value); }
92 inline void SetCheckIdentifier(const char* value) { m_checkIdentifierHasBeenSet = true; m_checkIdentifier.assign(value); }
94 inline ListRecommendationsRequest& WithCheckIdentifier(Aws::String&& value) { SetCheckIdentifier(std::move(value)); return *this;}
95 inline ListRecommendationsRequest& WithCheckIdentifier(const char* value) { SetCheckIdentifier(value); return *this;}
97
99
102 inline int GetMaxResults() const{ return m_maxResults; }
103 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
104 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
105 inline ListRecommendationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
107
109
113 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
114 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
115 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
116 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
117 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
118 inline ListRecommendationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
119 inline ListRecommendationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
120 inline ListRecommendationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
122
124
127 inline const RecommendationPillar& GetPillar() const{ return m_pillar; }
128 inline bool PillarHasBeenSet() const { return m_pillarHasBeenSet; }
129 inline void SetPillar(const RecommendationPillar& value) { m_pillarHasBeenSet = true; m_pillar = value; }
130 inline void SetPillar(RecommendationPillar&& value) { m_pillarHasBeenSet = true; m_pillar = std::move(value); }
131 inline ListRecommendationsRequest& WithPillar(const RecommendationPillar& value) { SetPillar(value); return *this;}
132 inline ListRecommendationsRequest& WithPillar(RecommendationPillar&& value) { SetPillar(std::move(value)); return *this;}
134
136
139 inline const RecommendationSource& GetSource() const{ return m_source; }
140 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
141 inline void SetSource(const RecommendationSource& value) { m_sourceHasBeenSet = true; m_source = value; }
142 inline void SetSource(RecommendationSource&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
143 inline ListRecommendationsRequest& WithSource(const RecommendationSource& value) { SetSource(value); return *this;}
144 inline ListRecommendationsRequest& WithSource(RecommendationSource&& value) { SetSource(std::move(value)); return *this;}
146
148
151 inline const RecommendationStatus& GetStatus() const{ return m_status; }
152 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
153 inline void SetStatus(const RecommendationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
154 inline void SetStatus(RecommendationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
155 inline ListRecommendationsRequest& WithStatus(const RecommendationStatus& value) { SetStatus(value); return *this;}
156 inline ListRecommendationsRequest& WithStatus(RecommendationStatus&& value) { SetStatus(std::move(value)); return *this;}
158
160
163 inline const RecommendationType& GetType() const{ return m_type; }
164 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
165 inline void SetType(const RecommendationType& value) { m_typeHasBeenSet = true; m_type = value; }
166 inline void SetType(RecommendationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
167 inline ListRecommendationsRequest& WithType(const RecommendationType& value) { SetType(value); return *this;}
168 inline ListRecommendationsRequest& WithType(RecommendationType&& value) { SetType(std::move(value)); return *this;}
170 private:
171
172 Aws::Utils::DateTime m_afterLastUpdatedAt;
173 bool m_afterLastUpdatedAtHasBeenSet = false;
174
175 Aws::String m_awsService;
176 bool m_awsServiceHasBeenSet = false;
177
178 Aws::Utils::DateTime m_beforeLastUpdatedAt;
179 bool m_beforeLastUpdatedAtHasBeenSet = false;
180
181 Aws::String m_checkIdentifier;
182 bool m_checkIdentifierHasBeenSet = false;
183
184 int m_maxResults;
185 bool m_maxResultsHasBeenSet = false;
186
187 Aws::String m_nextToken;
188 bool m_nextTokenHasBeenSet = false;
189
190 RecommendationPillar m_pillar;
191 bool m_pillarHasBeenSet = false;
192
193 RecommendationSource m_source;
194 bool m_sourceHasBeenSet = false;
195
196 RecommendationStatus m_status;
197 bool m_statusHasBeenSet = false;
198
199 RecommendationType m_type;
200 bool m_typeHasBeenSet = false;
201 };
202
203} // namespace Model
204} // namespace TrustedAdvisor
205} // namespace Aws
ListRecommendationsRequest & WithNextToken(const Aws::String &value)
ListRecommendationsRequest & WithAwsService(Aws::String &&value)
ListRecommendationsRequest & WithCheckIdentifier(const Aws::String &value)
ListRecommendationsRequest & WithBeforeLastUpdatedAt(Aws::Utils::DateTime &&value)
ListRecommendationsRequest & WithAwsService(const Aws::String &value)
ListRecommendationsRequest & WithNextToken(const char *value)
ListRecommendationsRequest & WithSource(RecommendationSource &&value)
ListRecommendationsRequest & WithType(const RecommendationType &value)
ListRecommendationsRequest & WithAfterLastUpdatedAt(Aws::Utils::DateTime &&value)
AWS_TRUSTEDADVISOR_API Aws::String SerializePayload() const override
ListRecommendationsRequest & WithCheckIdentifier(Aws::String &&value)
ListRecommendationsRequest & WithBeforeLastUpdatedAt(const Aws::Utils::DateTime &value)
AWS_TRUSTEDADVISOR_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListRecommendationsRequest & WithSource(const RecommendationSource &value)
void SetBeforeLastUpdatedAt(const Aws::Utils::DateTime &value)
ListRecommendationsRequest & WithPillar(RecommendationPillar &&value)
ListRecommendationsRequest & WithNextToken(Aws::String &&value)
ListRecommendationsRequest & WithType(RecommendationType &&value)
void SetAfterLastUpdatedAt(const Aws::Utils::DateTime &value)
ListRecommendationsRequest & WithCheckIdentifier(const char *value)
ListRecommendationsRequest & WithPillar(const RecommendationPillar &value)
ListRecommendationsRequest & WithAwsService(const char *value)
ListRecommendationsRequest & WithAfterLastUpdatedAt(const Aws::Utils::DateTime &value)
ListRecommendationsRequest & WithStatus(const RecommendationStatus &value)
ListRecommendationsRequest & WithStatus(RecommendationStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String