AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
GetScanRequest.h
1
6#pragma once
7#include <aws/codeguru-security/CodeGuruSecurityRequest.h>
8#include <aws/codeguru-security/CodeGuruSecurity_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace CodeGuruSecurity {
18namespace Model {
19
23 public:
24 AWS_CODEGURUSECURITY_API GetScanRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetScan"; }
31
32 AWS_CODEGURUSECURITY_API Aws::String SerializePayload() const override;
33
34 AWS_CODEGURUSECURITY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetScanName() const { return m_scanName; }
41 inline bool ScanNameHasBeenSet() const { return m_scanNameHasBeenSet; }
42 template <typename ScanNameT = Aws::String>
43 void SetScanName(ScanNameT&& value) {
44 m_scanNameHasBeenSet = true;
45 m_scanName = std::forward<ScanNameT>(value);
46 }
47 template <typename ScanNameT = Aws::String>
48 GetScanRequest& WithScanName(ScanNameT&& value) {
49 SetScanName(std::forward<ScanNameT>(value));
50 return *this;
51 }
53
55
60 inline const Aws::String& GetRunId() const { return m_runId; }
61 inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; }
62 template <typename RunIdT = Aws::String>
63 void SetRunId(RunIdT&& value) {
64 m_runIdHasBeenSet = true;
65 m_runId = std::forward<RunIdT>(value);
66 }
67 template <typename RunIdT = Aws::String>
68 GetScanRequest& WithRunId(RunIdT&& value) {
69 SetRunId(std::forward<RunIdT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_scanName;
75
76 Aws::String m_runId;
77 bool m_scanNameHasBeenSet = false;
78 bool m_runIdHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace CodeGuruSecurity
83} // namespace Aws
AWS_CODEGURUSECURITY_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_CODEGURUSECURITY_API GetScanRequest()=default
GetScanRequest & WithScanName(ScanNameT &&value)
AWS_CODEGURUSECURITY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetScanRequest & WithRunId(RunIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String