AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
AwsCodeBuildProjectSource.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
29 public:
30 AWS_SECURITYHUB_API AwsCodeBuildProjectSource() = default;
33 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
49 inline const Aws::String& GetType() const { return m_type; }
50 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
51 template <typename TypeT = Aws::String>
52 void SetType(TypeT&& value) {
53 m_typeHasBeenSet = true;
54 m_type = std::forward<TypeT>(value);
55 }
56 template <typename TypeT = Aws::String>
58 SetType(std::forward<TypeT>(value));
59 return *this;
60 }
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) {
88 m_locationHasBeenSet = true;
89 m_location = std::forward<LocationT>(value);
90 }
91 template <typename LocationT = Aws::String>
93 SetLocation(std::forward<LocationT>(value));
94 return *this;
95 }
97
99
102 inline int GetGitCloneDepth() const { return m_gitCloneDepth; }
103 inline bool GitCloneDepthHasBeenSet() const { return m_gitCloneDepthHasBeenSet; }
104 inline void SetGitCloneDepth(int value) {
105 m_gitCloneDepthHasBeenSet = true;
106 m_gitCloneDepth = value;
107 }
109 SetGitCloneDepth(value);
110 return *this;
111 }
113
115
119 inline bool GetInsecureSsl() const { return m_insecureSsl; }
120 inline bool InsecureSslHasBeenSet() const { return m_insecureSslHasBeenSet; }
121 inline void SetInsecureSsl(bool value) {
122 m_insecureSslHasBeenSet = true;
123 m_insecureSsl = value;
124 }
126 SetInsecureSsl(value);
127 return *this;
128 }
130 private:
131 Aws::String m_type;
132
133 Aws::String m_location;
134
135 int m_gitCloneDepth{0};
136
137 bool m_insecureSsl{false};
138 bool m_typeHasBeenSet = false;
139 bool m_locationHasBeenSet = false;
140 bool m_gitCloneDepthHasBeenSet = false;
141 bool m_insecureSslHasBeenSet = false;
142};
143
144} // namespace Model
145} // namespace SecurityHub
146} // 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