AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CodeRepositorySummary.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/sagemaker/model/GitConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SAGEMAKER_API CodeRepositorySummary();
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetCodeRepositoryName() const{ return m_codeRepositoryName; }
48 inline bool CodeRepositoryNameHasBeenSet() const { return m_codeRepositoryNameHasBeenSet; }
49 inline void SetCodeRepositoryName(const Aws::String& value) { m_codeRepositoryNameHasBeenSet = true; m_codeRepositoryName = value; }
50 inline void SetCodeRepositoryName(Aws::String&& value) { m_codeRepositoryNameHasBeenSet = true; m_codeRepositoryName = std::move(value); }
51 inline void SetCodeRepositoryName(const char* value) { m_codeRepositoryNameHasBeenSet = true; m_codeRepositoryName.assign(value); }
53 inline CodeRepositorySummary& WithCodeRepositoryName(Aws::String&& value) { SetCodeRepositoryName(std::move(value)); return *this;}
54 inline CodeRepositorySummary& WithCodeRepositoryName(const char* value) { SetCodeRepositoryName(value); return *this;}
56
58
61 inline const Aws::String& GetCodeRepositoryArn() const{ return m_codeRepositoryArn; }
62 inline bool CodeRepositoryArnHasBeenSet() const { return m_codeRepositoryArnHasBeenSet; }
63 inline void SetCodeRepositoryArn(const Aws::String& value) { m_codeRepositoryArnHasBeenSet = true; m_codeRepositoryArn = value; }
64 inline void SetCodeRepositoryArn(Aws::String&& value) { m_codeRepositoryArnHasBeenSet = true; m_codeRepositoryArn = std::move(value); }
65 inline void SetCodeRepositoryArn(const char* value) { m_codeRepositoryArnHasBeenSet = true; m_codeRepositoryArn.assign(value); }
66 inline CodeRepositorySummary& WithCodeRepositoryArn(const Aws::String& value) { SetCodeRepositoryArn(value); return *this;}
67 inline CodeRepositorySummary& WithCodeRepositoryArn(Aws::String&& value) { SetCodeRepositoryArn(std::move(value)); return *this;}
68 inline CodeRepositorySummary& WithCodeRepositoryArn(const char* value) { SetCodeRepositoryArn(value); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
76 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
77 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
78 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
79 inline CodeRepositorySummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
80 inline CodeRepositorySummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
88 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
89 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
90 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
92 inline CodeRepositorySummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
94
96
101 inline const GitConfig& GetGitConfig() const{ return m_gitConfig; }
102 inline bool GitConfigHasBeenSet() const { return m_gitConfigHasBeenSet; }
103 inline void SetGitConfig(const GitConfig& value) { m_gitConfigHasBeenSet = true; m_gitConfig = value; }
104 inline void SetGitConfig(GitConfig&& value) { m_gitConfigHasBeenSet = true; m_gitConfig = std::move(value); }
105 inline CodeRepositorySummary& WithGitConfig(const GitConfig& value) { SetGitConfig(value); return *this;}
106 inline CodeRepositorySummary& WithGitConfig(GitConfig&& value) { SetGitConfig(std::move(value)); return *this;}
108 private:
109
110 Aws::String m_codeRepositoryName;
111 bool m_codeRepositoryNameHasBeenSet = false;
112
113 Aws::String m_codeRepositoryArn;
114 bool m_codeRepositoryArnHasBeenSet = false;
115
116 Aws::Utils::DateTime m_creationTime;
117 bool m_creationTimeHasBeenSet = false;
118
119 Aws::Utils::DateTime m_lastModifiedTime;
120 bool m_lastModifiedTimeHasBeenSet = false;
121
122 GitConfig m_gitConfig;
123 bool m_gitConfigHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace SageMaker
128} // namespace Aws
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
CodeRepositorySummary & WithGitConfig(const GitConfig &value)
CodeRepositorySummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
CodeRepositorySummary & WithCodeRepositoryName(const Aws::String &value)
CodeRepositorySummary & WithCreationTime(const Aws::Utils::DateTime &value)
CodeRepositorySummary & WithCodeRepositoryArn(const Aws::String &value)
CodeRepositorySummary & WithCodeRepositoryArn(Aws::String &&value)
CodeRepositorySummary & WithCreationTime(Aws::Utils::DateTime &&value)
AWS_SAGEMAKER_API CodeRepositorySummary(Aws::Utils::Json::JsonView jsonValue)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetCodeRepositoryArn(const Aws::String &value)
CodeRepositorySummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCodeRepositoryName(const Aws::String &value)
AWS_SAGEMAKER_API CodeRepositorySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
CodeRepositorySummary & WithCodeRepositoryArn(const char *value)
CodeRepositorySummary & WithCodeRepositoryName(Aws::String &&value)
CodeRepositorySummary & WithCodeRepositoryName(const char *value)
void SetCreationTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
CodeRepositorySummary & WithGitConfig(GitConfig &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue