AWS SDK for C++  1.9.153
AWS SDK for C++
GitConfigForUpdate.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 
48  inline const Aws::String& GetSecretArn() const{ return m_secretArn; }
49 
57  inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
58 
66  inline void SetSecretArn(const Aws::String& value) { m_secretArnHasBeenSet = true; m_secretArn = value; }
67 
75  inline void SetSecretArn(Aws::String&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::move(value); }
76 
84  inline void SetSecretArn(const char* value) { m_secretArnHasBeenSet = true; m_secretArn.assign(value); }
85 
93  inline GitConfigForUpdate& WithSecretArn(const Aws::String& value) { SetSecretArn(value); return *this;}
94 
102  inline GitConfigForUpdate& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;}
103 
111  inline GitConfigForUpdate& WithSecretArn(const char* value) { SetSecretArn(value); return *this;}
112 
113  private:
114 
115  Aws::String m_secretArn;
116  bool m_secretArnHasBeenSet;
117  };
118 
119 } // namespace Model
120 } // namespace SageMaker
121 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::GitConfigForUpdate::WithSecretArn
GitConfigForUpdate & WithSecretArn(Aws::String &&value)
Definition: GitConfigForUpdate.h:102
Aws::SageMaker::Model::GitConfigForUpdate::SecretArnHasBeenSet
bool SecretArnHasBeenSet() const
Definition: GitConfigForUpdate.h:57
SageMaker_EXPORTS.h
Aws::SageMaker::Model::GitConfigForUpdate::GitConfigForUpdate
GitConfigForUpdate(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::GitConfigForUpdate::SetSecretArn
void SetSecretArn(const Aws::String &value)
Definition: GitConfigForUpdate.h:66
Aws::SageMaker::Model::GitConfigForUpdate::GitConfigForUpdate
GitConfigForUpdate()
Aws::SageMaker::Model::GitConfigForUpdate::SetSecretArn
void SetSecretArn(Aws::String &&value)
Definition: GitConfigForUpdate.h:75
Aws::SageMaker::Model::GitConfigForUpdate::operator=
GitConfigForUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::GitConfigForUpdate::WithSecretArn
GitConfigForUpdate & WithSecretArn(const char *value)
Definition: GitConfigForUpdate.h:111
Aws::SageMaker::Model::GitConfigForUpdate::GetSecretArn
const Aws::String & GetSecretArn() const
Definition: GitConfigForUpdate.h:48
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::GitConfigForUpdate
Definition: GitConfigForUpdate.h:33
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SageMaker::Model::GitConfigForUpdate::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::GitConfigForUpdate::SetSecretArn
void SetSecretArn(const char *value)
Definition: GitConfigForUpdate.h:84
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::GitConfigForUpdate::WithSecretArn
GitConfigForUpdate & WithSecretArn(const Aws::String &value)
Definition: GitConfigForUpdate.h:93