AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetHubName(const Aws::String& value) { m_hubNameHasBeenSet = true; m_hubName = value; }
50 inline void SetHubName(Aws::String&& value) { m_hubNameHasBeenSet = true; m_hubName = std::move(value); }
51 inline void SetHubName(const char* value) { m_hubNameHasBeenSet = true; m_hubName.assign(value); }
52 inline HubInfo& WithHubName(const Aws::String& value) { SetHubName(value); return *this;}
53 inline HubInfo& WithHubName(Aws::String&& value) { SetHubName(std::move(value)); return *this;}
54 inline HubInfo& WithHubName(const char* value) { SetHubName(value); return *this;}
56
58
61 inline const Aws::String& GetHubArn() const{ return m_hubArn; }
62 inline bool HubArnHasBeenSet() const { return m_hubArnHasBeenSet; }
63 inline void SetHubArn(const Aws::String& value) { m_hubArnHasBeenSet = true; m_hubArn = value; }
64 inline void SetHubArn(Aws::String&& value) { m_hubArnHasBeenSet = true; m_hubArn = std::move(value); }
65 inline void SetHubArn(const char* value) { m_hubArnHasBeenSet = true; m_hubArn.assign(value); }
66 inline HubInfo& WithHubArn(const Aws::String& value) { SetHubArn(value); return *this;}
67 inline HubInfo& WithHubArn(Aws::String&& value) { SetHubArn(std::move(value)); return *this;}
68 inline HubInfo& WithHubArn(const char* value) { SetHubArn(value); return *this;}
70
72
75 inline const Aws::String& GetHubDisplayName() const{ return m_hubDisplayName; }
76 inline bool HubDisplayNameHasBeenSet() const { return m_hubDisplayNameHasBeenSet; }
77 inline void SetHubDisplayName(const Aws::String& value) { m_hubDisplayNameHasBeenSet = true; m_hubDisplayName = value; }
78 inline void SetHubDisplayName(Aws::String&& value) { m_hubDisplayNameHasBeenSet = true; m_hubDisplayName = std::move(value); }
79 inline void SetHubDisplayName(const char* value) { m_hubDisplayNameHasBeenSet = true; m_hubDisplayName.assign(value); }
80 inline HubInfo& WithHubDisplayName(const Aws::String& value) { SetHubDisplayName(value); return *this;}
81 inline HubInfo& WithHubDisplayName(Aws::String&& value) { SetHubDisplayName(std::move(value)); return *this;}
82 inline HubInfo& WithHubDisplayName(const char* value) { SetHubDisplayName(value); return *this;}
84
86
89 inline const Aws::String& GetHubDescription() const{ return m_hubDescription; }
90 inline bool HubDescriptionHasBeenSet() const { return m_hubDescriptionHasBeenSet; }
91 inline void SetHubDescription(const Aws::String& value) { m_hubDescriptionHasBeenSet = true; m_hubDescription = value; }
92 inline void SetHubDescription(Aws::String&& value) { m_hubDescriptionHasBeenSet = true; m_hubDescription = std::move(value); }
93 inline void SetHubDescription(const char* value) { m_hubDescriptionHasBeenSet = true; m_hubDescription.assign(value); }
94 inline HubInfo& WithHubDescription(const Aws::String& value) { SetHubDescription(value); return *this;}
95 inline HubInfo& WithHubDescription(Aws::String&& value) { SetHubDescription(std::move(value)); return *this;}
96 inline HubInfo& WithHubDescription(const char* value) { SetHubDescription(value); return *this;}
98
100
103 inline const Aws::Vector<Aws::String>& GetHubSearchKeywords() const{ return m_hubSearchKeywords; }
104 inline bool HubSearchKeywordsHasBeenSet() const { return m_hubSearchKeywordsHasBeenSet; }
105 inline void SetHubSearchKeywords(const Aws::Vector<Aws::String>& value) { m_hubSearchKeywordsHasBeenSet = true; m_hubSearchKeywords = value; }
106 inline void SetHubSearchKeywords(Aws::Vector<Aws::String>&& value) { m_hubSearchKeywordsHasBeenSet = true; m_hubSearchKeywords = std::move(value); }
107 inline HubInfo& WithHubSearchKeywords(const Aws::Vector<Aws::String>& value) { SetHubSearchKeywords(value); return *this;}
108 inline HubInfo& WithHubSearchKeywords(Aws::Vector<Aws::String>&& value) { SetHubSearchKeywords(std::move(value)); return *this;}
109 inline HubInfo& AddHubSearchKeywords(const Aws::String& value) { m_hubSearchKeywordsHasBeenSet = true; m_hubSearchKeywords.push_back(value); return *this; }
110 inline HubInfo& AddHubSearchKeywords(Aws::String&& value) { m_hubSearchKeywordsHasBeenSet = true; m_hubSearchKeywords.push_back(std::move(value)); return *this; }
111 inline HubInfo& AddHubSearchKeywords(const char* value) { m_hubSearchKeywordsHasBeenSet = true; m_hubSearchKeywords.push_back(value); return *this; }
113
115
118 inline const HubStatus& GetHubStatus() const{ return m_hubStatus; }
119 inline bool HubStatusHasBeenSet() const { return m_hubStatusHasBeenSet; }
120 inline void SetHubStatus(const HubStatus& value) { m_hubStatusHasBeenSet = true; m_hubStatus = value; }
121 inline void SetHubStatus(HubStatus&& value) { m_hubStatusHasBeenSet = true; m_hubStatus = std::move(value); }
122 inline HubInfo& WithHubStatus(const HubStatus& value) { SetHubStatus(value); return *this;}
123 inline HubInfo& WithHubStatus(HubStatus&& value) { SetHubStatus(std::move(value)); return *this;}
125
127
130 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
131 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
132 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
133 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
134 inline HubInfo& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
135 inline HubInfo& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
137
139
142 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
143 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
144 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
145 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
146 inline HubInfo& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
147 inline HubInfo& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
149 private:
150
151 Aws::String m_hubName;
152 bool m_hubNameHasBeenSet = false;
153
154 Aws::String m_hubArn;
155 bool m_hubArnHasBeenSet = false;
156
157 Aws::String m_hubDisplayName;
158 bool m_hubDisplayNameHasBeenSet = false;
159
160 Aws::String m_hubDescription;
161 bool m_hubDescriptionHasBeenSet = false;
162
163 Aws::Vector<Aws::String> m_hubSearchKeywords;
164 bool m_hubSearchKeywordsHasBeenSet = false;
165
166 HubStatus m_hubStatus;
167 bool m_hubStatusHasBeenSet = false;
168
169 Aws::Utils::DateTime m_creationTime;
170 bool m_creationTimeHasBeenSet = false;
171
172 Aws::Utils::DateTime m_lastModifiedTime;
173 bool m_lastModifiedTimeHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace SageMaker
178} // namespace Aws
HubInfo & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition HubInfo.h:146
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition HubInfo.h:133
HubInfo & WithHubDisplayName(const Aws::String &value)
Definition HubInfo.h:80
HubInfo & WithHubName(const Aws::String &value)
Definition HubInfo.h:52
bool HubSearchKeywordsHasBeenSet() const
Definition HubInfo.h:104
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
HubInfo & WithCreationTime(Aws::Utils::DateTime &&value)
Definition HubInfo.h:135
void SetHubDisplayName(const char *value)
Definition HubInfo.h:79
void SetHubName(const char *value)
Definition HubInfo.h:51
HubInfo & WithHubDisplayName(Aws::String &&value)
Definition HubInfo.h:81
void SetHubDisplayName(const Aws::String &value)
Definition HubInfo.h:77
HubInfo & WithHubArn(const Aws::String &value)
Definition HubInfo.h:66
void SetHubDescription(const Aws::String &value)
Definition HubInfo.h:91
HubInfo & AddHubSearchKeywords(const Aws::String &value)
Definition HubInfo.h:109
HubInfo & AddHubSearchKeywords(const char *value)
Definition HubInfo.h:111
void SetHubDescription(const char *value)
Definition HubInfo.h:93
bool HubDescriptionHasBeenSet() const
Definition HubInfo.h:90
HubInfo & WithHubSearchKeywords(Aws::Vector< Aws::String > &&value)
Definition HubInfo.h:108
bool LastModifiedTimeHasBeenSet() const
Definition HubInfo.h:143
HubInfo & WithHubStatus(const HubStatus &value)
Definition HubInfo.h:122
bool HubArnHasBeenSet() const
Definition HubInfo.h:62
void SetHubArn(const Aws::String &value)
Definition HubInfo.h:63
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition HubInfo.h:145
AWS_SAGEMAKER_API HubInfo(Aws::Utils::Json::JsonView jsonValue)
HubInfo & WithHubStatus(HubStatus &&value)
Definition HubInfo.h:123
HubInfo & WithHubDisplayName(const char *value)
Definition HubInfo.h:82
HubInfo & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition HubInfo.h:147
const HubStatus & GetHubStatus() const
Definition HubInfo.h:118
void SetHubDisplayName(Aws::String &&value)
Definition HubInfo.h:78
void SetHubArn(const char *value)
Definition HubInfo.h:65
AWS_SAGEMAKER_API HubInfo()
HubInfo & WithHubName(Aws::String &&value)
Definition HubInfo.h:53
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition HubInfo.h:132
HubInfo & WithHubArn(const char *value)
Definition HubInfo.h:68
const Aws::Utils::DateTime & GetCreationTime() const
Definition HubInfo.h:130
void SetHubDescription(Aws::String &&value)
Definition HubInfo.h:92
const Aws::Vector< Aws::String > & GetHubSearchKeywords() const
Definition HubInfo.h:103
void SetHubSearchKeywords(Aws::Vector< Aws::String > &&value)
Definition HubInfo.h:106
bool CreationTimeHasBeenSet() const
Definition HubInfo.h:131
AWS_SAGEMAKER_API HubInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
HubInfo & AddHubSearchKeywords(Aws::String &&value)
Definition HubInfo.h:110
HubInfo & WithHubArn(Aws::String &&value)
Definition HubInfo.h:67
HubInfo & WithHubSearchKeywords(const Aws::Vector< Aws::String > &value)
Definition HubInfo.h:107
void SetHubName(const Aws::String &value)
Definition HubInfo.h:49
void SetHubSearchKeywords(const Aws::Vector< Aws::String > &value)
Definition HubInfo.h:105
HubInfo & WithHubDescription(const char *value)
Definition HubInfo.h:96
const Aws::String & GetHubName() const
Definition HubInfo.h:47
bool HubNameHasBeenSet() const
Definition HubInfo.h:48
void SetHubName(Aws::String &&value)
Definition HubInfo.h:50
const Aws::String & GetHubDescription() const
Definition HubInfo.h:89
bool HubStatusHasBeenSet() const
Definition HubInfo.h:119
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition HubInfo.h:142
void SetHubArn(Aws::String &&value)
Definition HubInfo.h:64
bool HubDisplayNameHasBeenSet() const
Definition HubInfo.h:76
HubInfo & WithHubDescription(Aws::String &&value)
Definition HubInfo.h:95
void SetHubStatus(HubStatus &&value)
Definition HubInfo.h:121
HubInfo & WithHubDescription(const Aws::String &value)
Definition HubInfo.h:94
const Aws::String & GetHubDisplayName() const
Definition HubInfo.h:75
const Aws::String & GetHubArn() const
Definition HubInfo.h:61
HubInfo & WithCreationTime(const Aws::Utils::DateTime &value)
Definition HubInfo.h:134
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition HubInfo.h:144
void SetHubStatus(const HubStatus &value)
Definition HubInfo.h:120
HubInfo & WithHubName(const char *value)
Definition HubInfo.h:54
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue