AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CodeRepositoryDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityHub {
20namespace Model {
21
30 public:
31 AWS_SECURITYHUB_API CodeRepositoryDetails() = default;
32 AWS_SECURITYHUB_API CodeRepositoryDetails(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetProviderType() const { return m_providerType; }
41 inline bool ProviderTypeHasBeenSet() const { return m_providerTypeHasBeenSet; }
42 template <typename ProviderTypeT = Aws::String>
43 void SetProviderType(ProviderTypeT&& value) {
44 m_providerTypeHasBeenSet = true;
45 m_providerType = std::forward<ProviderTypeT>(value);
46 }
47 template <typename ProviderTypeT = Aws::String>
48 CodeRepositoryDetails& WithProviderType(ProviderTypeT&& value) {
49 SetProviderType(std::forward<ProviderTypeT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetProjectName() const { return m_projectName; }
59 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
60 template <typename ProjectNameT = Aws::String>
61 void SetProjectName(ProjectNameT&& value) {
62 m_projectNameHasBeenSet = true;
63 m_projectName = std::forward<ProjectNameT>(value);
64 }
65 template <typename ProjectNameT = Aws::String>
66 CodeRepositoryDetails& WithProjectName(ProjectNameT&& value) {
67 SetProjectName(std::forward<ProjectNameT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetCodeSecurityIntegrationArn() const { return m_codeSecurityIntegrationArn; }
78 inline bool CodeSecurityIntegrationArnHasBeenSet() const { return m_codeSecurityIntegrationArnHasBeenSet; }
79 template <typename CodeSecurityIntegrationArnT = Aws::String>
80 void SetCodeSecurityIntegrationArn(CodeSecurityIntegrationArnT&& value) {
81 m_codeSecurityIntegrationArnHasBeenSet = true;
82 m_codeSecurityIntegrationArn = std::forward<CodeSecurityIntegrationArnT>(value);
83 }
84 template <typename CodeSecurityIntegrationArnT = Aws::String>
85 CodeRepositoryDetails& WithCodeSecurityIntegrationArn(CodeSecurityIntegrationArnT&& value) {
86 SetCodeSecurityIntegrationArn(std::forward<CodeSecurityIntegrationArnT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_providerType;
92
93 Aws::String m_projectName;
94
95 Aws::String m_codeSecurityIntegrationArn;
96 bool m_providerTypeHasBeenSet = false;
97 bool m_projectNameHasBeenSet = false;
98 bool m_codeSecurityIntegrationArnHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace SecurityHub
103} // namespace Aws
AWS_SECURITYHUB_API CodeRepositoryDetails()=default
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API CodeRepositoryDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
CodeRepositoryDetails & WithProjectName(ProjectNameT &&value)
CodeRepositoryDetails & WithProviderType(ProviderTypeT &&value)
AWS_SECURITYHUB_API CodeRepositoryDetails(Aws::Utils::Json::JsonView jsonValue)
CodeRepositoryDetails & WithCodeSecurityIntegrationArn(CodeSecurityIntegrationArnT &&value)
void SetCodeSecurityIntegrationArn(CodeSecurityIntegrationArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue