AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeCodeRepositoryResult.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{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SageMaker
26{
27namespace Model
28{
30 {
31 public:
32 AWS_SAGEMAKER_API DescribeCodeRepositoryResult();
35
36
38
41 inline const Aws::String& GetCodeRepositoryName() const{ return m_codeRepositoryName; }
42 inline void SetCodeRepositoryName(const Aws::String& value) { m_codeRepositoryName = value; }
43 inline void SetCodeRepositoryName(Aws::String&& value) { m_codeRepositoryName = std::move(value); }
44 inline void SetCodeRepositoryName(const char* value) { m_codeRepositoryName.assign(value); }
46 inline DescribeCodeRepositoryResult& WithCodeRepositoryName(Aws::String&& value) { SetCodeRepositoryName(std::move(value)); return *this;}
47 inline DescribeCodeRepositoryResult& WithCodeRepositoryName(const char* value) { SetCodeRepositoryName(value); return *this;}
49
51
54 inline const Aws::String& GetCodeRepositoryArn() const{ return m_codeRepositoryArn; }
55 inline void SetCodeRepositoryArn(const Aws::String& value) { m_codeRepositoryArn = value; }
56 inline void SetCodeRepositoryArn(Aws::String&& value) { m_codeRepositoryArn = std::move(value); }
57 inline void SetCodeRepositoryArn(const char* value) { m_codeRepositoryArn.assign(value); }
59 inline DescribeCodeRepositoryResult& WithCodeRepositoryArn(Aws::String&& value) { SetCodeRepositoryArn(std::move(value)); return *this;}
60 inline DescribeCodeRepositoryResult& WithCodeRepositoryArn(const char* value) { SetCodeRepositoryArn(value); return *this;}
62
64
67 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
68 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
69 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
71 inline DescribeCodeRepositoryResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
73
75
78 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
79 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
80 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
84
86
92 inline const GitConfig& GetGitConfig() const{ return m_gitConfig; }
93 inline void SetGitConfig(const GitConfig& value) { m_gitConfig = value; }
94 inline void SetGitConfig(GitConfig&& value) { m_gitConfig = std::move(value); }
95 inline DescribeCodeRepositoryResult& WithGitConfig(const GitConfig& value) { SetGitConfig(value); return *this;}
96 inline DescribeCodeRepositoryResult& WithGitConfig(GitConfig&& value) { SetGitConfig(std::move(value)); return *this;}
98
100
101 inline const Aws::String& GetRequestId() const{ return m_requestId; }
102 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
103 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
104 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
105 inline DescribeCodeRepositoryResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
106 inline DescribeCodeRepositoryResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
107 inline DescribeCodeRepositoryResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
109 private:
110
111 Aws::String m_codeRepositoryName;
112
113 Aws::String m_codeRepositoryArn;
114
115 Aws::Utils::DateTime m_creationTime;
116
117 Aws::Utils::DateTime m_lastModifiedTime;
118
119 GitConfig m_gitConfig;
120
121 Aws::String m_requestId;
122 };
123
124} // namespace Model
125} // namespace SageMaker
126} // namespace Aws
DescribeCodeRepositoryResult & WithRequestId(const char *value)
DescribeCodeRepositoryResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeCodeRepositoryResult & WithRequestId(Aws::String &&value)
DescribeCodeRepositoryResult & WithRequestId(const Aws::String &value)
DescribeCodeRepositoryResult & WithCodeRepositoryName(const char *value)
DescribeCodeRepositoryResult & WithCodeRepositoryArn(const Aws::String &value)
DescribeCodeRepositoryResult & WithCodeRepositoryName(Aws::String &&value)
DescribeCodeRepositoryResult & WithCodeRepositoryArn(const char *value)
DescribeCodeRepositoryResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
DescribeCodeRepositoryResult & WithCodeRepositoryArn(Aws::String &&value)
DescribeCodeRepositoryResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
AWS_SAGEMAKER_API DescribeCodeRepositoryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeCodeRepositoryResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeCodeRepositoryResult & WithCodeRepositoryName(const Aws::String &value)
AWS_SAGEMAKER_API DescribeCodeRepositoryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
DescribeCodeRepositoryResult & WithGitConfig(const GitConfig &value)
DescribeCodeRepositoryResult & WithGitConfig(GitConfig &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue