AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
58 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
59 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
60 inline AwsCodeBuildProjectSource& WithType(const Aws::String& value) { SetType(value); return *this;}
61 inline AwsCodeBuildProjectSource& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
62 inline AwsCodeBuildProjectSource& WithType(const char* value) { SetType(value); return *this;}
64
66
86 inline const Aws::String& GetLocation() const{ return m_location; }
87 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
88 inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
89 inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
90 inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
91 inline AwsCodeBuildProjectSource& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
92 inline AwsCodeBuildProjectSource& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
93 inline AwsCodeBuildProjectSource& WithLocation(const char* value) { SetLocation(value); return *this;}
95
97
100 inline int GetGitCloneDepth() const{ return m_gitCloneDepth; }
101 inline bool GitCloneDepthHasBeenSet() const { return m_gitCloneDepthHasBeenSet; }
102 inline void SetGitCloneDepth(int value) { m_gitCloneDepthHasBeenSet = true; m_gitCloneDepth = value; }
103 inline AwsCodeBuildProjectSource& WithGitCloneDepth(int value) { SetGitCloneDepth(value); return *this;}
105
107
111 inline bool GetInsecureSsl() const{ return m_insecureSsl; }
112 inline bool InsecureSslHasBeenSet() const { return m_insecureSslHasBeenSet; }
113 inline void SetInsecureSsl(bool value) { m_insecureSslHasBeenSet = true; m_insecureSsl = value; }
114 inline AwsCodeBuildProjectSource& WithInsecureSsl(bool value) { SetInsecureSsl(value); return *this;}
116 private:
117
118 Aws::String m_type;
119 bool m_typeHasBeenSet = false;
120
121 Aws::String m_location;
122 bool m_locationHasBeenSet = false;
123
124 int m_gitCloneDepth;
125 bool m_gitCloneDepthHasBeenSet = false;
126
127 bool m_insecureSsl;
128 bool m_insecureSslHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace SecurityHub
133} // namespace Aws
AwsCodeBuildProjectSource & WithGitCloneDepth(int value)
AwsCodeBuildProjectSource & WithLocation(const char *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 & WithLocation(Aws::String &&value)
AwsCodeBuildProjectSource & WithType(Aws::String &&value)
AwsCodeBuildProjectSource & WithType(const char *value)
AwsCodeBuildProjectSource & WithLocation(const Aws::String &value)
AwsCodeBuildProjectSource & WithType(const Aws::String &value)
AwsCodeBuildProjectSource & WithInsecureSsl(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue