AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
35
36
38
41 inline const Aws::String& GetCodeRepositoryName() const { return m_codeRepositoryName; }
42 template<typename CodeRepositoryNameT = Aws::String>
43 void SetCodeRepositoryName(CodeRepositoryNameT&& value) { m_codeRepositoryNameHasBeenSet = true; m_codeRepositoryName = std::forward<CodeRepositoryNameT>(value); }
44 template<typename CodeRepositoryNameT = Aws::String>
45 DescribeCodeRepositoryResult& WithCodeRepositoryName(CodeRepositoryNameT&& value) { SetCodeRepositoryName(std::forward<CodeRepositoryNameT>(value)); return *this;}
47
49
52 inline const Aws::String& GetCodeRepositoryArn() const { return m_codeRepositoryArn; }
53 template<typename CodeRepositoryArnT = Aws::String>
54 void SetCodeRepositoryArn(CodeRepositoryArnT&& value) { m_codeRepositoryArnHasBeenSet = true; m_codeRepositoryArn = std::forward<CodeRepositoryArnT>(value); }
55 template<typename CodeRepositoryArnT = Aws::String>
56 DescribeCodeRepositoryResult& WithCodeRepositoryArn(CodeRepositoryArnT&& value) { SetCodeRepositoryArn(std::forward<CodeRepositoryArnT>(value)); return *this;}
58
60
63 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
64 template<typename CreationTimeT = Aws::Utils::DateTime>
65 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
66 template<typename CreationTimeT = Aws::Utils::DateTime>
67 DescribeCodeRepositoryResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
75 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
76 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
77 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
78 DescribeCodeRepositoryResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
80
82
88 inline const GitConfig& GetGitConfig() const { return m_gitConfig; }
89 template<typename GitConfigT = GitConfig>
90 void SetGitConfig(GitConfigT&& value) { m_gitConfigHasBeenSet = true; m_gitConfig = std::forward<GitConfigT>(value); }
91 template<typename GitConfigT = GitConfig>
92 DescribeCodeRepositoryResult& WithGitConfig(GitConfigT&& value) { SetGitConfig(std::forward<GitConfigT>(value)); return *this;}
94
96
97 inline const Aws::String& GetRequestId() const { return m_requestId; }
98 template<typename RequestIdT = Aws::String>
99 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
100 template<typename RequestIdT = Aws::String>
101 DescribeCodeRepositoryResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
103 private:
104
105 Aws::String m_codeRepositoryName;
106 bool m_codeRepositoryNameHasBeenSet = false;
107
108 Aws::String m_codeRepositoryArn;
109 bool m_codeRepositoryArnHasBeenSet = false;
110
111 Aws::Utils::DateTime m_creationTime{};
112 bool m_creationTimeHasBeenSet = false;
113
114 Aws::Utils::DateTime m_lastModifiedTime{};
115 bool m_lastModifiedTimeHasBeenSet = false;
116
117 GitConfig m_gitConfig;
118 bool m_gitConfigHasBeenSet = false;
119
120 Aws::String m_requestId;
121 bool m_requestIdHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace SageMaker
126} // namespace Aws
DescribeCodeRepositoryResult & WithCodeRepositoryName(CodeRepositoryNameT &&value)
DescribeCodeRepositoryResult & WithGitConfig(GitConfigT &&value)
DescribeCodeRepositoryResult & WithRequestId(RequestIdT &&value)
DescribeCodeRepositoryResult & WithCodeRepositoryArn(CodeRepositoryArnT &&value)
DescribeCodeRepositoryResult & WithLastModifiedTime(LastModifiedTimeT &&value)
DescribeCodeRepositoryResult & WithCreationTime(CreationTimeT &&value)
AWS_SAGEMAKER_API DescribeCodeRepositoryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SAGEMAKER_API DescribeCodeRepositoryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SAGEMAKER_API DescribeCodeRepositoryResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue