AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
ResourceCatalog.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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SageMaker {
21namespace Model {
22
34 public:
35 AWS_SAGEMAKER_API ResourceCatalog() = default;
36 AWS_SAGEMAKER_API ResourceCatalog(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetResourceCatalogArn() const { return m_resourceCatalogArn; }
45 inline bool ResourceCatalogArnHasBeenSet() const { return m_resourceCatalogArnHasBeenSet; }
46 template <typename ResourceCatalogArnT = Aws::String>
47 void SetResourceCatalogArn(ResourceCatalogArnT&& value) {
48 m_resourceCatalogArnHasBeenSet = true;
49 m_resourceCatalogArn = std::forward<ResourceCatalogArnT>(value);
50 }
51 template <typename ResourceCatalogArnT = Aws::String>
52 ResourceCatalog& WithResourceCatalogArn(ResourceCatalogArnT&& value) {
53 SetResourceCatalogArn(std::forward<ResourceCatalogArnT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetResourceCatalogName() const { return m_resourceCatalogName; }
63 inline bool ResourceCatalogNameHasBeenSet() const { return m_resourceCatalogNameHasBeenSet; }
64 template <typename ResourceCatalogNameT = Aws::String>
65 void SetResourceCatalogName(ResourceCatalogNameT&& value) {
66 m_resourceCatalogNameHasBeenSet = true;
67 m_resourceCatalogName = std::forward<ResourceCatalogNameT>(value);
68 }
69 template <typename ResourceCatalogNameT = Aws::String>
70 ResourceCatalog& WithResourceCatalogName(ResourceCatalogNameT&& value) {
71 SetResourceCatalogName(std::forward<ResourceCatalogNameT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetDescription() const { return m_description; }
81 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
82 template <typename DescriptionT = Aws::String>
83 void SetDescription(DescriptionT&& value) {
84 m_descriptionHasBeenSet = true;
85 m_description = std::forward<DescriptionT>(value);
86 }
87 template <typename DescriptionT = Aws::String>
88 ResourceCatalog& WithDescription(DescriptionT&& value) {
89 SetDescription(std::forward<DescriptionT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
99 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
100 template <typename CreationTimeT = Aws::Utils::DateTime>
101 void SetCreationTime(CreationTimeT&& value) {
102 m_creationTimeHasBeenSet = true;
103 m_creationTime = std::forward<CreationTimeT>(value);
104 }
105 template <typename CreationTimeT = Aws::Utils::DateTime>
106 ResourceCatalog& WithCreationTime(CreationTimeT&& value) {
107 SetCreationTime(std::forward<CreationTimeT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_resourceCatalogArn;
113
114 Aws::String m_resourceCatalogName;
115
116 Aws::String m_description;
117
118 Aws::Utils::DateTime m_creationTime{};
119 bool m_resourceCatalogArnHasBeenSet = false;
120 bool m_resourceCatalogNameHasBeenSet = false;
121 bool m_descriptionHasBeenSet = false;
122 bool m_creationTimeHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace SageMaker
127} // namespace Aws
const Aws::Utils::DateTime & GetCreationTime() const
void SetResourceCatalogName(ResourceCatalogNameT &&value)
const Aws::String & GetResourceCatalogName() const
ResourceCatalog & WithDescription(DescriptionT &&value)
void SetCreationTime(CreationTimeT &&value)
ResourceCatalog & WithResourceCatalogName(ResourceCatalogNameT &&value)
const Aws::String & GetResourceCatalogArn() const
AWS_SAGEMAKER_API ResourceCatalog(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ResourceCatalog()=default
void SetResourceCatalogArn(ResourceCatalogArnT &&value)
ResourceCatalog & WithResourceCatalogArn(ResourceCatalogArnT &&value)
ResourceCatalog & WithCreationTime(CreationTimeT &&value)
void SetDescription(DescriptionT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDescription() const
AWS_SAGEMAKER_API ResourceCatalog & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue