AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsCodeBuildProjectSource.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
33 {
34 public:
35 AWS_SECURITYHUB_API AwsCodeBuildProjectSource() = default;
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
55 inline const Aws::String& GetType() const { return m_type; }
56 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
57 template<typename TypeT = Aws::String>
58 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
59 template<typename TypeT = Aws::String>
60 AwsCodeBuildProjectSource& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
62
64
84 inline const Aws::String& GetLocation() const { return m_location; }
85 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
86 template<typename LocationT = Aws::String>
87 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
88 template<typename LocationT = Aws::String>
89 AwsCodeBuildProjectSource& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
91
93
96 inline int GetGitCloneDepth() const { return m_gitCloneDepth; }
97 inline bool GitCloneDepthHasBeenSet() const { return m_gitCloneDepthHasBeenSet; }
98 inline void SetGitCloneDepth(int value) { m_gitCloneDepthHasBeenSet = true; m_gitCloneDepth = value; }
99 inline AwsCodeBuildProjectSource& WithGitCloneDepth(int value) { SetGitCloneDepth(value); return *this;}
101
103
107 inline bool GetInsecureSsl() const { return m_insecureSsl; }
108 inline bool InsecureSslHasBeenSet() const { return m_insecureSslHasBeenSet; }
109 inline void SetInsecureSsl(bool value) { m_insecureSslHasBeenSet = true; m_insecureSsl = value; }
110 inline AwsCodeBuildProjectSource& WithInsecureSsl(bool value) { SetInsecureSsl(value); return *this;}
112 private:
113
114 Aws::String m_type;
115 bool m_typeHasBeenSet = false;
116
117 Aws::String m_location;
118 bool m_locationHasBeenSet = false;
119
120 int m_gitCloneDepth{0};
121 bool m_gitCloneDepthHasBeenSet = false;
122
123 bool m_insecureSsl{false};
124 bool m_insecureSslHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace SecurityHub
129} // namespace Aws
AWS_SECURITYHUB_API AwsCodeBuildProjectSource()=default
AwsCodeBuildProjectSource & WithGitCloneDepth(int value)
AWS_SECURITYHUB_API AwsCodeBuildProjectSource(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsCodeBuildProjectSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsCodeBuildProjectSource & WithType(TypeT &&value)
AwsCodeBuildProjectSource & WithInsecureSsl(bool value)
AwsCodeBuildProjectSource & WithLocation(LocationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue