AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAwsService(const Aws::String& value) { m_awsServiceHasBeenSet = true; m_awsService = value; }
51 inline void SetAwsService(Aws::String&& value) { m_awsServiceHasBeenSet = true; m_awsService = std::move(value); }
52 inline void SetAwsService(const char* value) { m_awsServiceHasBeenSet = true; m_awsService.assign(value); }
53 inline ListChecksRequest& WithAwsService(const Aws::String& value) { SetAwsService(value); return *this;}
54 inline ListChecksRequest& WithAwsService(Aws::String&& value) { SetAwsService(std::move(value)); return *this;}
55 inline ListChecksRequest& WithAwsService(const char* value) { SetAwsService(value); return *this;}
57
59
63 inline const RecommendationLanguage& GetLanguage() const{ return m_language; }
64 inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
65 inline void SetLanguage(const RecommendationLanguage& value) { m_languageHasBeenSet = true; m_language = value; }
66 inline void SetLanguage(RecommendationLanguage&& value) { m_languageHasBeenSet = true; m_language = std::move(value); }
67 inline ListChecksRequest& WithLanguage(const RecommendationLanguage& value) { SetLanguage(value); return *this;}
68 inline ListChecksRequest& WithLanguage(RecommendationLanguage&& value) { SetLanguage(std::move(value)); return *this;}
70
72
75 inline int GetMaxResults() const{ return m_maxResults; }
76 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
77 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
78 inline ListChecksRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
80
82
86 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
87 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
88 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
89 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
90 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
91 inline ListChecksRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
92 inline ListChecksRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
93 inline ListChecksRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
95
97
100 inline const RecommendationPillar& GetPillar() const{ return m_pillar; }
101 inline bool PillarHasBeenSet() const { return m_pillarHasBeenSet; }
102 inline void SetPillar(const RecommendationPillar& value) { m_pillarHasBeenSet = true; m_pillar = value; }
103 inline void SetPillar(RecommendationPillar&& value) { m_pillarHasBeenSet = true; m_pillar = std::move(value); }
104 inline ListChecksRequest& WithPillar(const RecommendationPillar& value) { SetPillar(value); return *this;}
105 inline ListChecksRequest& WithPillar(RecommendationPillar&& value) { SetPillar(std::move(value)); return *this;}
107
109
112 inline const RecommendationSource& GetSource() const{ return m_source; }
113 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
114 inline void SetSource(const RecommendationSource& value) { m_sourceHasBeenSet = true; m_source = value; }
115 inline void SetSource(RecommendationSource&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
116 inline ListChecksRequest& WithSource(const RecommendationSource& value) { SetSource(value); return *this;}
117 inline ListChecksRequest& WithSource(RecommendationSource&& value) { SetSource(std::move(value)); return *this;}
119 private:
120
121 Aws::String m_awsService;
122 bool m_awsServiceHasBeenSet = false;
123
124 RecommendationLanguage m_language;
125 bool m_languageHasBeenSet = false;
126
127 int m_maxResults;
128 bool m_maxResultsHasBeenSet = false;
129
130 Aws::String m_nextToken;
131 bool m_nextTokenHasBeenSet = false;
132
133 RecommendationPillar m_pillar;
134 bool m_pillarHasBeenSet = false;
135
136 RecommendationSource m_source;
137 bool m_sourceHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace TrustedAdvisor
142} // namespace Aws
void SetSource(RecommendationSource &&value)
const RecommendationSource & GetSource() const
const RecommendationPillar & GetPillar() const
AWS_TRUSTEDADVISOR_API Aws::String SerializePayload() const override
void SetLanguage(const RecommendationLanguage &value)
ListChecksRequest & WithAwsService(const Aws::String &value)
void SetPillar(const RecommendationPillar &value)
ListChecksRequest & WithLanguage(RecommendationLanguage &&value)
ListChecksRequest & WithSource(RecommendationSource &&value)
void SetPillar(RecommendationPillar &&value)
ListChecksRequest & WithAwsService(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ListChecksRequest & WithNextToken(const char *value)
AWS_TRUSTEDADVISOR_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetLanguage(RecommendationLanguage &&value)
ListChecksRequest & WithMaxResults(int value)
void SetAwsService(const Aws::String &value)
ListChecksRequest & WithAwsService(const char *value)
ListChecksRequest & WithLanguage(const RecommendationLanguage &value)
const RecommendationLanguage & GetLanguage() const
ListChecksRequest & WithNextToken(Aws::String &&value)
ListChecksRequest & WithNextToken(const Aws::String &value)
ListChecksRequest & WithSource(const RecommendationSource &value)
void SetNextToken(const Aws::String &value)
void SetSource(const RecommendationSource &value)
ListChecksRequest & WithPillar(RecommendationPillar &&value)
ListChecksRequest & WithPillar(const RecommendationPillar &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String