AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CodeRepositoryDetails.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/CodeRepositoryProviderType.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 CodeRepositoryDetails() = default;
39 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetIntegrationArn() const { return m_integrationArn; }
48 inline bool IntegrationArnHasBeenSet() const { return m_integrationArnHasBeenSet; }
49 template<typename IntegrationArnT = Aws::String>
50 void SetIntegrationArn(IntegrationArnT&& value) { m_integrationArnHasBeenSet = true; m_integrationArn = std::forward<IntegrationArnT>(value); }
51 template<typename IntegrationArnT = Aws::String>
52 CodeRepositoryDetails& WithIntegrationArn(IntegrationArnT&& value) { SetIntegrationArn(std::forward<IntegrationArnT>(value)); return *this;}
54
56
59 inline const Aws::String& GetProjectName() const { return m_projectName; }
60 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
61 template<typename ProjectNameT = Aws::String>
62 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet = true; m_projectName = std::forward<ProjectNameT>(value); }
63 template<typename ProjectNameT = Aws::String>
64 CodeRepositoryDetails& WithProjectName(ProjectNameT&& value) { SetProjectName(std::forward<ProjectNameT>(value)); return *this;}
66
68
71 inline CodeRepositoryProviderType GetProviderType() const { return m_providerType; }
72 inline bool ProviderTypeHasBeenSet() const { return m_providerTypeHasBeenSet; }
73 inline void SetProviderType(CodeRepositoryProviderType value) { m_providerTypeHasBeenSet = true; m_providerType = value; }
76 private:
77
78 Aws::String m_integrationArn;
79 bool m_integrationArnHasBeenSet = false;
80
81 Aws::String m_projectName;
82 bool m_projectNameHasBeenSet = false;
83
85 bool m_providerTypeHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Inspector2
90} // namespace Aws
CodeRepositoryProviderType GetProviderType() const
CodeRepositoryDetails & WithProjectName(ProjectNameT &&value)
AWS_INSPECTOR2_API CodeRepositoryDetails()=default
void SetProviderType(CodeRepositoryProviderType value)
CodeRepositoryDetails & WithProviderType(CodeRepositoryProviderType value)
CodeRepositoryDetails & WithIntegrationArn(IntegrationArnT &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_INSPECTOR2_API CodeRepositoryDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API CodeRepositoryDetails(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue