AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetFindingsRequest.h
1
6#pragma once
7#include <aws/codeguru-security/CodeGuruSecurity_EXPORTS.h>
8#include <aws/codeguru-security/CodeGuruSecurityRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codeguru-security/model/Status.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace CodeGuruSecurity
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_CODEGURUSECURITY_API GetFindingsRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "GetFindings"; }
36
37 AWS_CODEGURUSECURITY_API Aws::String SerializePayload() const override;
38
39 AWS_CODEGURUSECURITY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
50 inline int GetMaxResults() const{ return m_maxResults; }
51 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
52 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
53 inline GetFindingsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
55
57
63 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
64 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
65 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
66 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
67 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
68 inline GetFindingsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
69 inline GetFindingsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
70 inline GetFindingsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
72
74
77 inline const Aws::String& GetScanName() const{ return m_scanName; }
78 inline bool ScanNameHasBeenSet() const { return m_scanNameHasBeenSet; }
79 inline void SetScanName(const Aws::String& value) { m_scanNameHasBeenSet = true; m_scanName = value; }
80 inline void SetScanName(Aws::String&& value) { m_scanNameHasBeenSet = true; m_scanName = std::move(value); }
81 inline void SetScanName(const char* value) { m_scanNameHasBeenSet = true; m_scanName.assign(value); }
82 inline GetFindingsRequest& WithScanName(const Aws::String& value) { SetScanName(value); return *this;}
83 inline GetFindingsRequest& WithScanName(Aws::String&& value) { SetScanName(std::move(value)); return *this;}
84 inline GetFindingsRequest& WithScanName(const char* value) { SetScanName(value); return *this;}
86
88
92 inline const Status& GetStatus() const{ return m_status; }
93 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
94 inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; }
95 inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
96 inline GetFindingsRequest& WithStatus(const Status& value) { SetStatus(value); return *this;}
97 inline GetFindingsRequest& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
99 private:
100
101 int m_maxResults;
102 bool m_maxResultsHasBeenSet = false;
103
104 Aws::String m_nextToken;
105 bool m_nextTokenHasBeenSet = false;
106
107 Aws::String m_scanName;
108 bool m_scanNameHasBeenSet = false;
109
110 Status m_status;
111 bool m_statusHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace CodeGuruSecurity
116} // namespace Aws
GetFindingsRequest & WithScanName(Aws::String &&value)
AWS_CODEGURUSECURITY_API Aws::String SerializePayload() const override
GetFindingsRequest & WithStatus(Status &&value)
virtual const char * GetServiceRequestName() const override
GetFindingsRequest & WithStatus(const Status &value)
AWS_CODEGURUSECURITY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetFindingsRequest & WithNextToken(Aws::String &&value)
GetFindingsRequest & WithScanName(const Aws::String &value)
GetFindingsRequest & WithScanName(const char *value)
GetFindingsRequest & WithNextToken(const Aws::String &value)
GetFindingsRequest & WithNextToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String