AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
HubInfo.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/memory/stl/AWSVector.h>
10#include <aws/sagemaker/model/HubStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SageMaker
25{
26namespace Model
27{
28
34 class HubInfo
35 {
36 public:
37 AWS_SAGEMAKER_API HubInfo() = default;
38 AWS_SAGEMAKER_API HubInfo(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API HubInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetHubName() const { return m_hubName; }
48 inline bool HubNameHasBeenSet() const { return m_hubNameHasBeenSet; }
49 template<typename HubNameT = Aws::String>
50 void SetHubName(HubNameT&& value) { m_hubNameHasBeenSet = true; m_hubName = std::forward<HubNameT>(value); }
51 template<typename HubNameT = Aws::String>
52 HubInfo& WithHubName(HubNameT&& value) { SetHubName(std::forward<HubNameT>(value)); return *this;}
54
56
59 inline const Aws::String& GetHubArn() const { return m_hubArn; }
60 inline bool HubArnHasBeenSet() const { return m_hubArnHasBeenSet; }
61 template<typename HubArnT = Aws::String>
62 void SetHubArn(HubArnT&& value) { m_hubArnHasBeenSet = true; m_hubArn = std::forward<HubArnT>(value); }
63 template<typename HubArnT = Aws::String>
64 HubInfo& WithHubArn(HubArnT&& value) { SetHubArn(std::forward<HubArnT>(value)); return *this;}
66
68
71 inline const Aws::String& GetHubDisplayName() const { return m_hubDisplayName; }
72 inline bool HubDisplayNameHasBeenSet() const { return m_hubDisplayNameHasBeenSet; }
73 template<typename HubDisplayNameT = Aws::String>
74 void SetHubDisplayName(HubDisplayNameT&& value) { m_hubDisplayNameHasBeenSet = true; m_hubDisplayName = std::forward<HubDisplayNameT>(value); }
75 template<typename HubDisplayNameT = Aws::String>
76 HubInfo& WithHubDisplayName(HubDisplayNameT&& value) { SetHubDisplayName(std::forward<HubDisplayNameT>(value)); return *this;}
78
80
83 inline const Aws::String& GetHubDescription() const { return m_hubDescription; }
84 inline bool HubDescriptionHasBeenSet() const { return m_hubDescriptionHasBeenSet; }
85 template<typename HubDescriptionT = Aws::String>
86 void SetHubDescription(HubDescriptionT&& value) { m_hubDescriptionHasBeenSet = true; m_hubDescription = std::forward<HubDescriptionT>(value); }
87 template<typename HubDescriptionT = Aws::String>
88 HubInfo& WithHubDescription(HubDescriptionT&& value) { SetHubDescription(std::forward<HubDescriptionT>(value)); return *this;}
90
92
95 inline const Aws::Vector<Aws::String>& GetHubSearchKeywords() const { return m_hubSearchKeywords; }
96 inline bool HubSearchKeywordsHasBeenSet() const { return m_hubSearchKeywordsHasBeenSet; }
97 template<typename HubSearchKeywordsT = Aws::Vector<Aws::String>>
98 void SetHubSearchKeywords(HubSearchKeywordsT&& value) { m_hubSearchKeywordsHasBeenSet = true; m_hubSearchKeywords = std::forward<HubSearchKeywordsT>(value); }
99 template<typename HubSearchKeywordsT = Aws::Vector<Aws::String>>
100 HubInfo& WithHubSearchKeywords(HubSearchKeywordsT&& value) { SetHubSearchKeywords(std::forward<HubSearchKeywordsT>(value)); return *this;}
101 template<typename HubSearchKeywordsT = Aws::String>
102 HubInfo& AddHubSearchKeywords(HubSearchKeywordsT&& value) { m_hubSearchKeywordsHasBeenSet = true; m_hubSearchKeywords.emplace_back(std::forward<HubSearchKeywordsT>(value)); return *this; }
104
106
109 inline HubStatus GetHubStatus() const { return m_hubStatus; }
110 inline bool HubStatusHasBeenSet() const { return m_hubStatusHasBeenSet; }
111 inline void SetHubStatus(HubStatus value) { m_hubStatusHasBeenSet = true; m_hubStatus = value; }
112 inline HubInfo& WithHubStatus(HubStatus value) { SetHubStatus(value); return *this;}
114
116
119 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
120 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
121 template<typename CreationTimeT = Aws::Utils::DateTime>
122 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
123 template<typename CreationTimeT = Aws::Utils::DateTime>
124 HubInfo& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
126
128
131 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
132 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
133 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
134 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
135 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
136 HubInfo& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
138 private:
139
140 Aws::String m_hubName;
141 bool m_hubNameHasBeenSet = false;
142
143 Aws::String m_hubArn;
144 bool m_hubArnHasBeenSet = false;
145
146 Aws::String m_hubDisplayName;
147 bool m_hubDisplayNameHasBeenSet = false;
148
149 Aws::String m_hubDescription;
150 bool m_hubDescriptionHasBeenSet = false;
151
152 Aws::Vector<Aws::String> m_hubSearchKeywords;
153 bool m_hubSearchKeywordsHasBeenSet = false;
154
155 HubStatus m_hubStatus{HubStatus::NOT_SET};
156 bool m_hubStatusHasBeenSet = false;
157
158 Aws::Utils::DateTime m_creationTime{};
159 bool m_creationTimeHasBeenSet = false;
160
161 Aws::Utils::DateTime m_lastModifiedTime{};
162 bool m_lastModifiedTimeHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace SageMaker
167} // namespace Aws
void SetHubStatus(HubStatus value)
Definition HubInfo.h:111
void SetLastModifiedTime(LastModifiedTimeT &&value)
Definition HubInfo.h:134
HubInfo & AddHubSearchKeywords(HubSearchKeywordsT &&value)
Definition HubInfo.h:102
bool HubSearchKeywordsHasBeenSet() const
Definition HubInfo.h:96
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
HubInfo & WithHubName(HubNameT &&value)
Definition HubInfo.h:52
HubInfo & WithHubArn(HubArnT &&value)
Definition HubInfo.h:64
void SetHubArn(HubArnT &&value)
Definition HubInfo.h:62
HubInfo & WithHubDisplayName(HubDisplayNameT &&value)
Definition HubInfo.h:76
AWS_SAGEMAKER_API HubInfo()=default
bool HubDescriptionHasBeenSet() const
Definition HubInfo.h:84
bool LastModifiedTimeHasBeenSet() const
Definition HubInfo.h:132
void SetHubName(HubNameT &&value)
Definition HubInfo.h:50
HubInfo & WithHubDescription(HubDescriptionT &&value)
Definition HubInfo.h:88
bool HubArnHasBeenSet() const
Definition HubInfo.h:60
AWS_SAGEMAKER_API HubInfo(Aws::Utils::Json::JsonView jsonValue)
void SetHubDisplayName(HubDisplayNameT &&value)
Definition HubInfo.h:74
HubInfo & WithHubSearchKeywords(HubSearchKeywordsT &&value)
Definition HubInfo.h:100
const Aws::Utils::DateTime & GetCreationTime() const
Definition HubInfo.h:119
const Aws::Vector< Aws::String > & GetHubSearchKeywords() const
Definition HubInfo.h:95
bool CreationTimeHasBeenSet() const
Definition HubInfo.h:120
AWS_SAGEMAKER_API HubInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
HubInfo & WithHubStatus(HubStatus value)
Definition HubInfo.h:112
const Aws::String & GetHubName() const
Definition HubInfo.h:47
HubInfo & WithLastModifiedTime(LastModifiedTimeT &&value)
Definition HubInfo.h:136
void SetHubSearchKeywords(HubSearchKeywordsT &&value)
Definition HubInfo.h:98
bool HubNameHasBeenSet() const
Definition HubInfo.h:48
HubInfo & WithCreationTime(CreationTimeT &&value)
Definition HubInfo.h:124
HubStatus GetHubStatus() const
Definition HubInfo.h:109
const Aws::String & GetHubDescription() const
Definition HubInfo.h:83
bool HubStatusHasBeenSet() const
Definition HubInfo.h:110
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition HubInfo.h:131
bool HubDisplayNameHasBeenSet() const
Definition HubInfo.h:72
void SetHubDescription(HubDescriptionT &&value)
Definition HubInfo.h:86
const Aws::String & GetHubDisplayName() const
Definition HubInfo.h:71
const Aws::String & GetHubArn() const
Definition HubInfo.h:59
void SetCreationTime(CreationTimeT &&value)
Definition HubInfo.h:122
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue