AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateScanResult.h
1
6#pragma once
7#include <aws/codeguru-security/CodeGuruSecurity_EXPORTS.h>
8#include <aws/codeguru-security/model/ResourceId.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codeguru-security/model/ScanState.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace CodeGuruSecurity
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CODEGURUSECURITY_API CreateScanResult();
35
36
38
42 inline const ResourceId& GetResourceId() const{ return m_resourceId; }
43 inline void SetResourceId(const ResourceId& value) { m_resourceId = value; }
44 inline void SetResourceId(ResourceId&& value) { m_resourceId = std::move(value); }
45 inline CreateScanResult& WithResourceId(const ResourceId& value) { SetResourceId(value); return *this;}
46 inline CreateScanResult& WithResourceId(ResourceId&& value) { SetResourceId(std::move(value)); return *this;}
48
50
53 inline const Aws::String& GetRunId() const{ return m_runId; }
54 inline void SetRunId(const Aws::String& value) { m_runId = value; }
55 inline void SetRunId(Aws::String&& value) { m_runId = std::move(value); }
56 inline void SetRunId(const char* value) { m_runId.assign(value); }
57 inline CreateScanResult& WithRunId(const Aws::String& value) { SetRunId(value); return *this;}
58 inline CreateScanResult& WithRunId(Aws::String&& value) { SetRunId(std::move(value)); return *this;}
59 inline CreateScanResult& WithRunId(const char* value) { SetRunId(value); return *this;}
61
63
66 inline const Aws::String& GetScanName() const{ return m_scanName; }
67 inline void SetScanName(const Aws::String& value) { m_scanName = value; }
68 inline void SetScanName(Aws::String&& value) { m_scanName = std::move(value); }
69 inline void SetScanName(const char* value) { m_scanName.assign(value); }
70 inline CreateScanResult& WithScanName(const Aws::String& value) { SetScanName(value); return *this;}
71 inline CreateScanResult& WithScanName(Aws::String&& value) { SetScanName(std::move(value)); return *this;}
72 inline CreateScanResult& WithScanName(const char* value) { SetScanName(value); return *this;}
74
76
79 inline const Aws::String& GetScanNameArn() const{ return m_scanNameArn; }
80 inline void SetScanNameArn(const Aws::String& value) { m_scanNameArn = value; }
81 inline void SetScanNameArn(Aws::String&& value) { m_scanNameArn = std::move(value); }
82 inline void SetScanNameArn(const char* value) { m_scanNameArn.assign(value); }
83 inline CreateScanResult& WithScanNameArn(const Aws::String& value) { SetScanNameArn(value); return *this;}
84 inline CreateScanResult& WithScanNameArn(Aws::String&& value) { SetScanNameArn(std::move(value)); return *this;}
85 inline CreateScanResult& WithScanNameArn(const char* value) { SetScanNameArn(value); return *this;}
87
89
93 inline const ScanState& GetScanState() const{ return m_scanState; }
94 inline void SetScanState(const ScanState& value) { m_scanState = value; }
95 inline void SetScanState(ScanState&& value) { m_scanState = std::move(value); }
96 inline CreateScanResult& WithScanState(const ScanState& value) { SetScanState(value); return *this;}
97 inline CreateScanResult& WithScanState(ScanState&& value) { SetScanState(std::move(value)); return *this;}
99
101
102 inline const Aws::String& GetRequestId() const{ return m_requestId; }
103 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
104 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
105 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
106 inline CreateScanResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
107 inline CreateScanResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
108 inline CreateScanResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
110 private:
111
112 ResourceId m_resourceId;
113
114 Aws::String m_runId;
115
116 Aws::String m_scanName;
117
118 Aws::String m_scanNameArn;
119
120 ScanState m_scanState;
121
122 Aws::String m_requestId;
123 };
124
125} // namespace Model
126} // namespace CodeGuruSecurity
127} // namespace Aws
CreateScanResult & WithScanNameArn(const char *value)
CreateScanResult & WithRequestId(const Aws::String &value)
CreateScanResult & WithScanNameArn(Aws::String &&value)
void SetScanNameArn(const Aws::String &value)
CreateScanResult & WithRequestId(const char *value)
CreateScanResult & WithScanName(const Aws::String &value)
CreateScanResult & WithScanNameArn(const Aws::String &value)
CreateScanResult & WithScanState(ScanState &&value)
CreateScanResult & WithScanState(const ScanState &value)
AWS_CODEGURUSECURITY_API CreateScanResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateScanResult & WithScanName(Aws::String &&value)
CreateScanResult & WithScanName(const char *value)
AWS_CODEGURUSECURITY_API CreateScanResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateScanResult & WithRunId(const Aws::String &value)
AWS_CODEGURUSECURITY_API CreateScanResult()
CreateScanResult & WithRunId(Aws::String &&value)
CreateScanResult & WithResourceId(ResourceId &&value)
CreateScanResult & WithResourceId(const ResourceId &value)
CreateScanResult & WithRunId(const char *value)
CreateScanResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue