AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename RepositoryUrlT = Aws::String>
48 void SetRepositoryUrl(RepositoryUrlT&& value) { m_repositoryUrlHasBeenSet = true; m_repositoryUrl = std::forward<RepositoryUrlT>(value); }
49 template<typename RepositoryUrlT = Aws::String>
50 GitConfig& WithRepositoryUrl(RepositoryUrlT&& value) { SetRepositoryUrl(std::forward<RepositoryUrlT>(value)); return *this;}
52
54
57 inline const Aws::String& GetBranch() const { return m_branch; }
58 inline bool BranchHasBeenSet() const { return m_branchHasBeenSet; }
59 template<typename BranchT = Aws::String>
60 void SetBranch(BranchT&& value) { m_branchHasBeenSet = true; m_branch = std::forward<BranchT>(value); }
61 template<typename BranchT = Aws::String>
62 GitConfig& WithBranch(BranchT&& value) { SetBranch(std::forward<BranchT>(value)); return *this;}
64
66
73 inline const Aws::String& GetSecretArn() const { return m_secretArn; }
74 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
75 template<typename SecretArnT = Aws::String>
76 void SetSecretArn(SecretArnT&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::forward<SecretArnT>(value); }
77 template<typename SecretArnT = Aws::String>
78 GitConfig& WithSecretArn(SecretArnT&& value) { SetSecretArn(std::forward<SecretArnT>(value)); return *this;}
80 private:
81
82 Aws::String m_repositoryUrl;
83 bool m_repositoryUrlHasBeenSet = false;
84
85 Aws::String m_branch;
86 bool m_branchHasBeenSet = false;
87
88 Aws::String m_secretArn;
89 bool m_secretArnHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace SageMaker
94} // namespace Aws
GitConfig & WithBranch(BranchT &&value)
Definition GitConfig.h:62
AWS_SAGEMAKER_API GitConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
GitConfig & WithSecretArn(SecretArnT &&value)
Definition GitConfig.h:78
void SetSecretArn(SecretArnT &&value)
Definition GitConfig.h:76
AWS_SAGEMAKER_API GitConfig()=default
void SetBranch(BranchT &&value)
Definition GitConfig.h:60
GitConfig & WithRepositoryUrl(RepositoryUrlT &&value)
Definition GitConfig.h:50
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRepositoryUrl() const
Definition GitConfig.h:45
const Aws::String & GetBranch() const
Definition GitConfig.h:57
AWS_SAGEMAKER_API GitConfig(Aws::Utils::Json::JsonView jsonValue)
void SetRepositoryUrl(RepositoryUrlT &&value)
Definition GitConfig.h:48
const Aws::String & GetSecretArn() const
Definition GitConfig.h:73
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue