AWS SDK for C++  1.9.1
AWS SDK for C++
GetFindingsReportAccountSummaryRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace CodeGuruProfiler
19 {
20 namespace Model
21 {
22 
30  {
31  public:
33 
34  // Service request name is the Operation name which will send this request out,
35  // each operation should has unique request name, so that we can get operation's name from this request.
36  // Note: this is not true for response, multiple operations may have the same response name,
37  // so we can not get operation's name from response.
38  inline virtual const char* GetServiceRequestName() const override { return "GetFindingsReportAccountSummary"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43 
44 
51  inline bool GetDailyReportsOnly() const{ return m_dailyReportsOnly; }
52 
59  inline bool DailyReportsOnlyHasBeenSet() const { return m_dailyReportsOnlyHasBeenSet; }
60 
67  inline void SetDailyReportsOnly(bool value) { m_dailyReportsOnlyHasBeenSet = true; m_dailyReportsOnly = value; }
68 
75  inline GetFindingsReportAccountSummaryRequest& WithDailyReportsOnly(bool value) { SetDailyReportsOnly(value); return *this;}
76 
77 
88  inline int GetMaxResults() const{ return m_maxResults; }
89 
100  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
101 
112  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
113 
124  inline GetFindingsReportAccountSummaryRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
125 
126 
136  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
137 
147  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
148 
158  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
159 
169  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
170 
180  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
181 
191  inline GetFindingsReportAccountSummaryRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
192 
202  inline GetFindingsReportAccountSummaryRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
203 
213  inline GetFindingsReportAccountSummaryRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
214 
215  private:
216 
217  bool m_dailyReportsOnly;
218  bool m_dailyReportsOnlyHasBeenSet;
219 
220  int m_maxResults;
221  bool m_maxResultsHasBeenSet;
222 
223  Aws::String m_nextToken;
224  bool m_nextTokenHasBeenSet;
225  };
226 
227 } // namespace Model
228 } // namespace CodeGuruProfiler
229 } // namespace Aws
Aws::CodeGuruProfiler::Model::GetFindingsReportAccountSummaryRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetFindingsReportAccountSummaryRequest.h:158
Aws::CodeGuruProfiler::Model::GetFindingsReportAccountSummaryRequest::WithDailyReportsOnly
GetFindingsReportAccountSummaryRequest & WithDailyReportsOnly(bool value)
Definition: GetFindingsReportAccountSummaryRequest.h:75
Aws::CodeGuruProfiler::Model::GetFindingsReportAccountSummaryRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: GetFindingsReportAccountSummaryRequest.h:100
Aws::CodeGuruProfiler::Model::GetFindingsReportAccountSummaryRequest::WithNextToken
GetFindingsReportAccountSummaryRequest & WithNextToken(const Aws::String &value)
Definition: GetFindingsReportAccountSummaryRequest.h:191
Aws::Http::URI
Definition: URI.h:32
Aws::CodeGuruProfiler::Model::GetFindingsReportAccountSummaryRequest::SetMaxResults
void SetMaxResults(int value)
Definition: GetFindingsReportAccountSummaryRequest.h:112
AWS_CODEGURUPROFILER_API
#define AWS_CODEGURUPROFILER_API
Definition: CodeGuruProfiler_EXPORTS.h:28
Aws::CodeGuruProfiler::Model::GetFindingsReportAccountSummaryRequest::DailyReportsOnlyHasBeenSet
bool DailyReportsOnlyHasBeenSet() const
Definition: GetFindingsReportAccountSummaryRequest.h:59
Aws::CodeGuruProfiler::Model::GetFindingsReportAccountSummaryRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::CodeGuruProfiler::Model::GetFindingsReportAccountSummaryRequest::GetDailyReportsOnly
bool GetDailyReportsOnly() const
Definition: GetFindingsReportAccountSummaryRequest.h:51
Aws::CodeGuruProfiler::Model::GetFindingsReportAccountSummaryRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetFindingsReportAccountSummaryRequest.h:38
CodeGuruProfiler_EXPORTS.h
CodeGuruProfilerRequest.h
Aws::CodeGuruProfiler::Model::GetFindingsReportAccountSummaryRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::CodeGuruProfiler::Model::GetFindingsReportAccountSummaryRequest::SetNextToken
void SetNextToken(const char *value)
Definition: GetFindingsReportAccountSummaryRequest.h:180
AWSString.h
Aws::CodeGuruProfiler::Model::GetFindingsReportAccountSummaryRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetFindingsReportAccountSummaryRequest.h:169
Aws::CodeGuruProfiler::Model::GetFindingsReportAccountSummaryRequest::GetMaxResults
int GetMaxResults() const
Definition: GetFindingsReportAccountSummaryRequest.h:88
Aws::CodeGuruProfiler::Model::GetFindingsReportAccountSummaryRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: GetFindingsReportAccountSummaryRequest.h:147
Aws::CodeGuruProfiler::Model::GetFindingsReportAccountSummaryRequest::GetFindingsReportAccountSummaryRequest
GetFindingsReportAccountSummaryRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeGuruProfiler::Model::GetFindingsReportAccountSummaryRequest
Definition: GetFindingsReportAccountSummaryRequest.h:30
Aws::CodeGuruProfiler::Model::GetFindingsReportAccountSummaryRequest::WithNextToken
GetFindingsReportAccountSummaryRequest & WithNextToken(const char *value)
Definition: GetFindingsReportAccountSummaryRequest.h:213
Aws::CodeGuruProfiler::Model::GetFindingsReportAccountSummaryRequest::WithMaxResults
GetFindingsReportAccountSummaryRequest & WithMaxResults(int value)
Definition: GetFindingsReportAccountSummaryRequest.h:124
Aws::CodeGuruProfiler::CodeGuruProfilerRequest
Definition: CodeGuruProfilerRequest.h:18
Aws::CodeGuruProfiler::Model::GetFindingsReportAccountSummaryRequest::SetDailyReportsOnly
void SetDailyReportsOnly(bool value)
Definition: GetFindingsReportAccountSummaryRequest.h:67
Aws::CodeGuruProfiler::Model::GetFindingsReportAccountSummaryRequest::WithNextToken
GetFindingsReportAccountSummaryRequest & WithNextToken(Aws::String &&value)
Definition: GetFindingsReportAccountSummaryRequest.h:202
Aws::CodeGuruProfiler::Model::GetFindingsReportAccountSummaryRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetFindingsReportAccountSummaryRequest.h:136