AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScanSummary.h
1
6#pragma once
7#include <aws/codeguru-security/CodeGuruSecurity_EXPORTS.h>
8#include <aws/core/utils/DateTime.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{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace CodeGuruSecurity
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_CODEGURUSECURITY_API ScanSummary();
37 AWS_CODEGURUSECURITY_API ScanSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEGURUSECURITY_API ScanSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODEGURUSECURITY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
47 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
48 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
49 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
50 inline ScanSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
51 inline ScanSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetRunId() const{ return m_runId; }
59 inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; }
60 inline void SetRunId(const Aws::String& value) { m_runIdHasBeenSet = true; m_runId = value; }
61 inline void SetRunId(Aws::String&& value) { m_runIdHasBeenSet = true; m_runId = std::move(value); }
62 inline void SetRunId(const char* value) { m_runIdHasBeenSet = true; m_runId.assign(value); }
63 inline ScanSummary& WithRunId(const Aws::String& value) { SetRunId(value); return *this;}
64 inline ScanSummary& WithRunId(Aws::String&& value) { SetRunId(std::move(value)); return *this;}
65 inline ScanSummary& WithRunId(const char* value) { SetRunId(value); return *this;}
67
69
72 inline const Aws::String& GetScanName() const{ return m_scanName; }
73 inline bool ScanNameHasBeenSet() const { return m_scanNameHasBeenSet; }
74 inline void SetScanName(const Aws::String& value) { m_scanNameHasBeenSet = true; m_scanName = value; }
75 inline void SetScanName(Aws::String&& value) { m_scanNameHasBeenSet = true; m_scanName = std::move(value); }
76 inline void SetScanName(const char* value) { m_scanNameHasBeenSet = true; m_scanName.assign(value); }
77 inline ScanSummary& WithScanName(const Aws::String& value) { SetScanName(value); return *this;}
78 inline ScanSummary& WithScanName(Aws::String&& value) { SetScanName(std::move(value)); return *this;}
79 inline ScanSummary& WithScanName(const char* value) { SetScanName(value); return *this;}
81
83
86 inline const Aws::String& GetScanNameArn() const{ return m_scanNameArn; }
87 inline bool ScanNameArnHasBeenSet() const { return m_scanNameArnHasBeenSet; }
88 inline void SetScanNameArn(const Aws::String& value) { m_scanNameArnHasBeenSet = true; m_scanNameArn = value; }
89 inline void SetScanNameArn(Aws::String&& value) { m_scanNameArnHasBeenSet = true; m_scanNameArn = std::move(value); }
90 inline void SetScanNameArn(const char* value) { m_scanNameArnHasBeenSet = true; m_scanNameArn.assign(value); }
91 inline ScanSummary& WithScanNameArn(const Aws::String& value) { SetScanNameArn(value); return *this;}
92 inline ScanSummary& WithScanNameArn(Aws::String&& value) { SetScanNameArn(std::move(value)); return *this;}
93 inline ScanSummary& WithScanNameArn(const char* value) { SetScanNameArn(value); return *this;}
95
97
101 inline const ScanState& GetScanState() const{ return m_scanState; }
102 inline bool ScanStateHasBeenSet() const { return m_scanStateHasBeenSet; }
103 inline void SetScanState(const ScanState& value) { m_scanStateHasBeenSet = true; m_scanState = value; }
104 inline void SetScanState(ScanState&& value) { m_scanStateHasBeenSet = true; m_scanState = std::move(value); }
105 inline ScanSummary& WithScanState(const ScanState& value) { SetScanState(value); return *this;}
106 inline ScanSummary& WithScanState(ScanState&& value) { SetScanState(std::move(value)); return *this;}
108
110
113 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
114 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
115 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
116 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
117 inline ScanSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
118 inline ScanSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
120 private:
121
122 Aws::Utils::DateTime m_createdAt;
123 bool m_createdAtHasBeenSet = false;
124
125 Aws::String m_runId;
126 bool m_runIdHasBeenSet = false;
127
128 Aws::String m_scanName;
129 bool m_scanNameHasBeenSet = false;
130
131 Aws::String m_scanNameArn;
132 bool m_scanNameArnHasBeenSet = false;
133
134 ScanState m_scanState;
135 bool m_scanStateHasBeenSet = false;
136
137 Aws::Utils::DateTime m_updatedAt;
138 bool m_updatedAtHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace CodeGuruSecurity
143} // namespace Aws
void SetScanNameArn(Aws::String &&value)
Definition ScanSummary.h:89
ScanSummary & WithScanNameArn(const char *value)
Definition ScanSummary.h:93
ScanSummary & WithScanNameArn(Aws::String &&value)
Definition ScanSummary.h:92
void SetScanName(Aws::String &&value)
Definition ScanSummary.h:75
const ScanState & GetScanState() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition ScanSummary.h:49
const Aws::String & GetRunId() const
Definition ScanSummary.h:58
ScanSummary & WithRunId(Aws::String &&value)
Definition ScanSummary.h:64
void SetRunId(Aws::String &&value)
Definition ScanSummary.h:61
ScanSummary & WithScanName(const Aws::String &value)
Definition ScanSummary.h:77
ScanSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition ScanSummary.h:50
void SetScanNameArn(const Aws::String &value)
Definition ScanSummary.h:88
void SetUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
Definition ScanSummary.h:46
ScanSummary & WithRunId(const char *value)
Definition ScanSummary.h:65
ScanSummary & WithScanState(ScanState &&value)
AWS_CODEGURUSECURITY_API ScanSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetUpdatedAt() const
ScanSummary & WithRunId(const Aws::String &value)
Definition ScanSummary.h:63
void SetUpdatedAt(const Aws::Utils::DateTime &value)
void SetScanState(const ScanState &value)
AWS_CODEGURUSECURITY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition ScanSummary.h:48
void SetScanName(const Aws::String &value)
Definition ScanSummary.h:74
const Aws::String & GetScanName() const
Definition ScanSummary.h:72
const Aws::String & GetScanNameArn() const
Definition ScanSummary.h:86
AWS_CODEGURUSECURITY_API ScanSummary(Aws::Utils::Json::JsonView jsonValue)
ScanSummary & WithScanName(Aws::String &&value)
Definition ScanSummary.h:78
ScanSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetRunId(const Aws::String &value)
Definition ScanSummary.h:60
ScanSummary & WithScanState(const ScanState &value)
ScanSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
ScanSummary & WithScanNameArn(const Aws::String &value)
Definition ScanSummary.h:91
ScanSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition ScanSummary.h:51
void SetScanNameArn(const char *value)
Definition ScanSummary.h:90
ScanSummary & WithScanName(const char *value)
Definition ScanSummary.h:79
AWS_CODEGURUSECURITY_API ScanSummary()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue