AWS SDK for C++  1.9.155
AWS SDK for C++
RepositoryAuthConfig.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 
38  {
39  public:
44 
45 
55  inline const Aws::String& GetRepositoryCredentialsProviderArn() const{ return m_repositoryCredentialsProviderArn; }
56 
66  inline bool RepositoryCredentialsProviderArnHasBeenSet() const { return m_repositoryCredentialsProviderArnHasBeenSet; }
67 
77  inline void SetRepositoryCredentialsProviderArn(const Aws::String& value) { m_repositoryCredentialsProviderArnHasBeenSet = true; m_repositoryCredentialsProviderArn = value; }
78 
88  inline void SetRepositoryCredentialsProviderArn(Aws::String&& value) { m_repositoryCredentialsProviderArnHasBeenSet = true; m_repositoryCredentialsProviderArn = std::move(value); }
89 
99  inline void SetRepositoryCredentialsProviderArn(const char* value) { m_repositoryCredentialsProviderArnHasBeenSet = true; m_repositoryCredentialsProviderArn.assign(value); }
100 
110  inline RepositoryAuthConfig& WithRepositoryCredentialsProviderArn(const Aws::String& value) { SetRepositoryCredentialsProviderArn(value); return *this;}
111 
121  inline RepositoryAuthConfig& WithRepositoryCredentialsProviderArn(Aws::String&& value) { SetRepositoryCredentialsProviderArn(std::move(value)); return *this;}
122 
132  inline RepositoryAuthConfig& WithRepositoryCredentialsProviderArn(const char* value) { SetRepositoryCredentialsProviderArn(value); return *this;}
133 
134  private:
135 
136  Aws::String m_repositoryCredentialsProviderArn;
137  bool m_repositoryCredentialsProviderArnHasBeenSet;
138  };
139 
140 } // namespace Model
141 } // namespace SageMaker
142 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::RepositoryAuthConfig::WithRepositoryCredentialsProviderArn
RepositoryAuthConfig & WithRepositoryCredentialsProviderArn(Aws::String &&value)
Definition: RepositoryAuthConfig.h:121
Aws::SageMaker::Model::RepositoryAuthConfig::WithRepositoryCredentialsProviderArn
RepositoryAuthConfig & WithRepositoryCredentialsProviderArn(const char *value)
Definition: RepositoryAuthConfig.h:132
Aws::SageMaker::Model::RepositoryAuthConfig::operator=
RepositoryAuthConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::RepositoryAuthConfig::GetRepositoryCredentialsProviderArn
const Aws::String & GetRepositoryCredentialsProviderArn() const
Definition: RepositoryAuthConfig.h:55
Aws::SageMaker::Model::RepositoryAuthConfig
Definition: RepositoryAuthConfig.h:38
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SageMaker::Model::RepositoryAuthConfig::SetRepositoryCredentialsProviderArn
void SetRepositoryCredentialsProviderArn(const char *value)
Definition: RepositoryAuthConfig.h:99
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::RepositoryAuthConfig::RepositoryCredentialsProviderArnHasBeenSet
bool RepositoryCredentialsProviderArnHasBeenSet() const
Definition: RepositoryAuthConfig.h:66
Aws::SageMaker::Model::RepositoryAuthConfig::RepositoryAuthConfig
RepositoryAuthConfig()
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::RepositoryAuthConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::RepositoryAuthConfig::WithRepositoryCredentialsProviderArn
RepositoryAuthConfig & WithRepositoryCredentialsProviderArn(const Aws::String &value)
Definition: RepositoryAuthConfig.h:110
Aws::SageMaker::Model::RepositoryAuthConfig::SetRepositoryCredentialsProviderArn
void SetRepositoryCredentialsProviderArn(const Aws::String &value)
Definition: RepositoryAuthConfig.h:77
Aws::SageMaker::Model::RepositoryAuthConfig::SetRepositoryCredentialsProviderArn
void SetRepositoryCredentialsProviderArn(Aws::String &&value)
Definition: RepositoryAuthConfig.h:88
Aws::SageMaker::Model::RepositoryAuthConfig::RepositoryAuthConfig
RepositoryAuthConfig(Aws::Utils::Json::JsonView jsonValue)