AWS SDK for C++

AWS SDK for C++ Version 1.11.780

Loading...
Searching...
No Matches
DescribeCodeRepositoryResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/GitConfig.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace SageMaker {
25namespace Model {
27 public:
28 AWS_SAGEMAKER_API DescribeCodeRepositoryResult() = default;
31
33
36 inline const Aws::String& GetCodeRepositoryName() const { return m_codeRepositoryName; }
37 template <typename CodeRepositoryNameT = Aws::String>
38 void SetCodeRepositoryName(CodeRepositoryNameT&& value) {
39 m_codeRepositoryNameHasBeenSet = true;
40 m_codeRepositoryName = std::forward<CodeRepositoryNameT>(value);
41 }
42 template <typename CodeRepositoryNameT = Aws::String>
44 SetCodeRepositoryName(std::forward<CodeRepositoryNameT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetCodeRepositoryArn() const { return m_codeRepositoryArn; }
54 template <typename CodeRepositoryArnT = Aws::String>
55 void SetCodeRepositoryArn(CodeRepositoryArnT&& value) {
56 m_codeRepositoryArnHasBeenSet = true;
57 m_codeRepositoryArn = std::forward<CodeRepositoryArnT>(value);
58 }
59 template <typename CodeRepositoryArnT = Aws::String>
61 SetCodeRepositoryArn(std::forward<CodeRepositoryArnT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
71 template <typename CreationTimeT = Aws::Utils::DateTime>
72 void SetCreationTime(CreationTimeT&& value) {
73 m_creationTimeHasBeenSet = true;
74 m_creationTime = std::forward<CreationTimeT>(value);
75 }
76 template <typename CreationTimeT = Aws::Utils::DateTime>
78 SetCreationTime(std::forward<CreationTimeT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
88 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
89 void SetLastModifiedTime(LastModifiedTimeT&& value) {
90 m_lastModifiedTimeHasBeenSet = true;
91 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
92 }
93 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
95 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
96 return *this;
97 }
99
101
107 inline const GitConfig& GetGitConfig() const { return m_gitConfig; }
108 template <typename GitConfigT = GitConfig>
109 void SetGitConfig(GitConfigT&& value) {
110 m_gitConfigHasBeenSet = true;
111 m_gitConfig = std::forward<GitConfigT>(value);
112 }
113 template <typename GitConfigT = GitConfig>
115 SetGitConfig(std::forward<GitConfigT>(value));
116 return *this;
117 }
119
121
122 inline const Aws::String& GetRequestId() const { return m_requestId; }
123 template <typename RequestIdT = Aws::String>
124 void SetRequestId(RequestIdT&& value) {
125 m_requestIdHasBeenSet = true;
126 m_requestId = std::forward<RequestIdT>(value);
127 }
128 template <typename RequestIdT = Aws::String>
130 SetRequestId(std::forward<RequestIdT>(value));
131 return *this;
132 }
134 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
135
136 private:
137 Aws::String m_codeRepositoryName;
138
139 Aws::String m_codeRepositoryArn;
140
141 Aws::Utils::DateTime m_creationTime{};
142
143 Aws::Utils::DateTime m_lastModifiedTime{};
144
145 GitConfig m_gitConfig;
146
147 Aws::String m_requestId;
148 Aws::Http::HttpResponseCode m_HttpResponseCode;
149 bool m_codeRepositoryNameHasBeenSet = false;
150 bool m_codeRepositoryArnHasBeenSet = false;
151 bool m_creationTimeHasBeenSet = false;
152 bool m_lastModifiedTimeHasBeenSet = false;
153 bool m_gitConfigHasBeenSet = false;
154 bool m_requestIdHasBeenSet = false;
155};
156
157} // namespace Model
158} // namespace SageMaker
159} // 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