AWS SDK for C++  1.9.128
AWS SDK for C++
MetadataProperties.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& GetCommitId() const{ return m_commitId; }
45 
49  inline bool CommitIdHasBeenSet() const { return m_commitIdHasBeenSet; }
50 
54  inline void SetCommitId(const Aws::String& value) { m_commitIdHasBeenSet = true; m_commitId = value; }
55 
59  inline void SetCommitId(Aws::String&& value) { m_commitIdHasBeenSet = true; m_commitId = std::move(value); }
60 
64  inline void SetCommitId(const char* value) { m_commitIdHasBeenSet = true; m_commitId.assign(value); }
65 
69  inline MetadataProperties& WithCommitId(const Aws::String& value) { SetCommitId(value); return *this;}
70 
74  inline MetadataProperties& WithCommitId(Aws::String&& value) { SetCommitId(std::move(value)); return *this;}
75 
79  inline MetadataProperties& WithCommitId(const char* value) { SetCommitId(value); return *this;}
80 
81 
85  inline const Aws::String& GetRepository() const{ return m_repository; }
86 
90  inline bool RepositoryHasBeenSet() const { return m_repositoryHasBeenSet; }
91 
95  inline void SetRepository(const Aws::String& value) { m_repositoryHasBeenSet = true; m_repository = value; }
96 
100  inline void SetRepository(Aws::String&& value) { m_repositoryHasBeenSet = true; m_repository = std::move(value); }
101 
105  inline void SetRepository(const char* value) { m_repositoryHasBeenSet = true; m_repository.assign(value); }
106 
110  inline MetadataProperties& WithRepository(const Aws::String& value) { SetRepository(value); return *this;}
111 
115  inline MetadataProperties& WithRepository(Aws::String&& value) { SetRepository(std::move(value)); return *this;}
116 
120  inline MetadataProperties& WithRepository(const char* value) { SetRepository(value); return *this;}
121 
122 
126  inline const Aws::String& GetGeneratedBy() const{ return m_generatedBy; }
127 
131  inline bool GeneratedByHasBeenSet() const { return m_generatedByHasBeenSet; }
132 
136  inline void SetGeneratedBy(const Aws::String& value) { m_generatedByHasBeenSet = true; m_generatedBy = value; }
137 
141  inline void SetGeneratedBy(Aws::String&& value) { m_generatedByHasBeenSet = true; m_generatedBy = std::move(value); }
142 
146  inline void SetGeneratedBy(const char* value) { m_generatedByHasBeenSet = true; m_generatedBy.assign(value); }
147 
151  inline MetadataProperties& WithGeneratedBy(const Aws::String& value) { SetGeneratedBy(value); return *this;}
152 
156  inline MetadataProperties& WithGeneratedBy(Aws::String&& value) { SetGeneratedBy(std::move(value)); return *this;}
157 
161  inline MetadataProperties& WithGeneratedBy(const char* value) { SetGeneratedBy(value); return *this;}
162 
163 
167  inline const Aws::String& GetProjectId() const{ return m_projectId; }
168 
172  inline bool ProjectIdHasBeenSet() const { return m_projectIdHasBeenSet; }
173 
177  inline void SetProjectId(const Aws::String& value) { m_projectIdHasBeenSet = true; m_projectId = value; }
178 
182  inline void SetProjectId(Aws::String&& value) { m_projectIdHasBeenSet = true; m_projectId = std::move(value); }
183 
187  inline void SetProjectId(const char* value) { m_projectIdHasBeenSet = true; m_projectId.assign(value); }
188 
192  inline MetadataProperties& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;}
193 
197  inline MetadataProperties& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;}
198 
202  inline MetadataProperties& WithProjectId(const char* value) { SetProjectId(value); return *this;}
203 
204  private:
205 
206  Aws::String m_commitId;
207  bool m_commitIdHasBeenSet;
208 
209  Aws::String m_repository;
210  bool m_repositoryHasBeenSet;
211 
212  Aws::String m_generatedBy;
213  bool m_generatedByHasBeenSet;
214 
215  Aws::String m_projectId;
216  bool m_projectIdHasBeenSet;
217  };
218 
219 } // namespace Model
220 } // namespace SageMaker
221 } // namespace Aws
Aws::SageMaker::Model::MetadataProperties::SetCommitId
void SetCommitId(Aws::String &&value)
Definition: MetadataProperties.h:59
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::MetadataProperties::SetCommitId
void SetCommitId(const char *value)
Definition: MetadataProperties.h:64
SageMaker_EXPORTS.h
Aws::SageMaker::Model::MetadataProperties::WithCommitId
MetadataProperties & WithCommitId(const char *value)
Definition: MetadataProperties.h:79
Aws::SageMaker::Model::MetadataProperties::CommitIdHasBeenSet
bool CommitIdHasBeenSet() const
Definition: MetadataProperties.h:49
Aws::SageMaker::Model::MetadataProperties::SetGeneratedBy
void SetGeneratedBy(Aws::String &&value)
Definition: MetadataProperties.h:141
Aws::SageMaker::Model::MetadataProperties::SetGeneratedBy
void SetGeneratedBy(const char *value)
Definition: MetadataProperties.h:146
Aws::SageMaker::Model::MetadataProperties::WithProjectId
MetadataProperties & WithProjectId(const Aws::String &value)
Definition: MetadataProperties.h:192
Aws::SageMaker::Model::MetadataProperties::SetRepository
void SetRepository(const char *value)
Definition: MetadataProperties.h:105
Aws::SageMaker::Model::MetadataProperties::SetProjectId
void SetProjectId(const char *value)
Definition: MetadataProperties.h:187
Aws::SageMaker::Model::MetadataProperties::WithCommitId
MetadataProperties & WithCommitId(Aws::String &&value)
Definition: MetadataProperties.h:74
Aws::SageMaker::Model::MetadataProperties::RepositoryHasBeenSet
bool RepositoryHasBeenSet() const
Definition: MetadataProperties.h:90
Aws::SageMaker::Model::MetadataProperties::ProjectIdHasBeenSet
bool ProjectIdHasBeenSet() const
Definition: MetadataProperties.h:172
Aws::SageMaker::Model::MetadataProperties::MetadataProperties
MetadataProperties(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::MetadataProperties::SetGeneratedBy
void SetGeneratedBy(const Aws::String &value)
Definition: MetadataProperties.h:136
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::MetadataProperties::WithGeneratedBy
MetadataProperties & WithGeneratedBy(Aws::String &&value)
Definition: MetadataProperties.h:156
Aws::SageMaker::Model::MetadataProperties::WithProjectId
MetadataProperties & WithProjectId(Aws::String &&value)
Definition: MetadataProperties.h:197
Aws::SageMaker::Model::MetadataProperties::WithRepository
MetadataProperties & WithRepository(Aws::String &&value)
Definition: MetadataProperties.h:115
Aws::SageMaker::Model::MetadataProperties::SetCommitId
void SetCommitId(const Aws::String &value)
Definition: MetadataProperties.h:54
Aws::SageMaker::Model::MetadataProperties::WithProjectId
MetadataProperties & WithProjectId(const char *value)
Definition: MetadataProperties.h:202
Aws::SageMaker::Model::MetadataProperties::WithRepository
MetadataProperties & WithRepository(const char *value)
Definition: MetadataProperties.h:120
Aws::SageMaker::Model::MetadataProperties
Definition: MetadataProperties.h:33
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SageMaker::Model::MetadataProperties::WithRepository
MetadataProperties & WithRepository(const Aws::String &value)
Definition: MetadataProperties.h:110
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::MetadataProperties::SetRepository
void SetRepository(const Aws::String &value)
Definition: MetadataProperties.h:95
Aws::SageMaker::Model::MetadataProperties::SetProjectId
void SetProjectId(Aws::String &&value)
Definition: MetadataProperties.h:182
Aws::SageMaker::Model::MetadataProperties::WithGeneratedBy
MetadataProperties & WithGeneratedBy(const Aws::String &value)
Definition: MetadataProperties.h:151
Aws::SageMaker::Model::MetadataProperties::GetCommitId
const Aws::String & GetCommitId() const
Definition: MetadataProperties.h:44
Aws::SageMaker::Model::MetadataProperties::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::MetadataProperties::SetProjectId
void SetProjectId(const Aws::String &value)
Definition: MetadataProperties.h:177
Aws::SageMaker::Model::MetadataProperties::SetRepository
void SetRepository(Aws::String &&value)
Definition: MetadataProperties.h:100
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::MetadataProperties::GetProjectId
const Aws::String & GetProjectId() const
Definition: MetadataProperties.h:167
Aws::SageMaker::Model::MetadataProperties::WithCommitId
MetadataProperties & WithCommitId(const Aws::String &value)
Definition: MetadataProperties.h:69
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::MetadataProperties::MetadataProperties
MetadataProperties()
Aws::SageMaker::Model::MetadataProperties::GetGeneratedBy
const Aws::String & GetGeneratedBy() const
Definition: MetadataProperties.h:126
Aws::SageMaker::Model::MetadataProperties::GeneratedByHasBeenSet
bool GeneratedByHasBeenSet() const
Definition: MetadataProperties.h:131
Aws::SageMaker::Model::MetadataProperties::operator=
MetadataProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::MetadataProperties::WithGeneratedBy
MetadataProperties & WithGeneratedBy(const char *value)
Definition: MetadataProperties.h:161
Aws::SageMaker::Model::MetadataProperties::GetRepository
const Aws::String & GetRepository() const
Definition: MetadataProperties.h:85