AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CodeRepositoryAggregationResponse.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/inspector2/model/SeverityCounts.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Inspector2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_INSPECTOR2_API CodeRepositoryAggregationResponse() = default;
39 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetAccountId() const { return m_accountId; }
47 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
48 template<typename AccountIdT = Aws::String>
49 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
50 template<typename AccountIdT = Aws::String>
51 CodeRepositoryAggregationResponse& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
53
55
59 inline long long GetExploitAvailableActiveFindingsCount() const { return m_exploitAvailableActiveFindingsCount; }
60 inline bool ExploitAvailableActiveFindingsCountHasBeenSet() const { return m_exploitAvailableActiveFindingsCountHasBeenSet; }
61 inline void SetExploitAvailableActiveFindingsCount(long long value) { m_exploitAvailableActiveFindingsCountHasBeenSet = true; m_exploitAvailableActiveFindingsCount = value; }
64
66
70 inline long long GetFixAvailableActiveFindingsCount() const { return m_fixAvailableActiveFindingsCount; }
71 inline bool FixAvailableActiveFindingsCountHasBeenSet() const { return m_fixAvailableActiveFindingsCountHasBeenSet; }
72 inline void SetFixAvailableActiveFindingsCount(long long value) { m_fixAvailableActiveFindingsCountHasBeenSet = true; m_fixAvailableActiveFindingsCount = value; }
75
77
80 inline const Aws::String& GetProjectNames() const { return m_projectNames; }
81 inline bool ProjectNamesHasBeenSet() const { return m_projectNamesHasBeenSet; }
82 template<typename ProjectNamesT = Aws::String>
83 void SetProjectNames(ProjectNamesT&& value) { m_projectNamesHasBeenSet = true; m_projectNames = std::forward<ProjectNamesT>(value); }
84 template<typename ProjectNamesT = Aws::String>
85 CodeRepositoryAggregationResponse& WithProjectNames(ProjectNamesT&& value) { SetProjectNames(std::forward<ProjectNamesT>(value)); return *this;}
87
89
92 inline const Aws::String& GetProviderType() const { return m_providerType; }
93 inline bool ProviderTypeHasBeenSet() const { return m_providerTypeHasBeenSet; }
94 template<typename ProviderTypeT = Aws::String>
95 void SetProviderType(ProviderTypeT&& value) { m_providerTypeHasBeenSet = true; m_providerType = std::forward<ProviderTypeT>(value); }
96 template<typename ProviderTypeT = Aws::String>
97 CodeRepositoryAggregationResponse& WithProviderType(ProviderTypeT&& value) { SetProviderType(std::forward<ProviderTypeT>(value)); return *this;}
99
101
104 inline const Aws::String& GetResourceId() const { return m_resourceId; }
105 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
106 template<typename ResourceIdT = Aws::String>
107 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::forward<ResourceIdT>(value); }
108 template<typename ResourceIdT = Aws::String>
109 CodeRepositoryAggregationResponse& WithResourceId(ResourceIdT&& value) { SetResourceId(std::forward<ResourceIdT>(value)); return *this;}
111
113
114 inline const SeverityCounts& GetSeverityCounts() const { return m_severityCounts; }
115 inline bool SeverityCountsHasBeenSet() const { return m_severityCountsHasBeenSet; }
116 template<typename SeverityCountsT = SeverityCounts>
117 void SetSeverityCounts(SeverityCountsT&& value) { m_severityCountsHasBeenSet = true; m_severityCounts = std::forward<SeverityCountsT>(value); }
118 template<typename SeverityCountsT = SeverityCounts>
119 CodeRepositoryAggregationResponse& WithSeverityCounts(SeverityCountsT&& value) { SetSeverityCounts(std::forward<SeverityCountsT>(value)); return *this;}
121 private:
122
123 Aws::String m_accountId;
124 bool m_accountIdHasBeenSet = false;
125
126 long long m_exploitAvailableActiveFindingsCount{0};
127 bool m_exploitAvailableActiveFindingsCountHasBeenSet = false;
128
129 long long m_fixAvailableActiveFindingsCount{0};
130 bool m_fixAvailableActiveFindingsCountHasBeenSet = false;
131
132 Aws::String m_projectNames;
133 bool m_projectNamesHasBeenSet = false;
134
135 Aws::String m_providerType;
136 bool m_providerTypeHasBeenSet = false;
137
138 Aws::String m_resourceId;
139 bool m_resourceIdHasBeenSet = false;
140
141 SeverityCounts m_severityCounts;
142 bool m_severityCountsHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace Inspector2
147} // namespace Aws
AWS_INSPECTOR2_API CodeRepositoryAggregationResponse()=default
CodeRepositoryAggregationResponse & WithFixAvailableActiveFindingsCount(long long value)
AWS_INSPECTOR2_API CodeRepositoryAggregationResponse(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API CodeRepositoryAggregationResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
CodeRepositoryAggregationResponse & WithProviderType(ProviderTypeT &&value)
CodeRepositoryAggregationResponse & WithExploitAvailableActiveFindingsCount(long long value)
CodeRepositoryAggregationResponse & WithSeverityCounts(SeverityCountsT &&value)
CodeRepositoryAggregationResponse & WithResourceId(ResourceIdT &&value)
CodeRepositoryAggregationResponse & WithProjectNames(ProjectNamesT &&value)
CodeRepositoryAggregationResponse & WithAccountId(AccountIdT &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue