AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ResourceCatalog.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/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
38 {
39 public:
40 AWS_SAGEMAKER_API ResourceCatalog() = default;
41 AWS_SAGEMAKER_API ResourceCatalog(Aws::Utils::Json::JsonView jsonValue);
43 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetResourceCatalogArn() const { return m_resourceCatalogArn; }
51 inline bool ResourceCatalogArnHasBeenSet() const { return m_resourceCatalogArnHasBeenSet; }
52 template<typename ResourceCatalogArnT = Aws::String>
53 void SetResourceCatalogArn(ResourceCatalogArnT&& value) { m_resourceCatalogArnHasBeenSet = true; m_resourceCatalogArn = std::forward<ResourceCatalogArnT>(value); }
54 template<typename ResourceCatalogArnT = Aws::String>
55 ResourceCatalog& WithResourceCatalogArn(ResourceCatalogArnT&& value) { SetResourceCatalogArn(std::forward<ResourceCatalogArnT>(value)); return *this;}
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) { m_resourceCatalogNameHasBeenSet = true; m_resourceCatalogName = std::forward<ResourceCatalogNameT>(value); }
66 template<typename ResourceCatalogNameT = Aws::String>
67 ResourceCatalog& WithResourceCatalogName(ResourceCatalogNameT&& value) { SetResourceCatalogName(std::forward<ResourceCatalogNameT>(value)); return *this;}
69
71
74 inline const Aws::String& GetDescription() const { return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 template<typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
78 template<typename DescriptionT = Aws::String>
79 ResourceCatalog& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
81
83
86 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
87 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
88 template<typename CreationTimeT = Aws::Utils::DateTime>
89 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
90 template<typename CreationTimeT = Aws::Utils::DateTime>
91 ResourceCatalog& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
93 private:
94
95 Aws::String m_resourceCatalogArn;
96 bool m_resourceCatalogArnHasBeenSet = false;
97
98 Aws::String m_resourceCatalogName;
99 bool m_resourceCatalogNameHasBeenSet = false;
100
101 Aws::String m_description;
102 bool m_descriptionHasBeenSet = false;
103
104 Aws::Utils::DateTime m_creationTime{};
105 bool m_creationTimeHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace SageMaker
110} // 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