AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GitConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_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 SageMaker
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SAGEMAKER_API GitConfig();
36 AWS_SAGEMAKER_API GitConfig(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SAGEMAKER_API GitConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetRepositoryUrl() const{ return m_repositoryUrl; }
46 inline bool RepositoryUrlHasBeenSet() const { return m_repositoryUrlHasBeenSet; }
47 inline void SetRepositoryUrl(const Aws::String& value) { m_repositoryUrlHasBeenSet = true; m_repositoryUrl = value; }
48 inline void SetRepositoryUrl(Aws::String&& value) { m_repositoryUrlHasBeenSet = true; m_repositoryUrl = std::move(value); }
49 inline void SetRepositoryUrl(const char* value) { m_repositoryUrlHasBeenSet = true; m_repositoryUrl.assign(value); }
50 inline GitConfig& WithRepositoryUrl(const Aws::String& value) { SetRepositoryUrl(value); return *this;}
51 inline GitConfig& WithRepositoryUrl(Aws::String&& value) { SetRepositoryUrl(std::move(value)); return *this;}
52 inline GitConfig& WithRepositoryUrl(const char* value) { SetRepositoryUrl(value); return *this;}
54
56
59 inline const Aws::String& GetBranch() const{ return m_branch; }
60 inline bool BranchHasBeenSet() const { return m_branchHasBeenSet; }
61 inline void SetBranch(const Aws::String& value) { m_branchHasBeenSet = true; m_branch = value; }
62 inline void SetBranch(Aws::String&& value) { m_branchHasBeenSet = true; m_branch = std::move(value); }
63 inline void SetBranch(const char* value) { m_branchHasBeenSet = true; m_branch.assign(value); }
64 inline GitConfig& WithBranch(const Aws::String& value) { SetBranch(value); return *this;}
65 inline GitConfig& WithBranch(Aws::String&& value) { SetBranch(std::move(value)); return *this;}
66 inline GitConfig& WithBranch(const char* value) { SetBranch(value); return *this;}
68
70
77 inline const Aws::String& GetSecretArn() const{ return m_secretArn; }
78 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
79 inline void SetSecretArn(const Aws::String& value) { m_secretArnHasBeenSet = true; m_secretArn = value; }
80 inline void SetSecretArn(Aws::String&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::move(value); }
81 inline void SetSecretArn(const char* value) { m_secretArnHasBeenSet = true; m_secretArn.assign(value); }
82 inline GitConfig& WithSecretArn(const Aws::String& value) { SetSecretArn(value); return *this;}
83 inline GitConfig& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;}
84 inline GitConfig& WithSecretArn(const char* value) { SetSecretArn(value); return *this;}
86 private:
87
88 Aws::String m_repositoryUrl;
89 bool m_repositoryUrlHasBeenSet = false;
90
91 Aws::String m_branch;
92 bool m_branchHasBeenSet = false;
93
94 Aws::String m_secretArn;
95 bool m_secretArnHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace SageMaker
100} // namespace Aws
void SetSecretArn(Aws::String &&value)
Definition GitConfig.h:80
GitConfig & WithBranch(const char *value)
Definition GitConfig.h:66
AWS_SAGEMAKER_API GitConfig()
GitConfig & WithRepositoryUrl(Aws::String &&value)
Definition GitConfig.h:51
void SetBranch(const Aws::String &value)
Definition GitConfig.h:61
GitConfig & WithBranch(const Aws::String &value)
Definition GitConfig.h:64
AWS_SAGEMAKER_API GitConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSecretArn(const Aws::String &value)
Definition GitConfig.h:79
GitConfig & WithRepositoryUrl(const char *value)
Definition GitConfig.h:52
GitConfig & WithSecretArn(const char *value)
Definition GitConfig.h:84
GitConfig & WithRepositoryUrl(const Aws::String &value)
Definition GitConfig.h:50
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
GitConfig & WithSecretArn(Aws::String &&value)
Definition GitConfig.h:83
void SetRepositoryUrl(const char *value)
Definition GitConfig.h:49
const Aws::String & GetRepositoryUrl() const
Definition GitConfig.h:45
void SetSecretArn(const char *value)
Definition GitConfig.h:81
void SetBranch(const char *value)
Definition GitConfig.h:63
void SetRepositoryUrl(Aws::String &&value)
Definition GitConfig.h:48
void SetBranch(Aws::String &&value)
Definition GitConfig.h:62
GitConfig & WithBranch(Aws::String &&value)
Definition GitConfig.h:65
const Aws::String & GetBranch() const
Definition GitConfig.h:59
GitConfig & WithSecretArn(const Aws::String &value)
Definition GitConfig.h:82
AWS_SAGEMAKER_API GitConfig(Aws::Utils::Json::JsonView jsonValue)
void SetRepositoryUrl(const Aws::String &value)
Definition GitConfig.h:47
const Aws::String & GetSecretArn() const
Definition GitConfig.h:77
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue