AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MetadataProperties.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 MetadataProperties();
36 AWS_SAGEMAKER_API MetadataProperties(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetCommitId() const{ return m_commitId; }
46 inline bool CommitIdHasBeenSet() const { return m_commitIdHasBeenSet; }
47 inline void SetCommitId(const Aws::String& value) { m_commitIdHasBeenSet = true; m_commitId = value; }
48 inline void SetCommitId(Aws::String&& value) { m_commitIdHasBeenSet = true; m_commitId = std::move(value); }
49 inline void SetCommitId(const char* value) { m_commitIdHasBeenSet = true; m_commitId.assign(value); }
50 inline MetadataProperties& WithCommitId(const Aws::String& value) { SetCommitId(value); return *this;}
51 inline MetadataProperties& WithCommitId(Aws::String&& value) { SetCommitId(std::move(value)); return *this;}
52 inline MetadataProperties& WithCommitId(const char* value) { SetCommitId(value); return *this;}
54
56
59 inline const Aws::String& GetRepository() const{ return m_repository; }
60 inline bool RepositoryHasBeenSet() const { return m_repositoryHasBeenSet; }
61 inline void SetRepository(const Aws::String& value) { m_repositoryHasBeenSet = true; m_repository = value; }
62 inline void SetRepository(Aws::String&& value) { m_repositoryHasBeenSet = true; m_repository = std::move(value); }
63 inline void SetRepository(const char* value) { m_repositoryHasBeenSet = true; m_repository.assign(value); }
64 inline MetadataProperties& WithRepository(const Aws::String& value) { SetRepository(value); return *this;}
65 inline MetadataProperties& WithRepository(Aws::String&& value) { SetRepository(std::move(value)); return *this;}
66 inline MetadataProperties& WithRepository(const char* value) { SetRepository(value); return *this;}
68
70
73 inline const Aws::String& GetGeneratedBy() const{ return m_generatedBy; }
74 inline bool GeneratedByHasBeenSet() const { return m_generatedByHasBeenSet; }
75 inline void SetGeneratedBy(const Aws::String& value) { m_generatedByHasBeenSet = true; m_generatedBy = value; }
76 inline void SetGeneratedBy(Aws::String&& value) { m_generatedByHasBeenSet = true; m_generatedBy = std::move(value); }
77 inline void SetGeneratedBy(const char* value) { m_generatedByHasBeenSet = true; m_generatedBy.assign(value); }
78 inline MetadataProperties& WithGeneratedBy(const Aws::String& value) { SetGeneratedBy(value); return *this;}
79 inline MetadataProperties& WithGeneratedBy(Aws::String&& value) { SetGeneratedBy(std::move(value)); return *this;}
80 inline MetadataProperties& WithGeneratedBy(const char* value) { SetGeneratedBy(value); return *this;}
82
84
87 inline const Aws::String& GetProjectId() const{ return m_projectId; }
88 inline bool ProjectIdHasBeenSet() const { return m_projectIdHasBeenSet; }
89 inline void SetProjectId(const Aws::String& value) { m_projectIdHasBeenSet = true; m_projectId = value; }
90 inline void SetProjectId(Aws::String&& value) { m_projectIdHasBeenSet = true; m_projectId = std::move(value); }
91 inline void SetProjectId(const char* value) { m_projectIdHasBeenSet = true; m_projectId.assign(value); }
92 inline MetadataProperties& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;}
93 inline MetadataProperties& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;}
94 inline MetadataProperties& WithProjectId(const char* value) { SetProjectId(value); return *this;}
96 private:
97
98 Aws::String m_commitId;
99 bool m_commitIdHasBeenSet = false;
100
101 Aws::String m_repository;
102 bool m_repositoryHasBeenSet = false;
103
104 Aws::String m_generatedBy;
105 bool m_generatedByHasBeenSet = false;
106
107 Aws::String m_projectId;
108 bool m_projectIdHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace SageMaker
113} // namespace Aws
MetadataProperties & WithRepository(const Aws::String &value)
MetadataProperties & WithCommitId(const char *value)
MetadataProperties & WithGeneratedBy(Aws::String &&value)
MetadataProperties & WithRepository(const char *value)
AWS_SAGEMAKER_API MetadataProperties(Aws::Utils::Json::JsonView jsonValue)
void SetRepository(const Aws::String &value)
void SetGeneratedBy(const Aws::String &value)
MetadataProperties & WithGeneratedBy(const char *value)
void SetProjectId(const Aws::String &value)
MetadataProperties & WithCommitId(Aws::String &&value)
MetadataProperties & WithProjectId(const Aws::String &value)
MetadataProperties & WithProjectId(const char *value)
MetadataProperties & WithCommitId(const Aws::String &value)
MetadataProperties & WithRepository(Aws::String &&value)
void SetCommitId(const Aws::String &value)
MetadataProperties & WithGeneratedBy(const Aws::String &value)
MetadataProperties & WithProjectId(Aws::String &&value)
AWS_SAGEMAKER_API MetadataProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue