AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListChecksRequest.h
1
6#pragma once
7#include <aws/trustedadvisor/TrustedAdvisor_EXPORTS.h>
8#include <aws/trustedadvisor/TrustedAdvisorRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/trustedadvisor/model/RecommendationLanguage.h>
11#include <aws/trustedadvisor/model/RecommendationPillar.h>
12#include <aws/trustedadvisor/model/RecommendationSource.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Http
18{
19 class URI;
20} //namespace Http
21namespace TrustedAdvisor
22{
23namespace Model
24{
25
29 {
30 public:
31 AWS_TRUSTEDADVISOR_API ListChecksRequest() = default;
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "ListChecks"; }
38
39 AWS_TRUSTEDADVISOR_API Aws::String SerializePayload() const override;
40
41 AWS_TRUSTEDADVISOR_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
43
45
48 inline const Aws::String& GetAwsService() const { return m_awsService; }
49 inline bool AwsServiceHasBeenSet() const { return m_awsServiceHasBeenSet; }
50 template<typename AwsServiceT = Aws::String>
51 void SetAwsService(AwsServiceT&& value) { m_awsServiceHasBeenSet = true; m_awsService = std::forward<AwsServiceT>(value); }
52 template<typename AwsServiceT = Aws::String>
53 ListChecksRequest& WithAwsService(AwsServiceT&& value) { SetAwsService(std::forward<AwsServiceT>(value)); return *this;}
55
57
61 inline RecommendationLanguage GetLanguage() const { return m_language; }
62 inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
63 inline void SetLanguage(RecommendationLanguage value) { m_languageHasBeenSet = true; m_language = value; }
64 inline ListChecksRequest& WithLanguage(RecommendationLanguage value) { SetLanguage(value); return *this;}
66
68
71 inline int GetMaxResults() const { return m_maxResults; }
72 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
73 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
74 inline ListChecksRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
76
78
82 inline const Aws::String& GetNextToken() const { return m_nextToken; }
83 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
84 template<typename NextTokenT = Aws::String>
85 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
86 template<typename NextTokenT = Aws::String>
87 ListChecksRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
89
91
94 inline RecommendationPillar GetPillar() const { return m_pillar; }
95 inline bool PillarHasBeenSet() const { return m_pillarHasBeenSet; }
96 inline void SetPillar(RecommendationPillar value) { m_pillarHasBeenSet = true; m_pillar = value; }
97 inline ListChecksRequest& WithPillar(RecommendationPillar value) { SetPillar(value); return *this;}
99
101
104 inline RecommendationSource GetSource() const { return m_source; }
105 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
106 inline void SetSource(RecommendationSource value) { m_sourceHasBeenSet = true; m_source = value; }
107 inline ListChecksRequest& WithSource(RecommendationSource value) { SetSource(value); return *this;}
109 private:
110
111 Aws::String m_awsService;
112 bool m_awsServiceHasBeenSet = false;
113
115 bool m_languageHasBeenSet = false;
116
117 int m_maxResults{0};
118 bool m_maxResultsHasBeenSet = false;
119
120 Aws::String m_nextToken;
121 bool m_nextTokenHasBeenSet = false;
122
124 bool m_pillarHasBeenSet = false;
125
127 bool m_sourceHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace TrustedAdvisor
132} // namespace Aws
void SetLanguage(RecommendationLanguage value)
ListChecksRequest & WithLanguage(RecommendationLanguage value)
ListChecksRequest & WithPillar(RecommendationPillar value)
AWS_TRUSTEDADVISOR_API Aws::String SerializePayload() const override
ListChecksRequest & WithAwsService(AwsServiceT &&value)
virtual const char * GetServiceRequestName() const override
AWS_TRUSTEDADVISOR_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetPillar(RecommendationPillar value)
ListChecksRequest & WithSource(RecommendationSource value)
ListChecksRequest & WithNextToken(NextTokenT &&value)
ListChecksRequest & WithMaxResults(int value)
void SetSource(RecommendationSource value)
AWS_TRUSTEDADVISOR_API ListChecksRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String