AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename AfterLastUpdatedAtT = Aws::Utils::DateTime>
53 void SetAfterLastUpdatedAt(AfterLastUpdatedAtT&& value) { m_afterLastUpdatedAtHasBeenSet = true; m_afterLastUpdatedAt = std::forward<AfterLastUpdatedAtT>(value); }
54 template<typename AfterLastUpdatedAtT = Aws::Utils::DateTime>
55 ListRecommendationsRequest& WithAfterLastUpdatedAt(AfterLastUpdatedAtT&& value) { SetAfterLastUpdatedAt(std::forward<AfterLastUpdatedAtT>(value)); return *this;}
57
59
62 inline const Aws::String& GetAwsService() const { return m_awsService; }
63 inline bool AwsServiceHasBeenSet() const { return m_awsServiceHasBeenSet; }
64 template<typename AwsServiceT = Aws::String>
65 void SetAwsService(AwsServiceT&& value) { m_awsServiceHasBeenSet = true; m_awsService = std::forward<AwsServiceT>(value); }
66 template<typename AwsServiceT = Aws::String>
67 ListRecommendationsRequest& WithAwsService(AwsServiceT&& value) { SetAwsService(std::forward<AwsServiceT>(value)); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetBeforeLastUpdatedAt() const { return m_beforeLastUpdatedAt; }
75 inline bool BeforeLastUpdatedAtHasBeenSet() const { return m_beforeLastUpdatedAtHasBeenSet; }
76 template<typename BeforeLastUpdatedAtT = Aws::Utils::DateTime>
77 void SetBeforeLastUpdatedAt(BeforeLastUpdatedAtT&& value) { m_beforeLastUpdatedAtHasBeenSet = true; m_beforeLastUpdatedAt = std::forward<BeforeLastUpdatedAtT>(value); }
78 template<typename BeforeLastUpdatedAtT = Aws::Utils::DateTime>
79 ListRecommendationsRequest& WithBeforeLastUpdatedAt(BeforeLastUpdatedAtT&& value) { SetBeforeLastUpdatedAt(std::forward<BeforeLastUpdatedAtT>(value)); return *this;}
81
83
86 inline const Aws::String& GetCheckIdentifier() const { return m_checkIdentifier; }
87 inline bool CheckIdentifierHasBeenSet() const { return m_checkIdentifierHasBeenSet; }
88 template<typename CheckIdentifierT = Aws::String>
89 void SetCheckIdentifier(CheckIdentifierT&& value) { m_checkIdentifierHasBeenSet = true; m_checkIdentifier = std::forward<CheckIdentifierT>(value); }
90 template<typename CheckIdentifierT = Aws::String>
91 ListRecommendationsRequest& WithCheckIdentifier(CheckIdentifierT&& value) { SetCheckIdentifier(std::forward<CheckIdentifierT>(value)); return *this;}
93
95
98 inline int GetMaxResults() const { return m_maxResults; }
99 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
100 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
101 inline ListRecommendationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
103
105
109 inline const Aws::String& GetNextToken() const { return m_nextToken; }
110 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
111 template<typename NextTokenT = Aws::String>
112 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
113 template<typename NextTokenT = Aws::String>
114 ListRecommendationsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
116
118
121 inline RecommendationPillar GetPillar() const { return m_pillar; }
122 inline bool PillarHasBeenSet() const { return m_pillarHasBeenSet; }
123 inline void SetPillar(RecommendationPillar value) { m_pillarHasBeenSet = true; m_pillar = value; }
126
128
131 inline RecommendationSource GetSource() const { return m_source; }
132 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
133 inline void SetSource(RecommendationSource value) { m_sourceHasBeenSet = true; m_source = value; }
136
138
141 inline RecommendationStatus GetStatus() const { return m_status; }
142 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
143 inline void SetStatus(RecommendationStatus value) { m_statusHasBeenSet = true; m_status = value; }
146
148
151 inline RecommendationType GetType() const { return m_type; }
152 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
153 inline void SetType(RecommendationType value) { m_typeHasBeenSet = true; m_type = value; }
154 inline ListRecommendationsRequest& WithType(RecommendationType value) { SetType(value); return *this;}
156 private:
157
158 Aws::Utils::DateTime m_afterLastUpdatedAt{};
159 bool m_afterLastUpdatedAtHasBeenSet = false;
160
161 Aws::String m_awsService;
162 bool m_awsServiceHasBeenSet = false;
163
164 Aws::Utils::DateTime m_beforeLastUpdatedAt{};
165 bool m_beforeLastUpdatedAtHasBeenSet = false;
166
167 Aws::String m_checkIdentifier;
168 bool m_checkIdentifierHasBeenSet = false;
169
170 int m_maxResults{0};
171 bool m_maxResultsHasBeenSet = false;
172
173 Aws::String m_nextToken;
174 bool m_nextTokenHasBeenSet = false;
175
177 bool m_pillarHasBeenSet = false;
178
180 bool m_sourceHasBeenSet = false;
181
183 bool m_statusHasBeenSet = false;
184
186 bool m_typeHasBeenSet = false;
187 };
188
189} // namespace Model
190} // namespace TrustedAdvisor
191} // namespace Aws
AWS_TRUSTEDADVISOR_API ListRecommendationsRequest()=default
ListRecommendationsRequest & WithPillar(RecommendationPillar value)
ListRecommendationsRequest & WithSource(RecommendationSource value)
AWS_TRUSTEDADVISOR_API Aws::String SerializePayload() const override
ListRecommendationsRequest & WithAfterLastUpdatedAt(AfterLastUpdatedAtT &&value)
ListRecommendationsRequest & WithCheckIdentifier(CheckIdentifierT &&value)
AWS_TRUSTEDADVISOR_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListRecommendationsRequest & WithStatus(RecommendationStatus value)
ListRecommendationsRequest & WithAwsService(AwsServiceT &&value)
ListRecommendationsRequest & WithNextToken(NextTokenT &&value)
ListRecommendationsRequest & WithBeforeLastUpdatedAt(BeforeLastUpdatedAtT &&value)
ListRecommendationsRequest & WithType(RecommendationType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String