AWS SDK for C++

AWS SDK for C++ Version 1.11.635

Loading...
Searching...
No Matches
CodeRepositoryDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_SECURITYHUB_API CodeRepositoryDetails() = default;
37 AWS_SECURITYHUB_API CodeRepositoryDetails(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetProviderType() const { return m_providerType; }
47 inline bool ProviderTypeHasBeenSet() const { return m_providerTypeHasBeenSet; }
48 template<typename ProviderTypeT = Aws::String>
49 void SetProviderType(ProviderTypeT&& value) { m_providerTypeHasBeenSet = true; m_providerType = std::forward<ProviderTypeT>(value); }
50 template<typename ProviderTypeT = Aws::String>
51 CodeRepositoryDetails& WithProviderType(ProviderTypeT&& value) { SetProviderType(std::forward<ProviderTypeT>(value)); return *this;}
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) { m_projectNameHasBeenSet = true; m_projectName = std::forward<ProjectNameT>(value); }
62 template<typename ProjectNameT = Aws::String>
63 CodeRepositoryDetails& WithProjectName(ProjectNameT&& value) { SetProjectName(std::forward<ProjectNameT>(value)); return *this;}
65
67
71 inline const Aws::String& GetCodeSecurityIntegrationArn() const { return m_codeSecurityIntegrationArn; }
72 inline bool CodeSecurityIntegrationArnHasBeenSet() const { return m_codeSecurityIntegrationArnHasBeenSet; }
73 template<typename CodeSecurityIntegrationArnT = Aws::String>
74 void SetCodeSecurityIntegrationArn(CodeSecurityIntegrationArnT&& value) { m_codeSecurityIntegrationArnHasBeenSet = true; m_codeSecurityIntegrationArn = std::forward<CodeSecurityIntegrationArnT>(value); }
75 template<typename CodeSecurityIntegrationArnT = Aws::String>
76 CodeRepositoryDetails& WithCodeSecurityIntegrationArn(CodeSecurityIntegrationArnT&& value) { SetCodeSecurityIntegrationArn(std::forward<CodeSecurityIntegrationArnT>(value)); return *this;}
78 private:
79
80 Aws::String m_providerType;
81 bool m_providerTypeHasBeenSet = false;
82
83 Aws::String m_projectName;
84 bool m_projectNameHasBeenSet = false;
85
86 Aws::String m_codeSecurityIntegrationArn;
87 bool m_codeSecurityIntegrationArnHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace SecurityHub
92} // 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