AWS SDK for C++  1.9.126
AWS SDK for C++
GitConfig.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SageMaker
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetRepositoryUrl() const{ return m_repositoryUrl; }
45 
49  inline bool RepositoryUrlHasBeenSet() const { return m_repositoryUrlHasBeenSet; }
50 
54  inline void SetRepositoryUrl(const Aws::String& value) { m_repositoryUrlHasBeenSet = true; m_repositoryUrl = value; }
55 
59  inline void SetRepositoryUrl(Aws::String&& value) { m_repositoryUrlHasBeenSet = true; m_repositoryUrl = std::move(value); }
60 
64  inline void SetRepositoryUrl(const char* value) { m_repositoryUrlHasBeenSet = true; m_repositoryUrl.assign(value); }
65 
69  inline GitConfig& WithRepositoryUrl(const Aws::String& value) { SetRepositoryUrl(value); return *this;}
70 
74  inline GitConfig& WithRepositoryUrl(Aws::String&& value) { SetRepositoryUrl(std::move(value)); return *this;}
75 
79  inline GitConfig& WithRepositoryUrl(const char* value) { SetRepositoryUrl(value); return *this;}
80 
81 
85  inline const Aws::String& GetBranch() const{ return m_branch; }
86 
90  inline bool BranchHasBeenSet() const { return m_branchHasBeenSet; }
91 
95  inline void SetBranch(const Aws::String& value) { m_branchHasBeenSet = true; m_branch = value; }
96 
100  inline void SetBranch(Aws::String&& value) { m_branchHasBeenSet = true; m_branch = std::move(value); }
101 
105  inline void SetBranch(const char* value) { m_branchHasBeenSet = true; m_branch.assign(value); }
106 
110  inline GitConfig& WithBranch(const Aws::String& value) { SetBranch(value); return *this;}
111 
115  inline GitConfig& WithBranch(Aws::String&& value) { SetBranch(std::move(value)); return *this;}
116 
120  inline GitConfig& WithBranch(const char* value) { SetBranch(value); return *this;}
121 
122 
130  inline const Aws::String& GetSecretArn() const{ return m_secretArn; }
131 
139  inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
140 
148  inline void SetSecretArn(const Aws::String& value) { m_secretArnHasBeenSet = true; m_secretArn = value; }
149 
157  inline void SetSecretArn(Aws::String&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::move(value); }
158 
166  inline void SetSecretArn(const char* value) { m_secretArnHasBeenSet = true; m_secretArn.assign(value); }
167 
175  inline GitConfig& WithSecretArn(const Aws::String& value) { SetSecretArn(value); return *this;}
176 
184  inline GitConfig& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;}
185 
193  inline GitConfig& WithSecretArn(const char* value) { SetSecretArn(value); return *this;}
194 
195  private:
196 
197  Aws::String m_repositoryUrl;
198  bool m_repositoryUrlHasBeenSet;
199 
200  Aws::String m_branch;
201  bool m_branchHasBeenSet;
202 
203  Aws::String m_secretArn;
204  bool m_secretArnHasBeenSet;
205  };
206 
207 } // namespace Model
208 } // namespace SageMaker
209 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::GitConfig::GetRepositoryUrl
const Aws::String & GetRepositoryUrl() const
Definition: GitConfig.h:44
SageMaker_EXPORTS.h
Aws::SageMaker::Model::GitConfig::operator=
GitConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::GitConfig::WithBranch
GitConfig & WithBranch(const char *value)
Definition: GitConfig.h:120
Aws::SageMaker::Model::GitConfig::SecretArnHasBeenSet
bool SecretArnHasBeenSet() const
Definition: GitConfig.h:139
Aws::SageMaker::Model::GitConfig::SetBranch
void SetBranch(const char *value)
Definition: GitConfig.h:105
Aws::SageMaker::Model::GitConfig::SetBranch
void SetBranch(const Aws::String &value)
Definition: GitConfig.h:95
Aws::SageMaker::Model::GitConfig::GitConfig
GitConfig()
Aws::SageMaker::Model::GitConfig::GitConfig
GitConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::GitConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::GitConfig::GetBranch
const Aws::String & GetBranch() const
Definition: GitConfig.h:85
Aws::SageMaker::Model::GitConfig::WithBranch
GitConfig & WithBranch(Aws::String &&value)
Definition: GitConfig.h:115
Aws::SageMaker::Model::GitConfig::SetBranch
void SetBranch(Aws::String &&value)
Definition: GitConfig.h:100
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::GitConfig::RepositoryUrlHasBeenSet
bool RepositoryUrlHasBeenSet() const
Definition: GitConfig.h:49
Aws::SageMaker::Model::GitConfig::SetSecretArn
void SetSecretArn(const Aws::String &value)
Definition: GitConfig.h:148
Aws::SageMaker::Model::GitConfig::WithRepositoryUrl
GitConfig & WithRepositoryUrl(Aws::String &&value)
Definition: GitConfig.h:74
Aws::SageMaker::Model::GitConfig::WithSecretArn
GitConfig & WithSecretArn(Aws::String &&value)
Definition: GitConfig.h:184
Aws::SageMaker::Model::GitConfig::WithRepositoryUrl
GitConfig & WithRepositoryUrl(const char *value)
Definition: GitConfig.h:79
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::GitConfig::WithSecretArn
GitConfig & WithSecretArn(const Aws::String &value)
Definition: GitConfig.h:175
Aws::SageMaker::Model::GitConfig::SetRepositoryUrl
void SetRepositoryUrl(const char *value)
Definition: GitConfig.h:64
Aws::SageMaker::Model::GitConfig::BranchHasBeenSet
bool BranchHasBeenSet() const
Definition: GitConfig.h:90
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::GitConfig::SetRepositoryUrl
void SetRepositoryUrl(const Aws::String &value)
Definition: GitConfig.h:54
Aws::SageMaker::Model::GitConfig::WithBranch
GitConfig & WithBranch(const Aws::String &value)
Definition: GitConfig.h:110
Aws::SageMaker::Model::GitConfig::SetSecretArn
void SetSecretArn(const char *value)
Definition: GitConfig.h:166
Aws::SageMaker::Model::GitConfig::WithRepositoryUrl
GitConfig & WithRepositoryUrl(const Aws::String &value)
Definition: GitConfig.h:69
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::GitConfig::WithSecretArn
GitConfig & WithSecretArn(const char *value)
Definition: GitConfig.h:193
Aws::SageMaker::Model::GitConfig::SetRepositoryUrl
void SetRepositoryUrl(Aws::String &&value)
Definition: GitConfig.h:59
Aws::SageMaker::Model::GitConfig::SetSecretArn
void SetSecretArn(Aws::String &&value)
Definition: GitConfig.h:157
Aws::SageMaker::Model::GitConfig
Definition: GitConfig.h:33
Aws::SageMaker::Model::GitConfig::GetSecretArn
const Aws::String & GetSecretArn() const
Definition: GitConfig.h:130