AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeCodeRepositoryResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/GitConfig.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker {
24namespace Model {
26 public:
27 AWS_SAGEMAKER_API DescribeCodeRepositoryResult() = default;
30
32
35 inline const Aws::String& GetCodeRepositoryName() const { return m_codeRepositoryName; }
36 template <typename CodeRepositoryNameT = Aws::String>
37 void SetCodeRepositoryName(CodeRepositoryNameT&& value) {
38 m_codeRepositoryNameHasBeenSet = true;
39 m_codeRepositoryName = std::forward<CodeRepositoryNameT>(value);
40 }
41 template <typename CodeRepositoryNameT = Aws::String>
43 SetCodeRepositoryName(std::forward<CodeRepositoryNameT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetCodeRepositoryArn() const { return m_codeRepositoryArn; }
53 template <typename CodeRepositoryArnT = Aws::String>
54 void SetCodeRepositoryArn(CodeRepositoryArnT&& value) {
55 m_codeRepositoryArnHasBeenSet = true;
56 m_codeRepositoryArn = std::forward<CodeRepositoryArnT>(value);
57 }
58 template <typename CodeRepositoryArnT = Aws::String>
60 SetCodeRepositoryArn(std::forward<CodeRepositoryArnT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
70 template <typename CreationTimeT = Aws::Utils::DateTime>
71 void SetCreationTime(CreationTimeT&& value) {
72 m_creationTimeHasBeenSet = true;
73 m_creationTime = std::forward<CreationTimeT>(value);
74 }
75 template <typename CreationTimeT = Aws::Utils::DateTime>
77 SetCreationTime(std::forward<CreationTimeT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
87 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
88 void SetLastModifiedTime(LastModifiedTimeT&& value) {
89 m_lastModifiedTimeHasBeenSet = true;
90 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
91 }
92 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
94 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
95 return *this;
96 }
98
100
106 inline const GitConfig& GetGitConfig() const { return m_gitConfig; }
107 template <typename GitConfigT = GitConfig>
108 void SetGitConfig(GitConfigT&& value) {
109 m_gitConfigHasBeenSet = true;
110 m_gitConfig = std::forward<GitConfigT>(value);
111 }
112 template <typename GitConfigT = GitConfig>
114 SetGitConfig(std::forward<GitConfigT>(value));
115 return *this;
116 }
118
120
121 inline const Aws::String& GetRequestId() const { return m_requestId; }
122 template <typename RequestIdT = Aws::String>
123 void SetRequestId(RequestIdT&& value) {
124 m_requestIdHasBeenSet = true;
125 m_requestId = std::forward<RequestIdT>(value);
126 }
127 template <typename RequestIdT = Aws::String>
129 SetRequestId(std::forward<RequestIdT>(value));
130 return *this;
131 }
133 private:
134 Aws::String m_codeRepositoryName;
135
136 Aws::String m_codeRepositoryArn;
137
138 Aws::Utils::DateTime m_creationTime{};
139
140 Aws::Utils::DateTime m_lastModifiedTime{};
141
142 GitConfig m_gitConfig;
143
144 Aws::String m_requestId;
145 bool m_codeRepositoryNameHasBeenSet = false;
146 bool m_codeRepositoryArnHasBeenSet = false;
147 bool m_creationTimeHasBeenSet = false;
148 bool m_lastModifiedTimeHasBeenSet = false;
149 bool m_gitConfigHasBeenSet = false;
150 bool m_requestIdHasBeenSet = false;
151};
152
153} // namespace Model
154} // namespace SageMaker
155} // 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