AWS SDK for C++  1.9.154
AWS SDK for C++
DescribeCodeRepositoryResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace SageMaker
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::String& GetCodeRepositoryName() const{ return m_codeRepositoryName; }
41 
45  inline void SetCodeRepositoryName(const Aws::String& value) { m_codeRepositoryName = value; }
46 
50  inline void SetCodeRepositoryName(Aws::String&& value) { m_codeRepositoryName = std::move(value); }
51 
55  inline void SetCodeRepositoryName(const char* value) { m_codeRepositoryName.assign(value); }
56 
60  inline DescribeCodeRepositoryResult& WithCodeRepositoryName(const Aws::String& value) { SetCodeRepositoryName(value); return *this;}
61 
65  inline DescribeCodeRepositoryResult& WithCodeRepositoryName(Aws::String&& value) { SetCodeRepositoryName(std::move(value)); return *this;}
66 
70  inline DescribeCodeRepositoryResult& WithCodeRepositoryName(const char* value) { SetCodeRepositoryName(value); return *this;}
71 
72 
76  inline const Aws::String& GetCodeRepositoryArn() const{ return m_codeRepositoryArn; }
77 
81  inline void SetCodeRepositoryArn(const Aws::String& value) { m_codeRepositoryArn = value; }
82 
86  inline void SetCodeRepositoryArn(Aws::String&& value) { m_codeRepositoryArn = std::move(value); }
87 
91  inline void SetCodeRepositoryArn(const char* value) { m_codeRepositoryArn.assign(value); }
92 
96  inline DescribeCodeRepositoryResult& WithCodeRepositoryArn(const Aws::String& value) { SetCodeRepositoryArn(value); return *this;}
97 
101  inline DescribeCodeRepositoryResult& WithCodeRepositoryArn(Aws::String&& value) { SetCodeRepositoryArn(std::move(value)); return *this;}
102 
106  inline DescribeCodeRepositoryResult& WithCodeRepositoryArn(const char* value) { SetCodeRepositoryArn(value); return *this;}
107 
108 
112  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
113 
117  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
118 
122  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
123 
127  inline DescribeCodeRepositoryResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
128 
132  inline DescribeCodeRepositoryResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
133 
134 
138  inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
139 
143  inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
144 
148  inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
149 
153  inline DescribeCodeRepositoryResult& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
154 
158  inline DescribeCodeRepositoryResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
159 
160 
167  inline const GitConfig& GetGitConfig() const{ return m_gitConfig; }
168 
175  inline void SetGitConfig(const GitConfig& value) { m_gitConfig = value; }
176 
183  inline void SetGitConfig(GitConfig&& value) { m_gitConfig = std::move(value); }
184 
191  inline DescribeCodeRepositoryResult& WithGitConfig(const GitConfig& value) { SetGitConfig(value); return *this;}
192 
199  inline DescribeCodeRepositoryResult& WithGitConfig(GitConfig&& value) { SetGitConfig(std::move(value)); return *this;}
200 
201  private:
202 
203  Aws::String m_codeRepositoryName;
204 
205  Aws::String m_codeRepositoryArn;
206 
207  Aws::Utils::DateTime m_creationTime;
208 
209  Aws::Utils::DateTime m_lastModifiedTime;
210 
211  GitConfig m_gitConfig;
212  };
213 
214 } // namespace Model
215 } // namespace SageMaker
216 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SageMaker::Model::DescribeCodeRepositoryResult::SetCodeRepositoryName
void SetCodeRepositoryName(const Aws::String &value)
Definition: DescribeCodeRepositoryResult.h:45
SageMaker_EXPORTS.h
Aws::SageMaker::Model::DescribeCodeRepositoryResult::WithLastModifiedTime
DescribeCodeRepositoryResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: DescribeCodeRepositoryResult.h:153
Aws::SageMaker::Model::DescribeCodeRepositoryResult::SetCodeRepositoryArn
void SetCodeRepositoryArn(const Aws::String &value)
Definition: DescribeCodeRepositoryResult.h:81
DateTime.h
Aws::SageMaker::Model::DescribeCodeRepositoryResult::DescribeCodeRepositoryResult
DescribeCodeRepositoryResult()
Aws::SageMaker::Model::DescribeCodeRepositoryResult::SetCodeRepositoryArn
void SetCodeRepositoryArn(Aws::String &&value)
Definition: DescribeCodeRepositoryResult.h:86
Aws::SageMaker::Model::DescribeCodeRepositoryResult::WithCodeRepositoryName
DescribeCodeRepositoryResult & WithCodeRepositoryName(Aws::String &&value)
Definition: DescribeCodeRepositoryResult.h:65
Aws::SageMaker::Model::DescribeCodeRepositoryResult::WithCreationTime
DescribeCodeRepositoryResult & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeCodeRepositoryResult.h:127
Aws::SageMaker::Model::DescribeCodeRepositoryResult::WithGitConfig
DescribeCodeRepositoryResult & WithGitConfig(GitConfig &&value)
Definition: DescribeCodeRepositoryResult.h:199
Aws::SageMaker::Model::DescribeCodeRepositoryResult::WithCodeRepositoryArn
DescribeCodeRepositoryResult & WithCodeRepositoryArn(const char *value)
Definition: DescribeCodeRepositoryResult.h:106
GitConfig.h
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::DescribeCodeRepositoryResult::SetCodeRepositoryArn
void SetCodeRepositoryArn(const char *value)
Definition: DescribeCodeRepositoryResult.h:91
Aws::SageMaker::Model::DescribeCodeRepositoryResult::WithCreationTime
DescribeCodeRepositoryResult & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeCodeRepositoryResult.h:132
Aws::SageMaker::Model::DescribeCodeRepositoryResult::GetCodeRepositoryArn
const Aws::String & GetCodeRepositoryArn() const
Definition: DescribeCodeRepositoryResult.h:76
Aws::SageMaker::Model::DescribeCodeRepositoryResult::SetGitConfig
void SetGitConfig(GitConfig &&value)
Definition: DescribeCodeRepositoryResult.h:183
Aws::SageMaker::Model::DescribeCodeRepositoryResult
Definition: DescribeCodeRepositoryResult.h:30
Aws::SageMaker::Model::DescribeCodeRepositoryResult::WithCodeRepositoryName
DescribeCodeRepositoryResult & WithCodeRepositoryName(const Aws::String &value)
Definition: DescribeCodeRepositoryResult.h:60
AWSString.h
Aws::SageMaker::Model::DescribeCodeRepositoryResult::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeCodeRepositoryResult.h:122
Aws::SageMaker::Model::DescribeCodeRepositoryResult::WithGitConfig
DescribeCodeRepositoryResult & WithGitConfig(const GitConfig &value)
Definition: DescribeCodeRepositoryResult.h:191
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::DescribeCodeRepositoryResult::SetLastModifiedTime
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: DescribeCodeRepositoryResult.h:148
Aws::SageMaker::Model::DescribeCodeRepositoryResult::SetLastModifiedTime
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: DescribeCodeRepositoryResult.h:143
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::DescribeCodeRepositoryResult::WithCodeRepositoryArn
DescribeCodeRepositoryResult & WithCodeRepositoryArn(const Aws::String &value)
Definition: DescribeCodeRepositoryResult.h:96
Aws::SageMaker::Model::DescribeCodeRepositoryResult::SetCodeRepositoryName
void SetCodeRepositoryName(Aws::String &&value)
Definition: DescribeCodeRepositoryResult.h:50
Aws::SageMaker::Model::DescribeCodeRepositoryResult::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeCodeRepositoryResult.h:117
Aws::SageMaker::Model::DescribeCodeRepositoryResult::WithCodeRepositoryName
DescribeCodeRepositoryResult & WithCodeRepositoryName(const char *value)
Definition: DescribeCodeRepositoryResult.h:70
Aws::SageMaker::Model::DescribeCodeRepositoryResult::GetCodeRepositoryName
const Aws::String & GetCodeRepositoryName() const
Definition: DescribeCodeRepositoryResult.h:40
Aws::SageMaker::Model::DescribeCodeRepositoryResult::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: DescribeCodeRepositoryResult.h:112
Aws::SageMaker::Model::GitConfig
Definition: GitConfig.h:33
Aws::SageMaker::Model::DescribeCodeRepositoryResult::DescribeCodeRepositoryResult
DescribeCodeRepositoryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::DescribeCodeRepositoryResult::SetGitConfig
void SetGitConfig(const GitConfig &value)
Definition: DescribeCodeRepositoryResult.h:175
Aws::SageMaker::Model::DescribeCodeRepositoryResult::GetGitConfig
const GitConfig & GetGitConfig() const
Definition: DescribeCodeRepositoryResult.h:167
Aws::SageMaker::Model::DescribeCodeRepositoryResult::WithCodeRepositoryArn
DescribeCodeRepositoryResult & WithCodeRepositoryArn(Aws::String &&value)
Definition: DescribeCodeRepositoryResult.h:101
Aws::SageMaker::Model::DescribeCodeRepositoryResult::operator=
DescribeCodeRepositoryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::DescribeCodeRepositoryResult::GetLastModifiedTime
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition: DescribeCodeRepositoryResult.h:138
Aws::SageMaker::Model::DescribeCodeRepositoryResult::SetCodeRepositoryName
void SetCodeRepositoryName(const char *value)
Definition: DescribeCodeRepositoryResult.h:55
Aws::SageMaker::Model::DescribeCodeRepositoryResult::WithLastModifiedTime
DescribeCodeRepositoryResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: DescribeCodeRepositoryResult.h:158