AWS SDK for C++  1.9.157
AWS SDK for C++
CodeRepositorySummary.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace SageMaker
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetCodeRepositoryName() const{ return m_codeRepositoryName; }
47 
51  inline bool CodeRepositoryNameHasBeenSet() const { return m_codeRepositoryNameHasBeenSet; }
52 
56  inline void SetCodeRepositoryName(const Aws::String& value) { m_codeRepositoryNameHasBeenSet = true; m_codeRepositoryName = value; }
57 
61  inline void SetCodeRepositoryName(Aws::String&& value) { m_codeRepositoryNameHasBeenSet = true; m_codeRepositoryName = std::move(value); }
62 
66  inline void SetCodeRepositoryName(const char* value) { m_codeRepositoryNameHasBeenSet = true; m_codeRepositoryName.assign(value); }
67 
71  inline CodeRepositorySummary& WithCodeRepositoryName(const Aws::String& value) { SetCodeRepositoryName(value); return *this;}
72 
76  inline CodeRepositorySummary& WithCodeRepositoryName(Aws::String&& value) { SetCodeRepositoryName(std::move(value)); return *this;}
77 
81  inline CodeRepositorySummary& WithCodeRepositoryName(const char* value) { SetCodeRepositoryName(value); return *this;}
82 
83 
87  inline const Aws::String& GetCodeRepositoryArn() const{ return m_codeRepositoryArn; }
88 
92  inline bool CodeRepositoryArnHasBeenSet() const { return m_codeRepositoryArnHasBeenSet; }
93 
97  inline void SetCodeRepositoryArn(const Aws::String& value) { m_codeRepositoryArnHasBeenSet = true; m_codeRepositoryArn = value; }
98 
102  inline void SetCodeRepositoryArn(Aws::String&& value) { m_codeRepositoryArnHasBeenSet = true; m_codeRepositoryArn = std::move(value); }
103 
107  inline void SetCodeRepositoryArn(const char* value) { m_codeRepositoryArnHasBeenSet = true; m_codeRepositoryArn.assign(value); }
108 
112  inline CodeRepositorySummary& WithCodeRepositoryArn(const Aws::String& value) { SetCodeRepositoryArn(value); return *this;}
113 
117  inline CodeRepositorySummary& WithCodeRepositoryArn(Aws::String&& value) { SetCodeRepositoryArn(std::move(value)); return *this;}
118 
122  inline CodeRepositorySummary& WithCodeRepositoryArn(const char* value) { SetCodeRepositoryArn(value); return *this;}
123 
124 
128  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
129 
133  inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
134 
138  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
139 
143  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
144 
148  inline CodeRepositorySummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
149 
153  inline CodeRepositorySummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
154 
155 
159  inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
160 
164  inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
165 
169  inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
170 
174  inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
175 
179  inline CodeRepositorySummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
180 
184  inline CodeRepositorySummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
185 
186 
192  inline const GitConfig& GetGitConfig() const{ return m_gitConfig; }
193 
199  inline bool GitConfigHasBeenSet() const { return m_gitConfigHasBeenSet; }
200 
206  inline void SetGitConfig(const GitConfig& value) { m_gitConfigHasBeenSet = true; m_gitConfig = value; }
207 
213  inline void SetGitConfig(GitConfig&& value) { m_gitConfigHasBeenSet = true; m_gitConfig = std::move(value); }
214 
220  inline CodeRepositorySummary& WithGitConfig(const GitConfig& value) { SetGitConfig(value); return *this;}
221 
227  inline CodeRepositorySummary& WithGitConfig(GitConfig&& value) { SetGitConfig(std::move(value)); return *this;}
228 
229  private:
230 
231  Aws::String m_codeRepositoryName;
232  bool m_codeRepositoryNameHasBeenSet;
233 
234  Aws::String m_codeRepositoryArn;
235  bool m_codeRepositoryArnHasBeenSet;
236 
237  Aws::Utils::DateTime m_creationTime;
238  bool m_creationTimeHasBeenSet;
239 
240  Aws::Utils::DateTime m_lastModifiedTime;
241  bool m_lastModifiedTimeHasBeenSet;
242 
243  GitConfig m_gitConfig;
244  bool m_gitConfigHasBeenSet;
245  };
246 
247 } // namespace Model
248 } // namespace SageMaker
249 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SageMaker::Model::CodeRepositorySummary::SetGitConfig
void SetGitConfig(GitConfig &&value)
Definition: CodeRepositorySummary.h:213
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::CodeRepositorySummary::WithGitConfig
CodeRepositorySummary & WithGitConfig(const GitConfig &value)
Definition: CodeRepositorySummary.h:220
Aws::SageMaker::Model::CodeRepositorySummary::SetLastModifiedTime
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: CodeRepositorySummary.h:174
SageMaker_EXPORTS.h
Aws::SageMaker::Model::CodeRepositorySummary::CodeRepositoryArnHasBeenSet
bool CodeRepositoryArnHasBeenSet() const
Definition: CodeRepositorySummary.h:92
Aws::SageMaker::Model::CodeRepositorySummary::SetCodeRepositoryArn
void SetCodeRepositoryArn(Aws::String &&value)
Definition: CodeRepositorySummary.h:102
Aws::SageMaker::Model::CodeRepositorySummary::SetCodeRepositoryName
void SetCodeRepositoryName(const Aws::String &value)
Definition: CodeRepositorySummary.h:56
Aws::SageMaker::Model::CodeRepositorySummary::WithCodeRepositoryName
CodeRepositorySummary & WithCodeRepositoryName(const Aws::String &value)
Definition: CodeRepositorySummary.h:71
Aws::SageMaker::Model::CodeRepositorySummary::WithCodeRepositoryArn
CodeRepositorySummary & WithCodeRepositoryArn(const char *value)
Definition: CodeRepositorySummary.h:122
Aws::SageMaker::Model::CodeRepositorySummary::WithLastModifiedTime
CodeRepositorySummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: CodeRepositorySummary.h:179
DateTime.h
Aws::SageMaker::Model::CodeRepositorySummary::WithCodeRepositoryName
CodeRepositorySummary & WithCodeRepositoryName(Aws::String &&value)
Definition: CodeRepositorySummary.h:76
Aws::SageMaker::Model::CodeRepositorySummary::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: CodeRepositorySummary.h:138
Aws::SageMaker::Model::CodeRepositorySummary::LastModifiedTimeHasBeenSet
bool LastModifiedTimeHasBeenSet() const
Definition: CodeRepositorySummary.h:164
Aws::SageMaker::Model::CodeRepositorySummary::operator=
CodeRepositorySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::CodeRepositorySummary::WithCodeRepositoryName
CodeRepositorySummary & WithCodeRepositoryName(const char *value)
Definition: CodeRepositorySummary.h:81
Aws::SageMaker::Model::CodeRepositorySummary::GetGitConfig
const GitConfig & GetGitConfig() const
Definition: CodeRepositorySummary.h:192
Aws::SageMaker::Model::CodeRepositorySummary::GitConfigHasBeenSet
bool GitConfigHasBeenSet() const
Definition: CodeRepositorySummary.h:199
GitConfig.h
Aws::SageMaker::Model::CodeRepositorySummary::WithCodeRepositoryArn
CodeRepositorySummary & WithCodeRepositoryArn(Aws::String &&value)
Definition: CodeRepositorySummary.h:117
Aws::SageMaker::Model::CodeRepositorySummary::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: CodeRepositorySummary.h:128
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::CodeRepositorySummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::CodeRepositorySummary::WithCreationTime
CodeRepositorySummary & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: CodeRepositorySummary.h:153
Aws::SageMaker::Model::CodeRepositorySummary::WithLastModifiedTime
CodeRepositorySummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: CodeRepositorySummary.h:184
Aws::SageMaker::Model::CodeRepositorySummary::CreationTimeHasBeenSet
bool CreationTimeHasBeenSet() const
Definition: CodeRepositorySummary.h:133
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SageMaker::Model::CodeRepositorySummary::GetCodeRepositoryName
const Aws::String & GetCodeRepositoryName() const
Definition: CodeRepositorySummary.h:46
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::CodeRepositorySummary::SetCodeRepositoryName
void SetCodeRepositoryName(Aws::String &&value)
Definition: CodeRepositorySummary.h:61
Aws::SageMaker::Model::CodeRepositorySummary::GetCodeRepositoryArn
const Aws::String & GetCodeRepositoryArn() const
Definition: CodeRepositorySummary.h:87
Aws::SageMaker::Model::CodeRepositorySummary::GetLastModifiedTime
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition: CodeRepositorySummary.h:159
Aws::SageMaker::Model::CodeRepositorySummary::WithCodeRepositoryArn
CodeRepositorySummary & WithCodeRepositoryArn(const Aws::String &value)
Definition: CodeRepositorySummary.h:112
Aws::SageMaker::Model::CodeRepositorySummary::SetCodeRepositoryArn
void SetCodeRepositoryArn(const Aws::String &value)
Definition: CodeRepositorySummary.h:97
Aws::SageMaker::Model::CodeRepositorySummary::WithGitConfig
CodeRepositorySummary & WithGitConfig(GitConfig &&value)
Definition: CodeRepositorySummary.h:227
Aws::SageMaker::Model::CodeRepositorySummary
Definition: CodeRepositorySummary.h:35
Aws::SageMaker::Model::CodeRepositorySummary::SetCodeRepositoryArn
void SetCodeRepositoryArn(const char *value)
Definition: CodeRepositorySummary.h:107
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::CodeRepositorySummary::SetCodeRepositoryName
void SetCodeRepositoryName(const char *value)
Definition: CodeRepositorySummary.h:66
Aws::SageMaker::Model::CodeRepositorySummary::CodeRepositorySummary
CodeRepositorySummary()
Aws::SageMaker::Model::CodeRepositorySummary::SetGitConfig
void SetGitConfig(const GitConfig &value)
Definition: CodeRepositorySummary.h:206
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::GitConfig
Definition: GitConfig.h:33
Aws::SageMaker::Model::CodeRepositorySummary::SetLastModifiedTime
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: CodeRepositorySummary.h:169
Aws::SageMaker::Model::CodeRepositorySummary::CodeRepositorySummary
CodeRepositorySummary(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::CodeRepositorySummary::CodeRepositoryNameHasBeenSet
bool CodeRepositoryNameHasBeenSet() const
Definition: CodeRepositorySummary.h:51
Aws::SageMaker::Model::CodeRepositorySummary::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: CodeRepositorySummary.h:143
Aws::SageMaker::Model::CodeRepositorySummary::WithCreationTime
CodeRepositorySummary & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: CodeRepositorySummary.h:148