AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DataLocationResource.h
1
6#pragma once
7#include <aws/lakeformation/LakeFormation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace LakeFormation
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_LAKEFORMATION_API DataLocationResource() = default;
36 AWS_LAKEFORMATION_API DataLocationResource(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LAKEFORMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
47 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
48 template<typename CatalogIdT = Aws::String>
49 void SetCatalogId(CatalogIdT&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::forward<CatalogIdT>(value); }
50 template<typename CatalogIdT = Aws::String>
51 DataLocationResource& WithCatalogId(CatalogIdT&& value) { SetCatalogId(std::forward<CatalogIdT>(value)); return *this;}
53
55
59 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
60 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
61 template<typename ResourceArnT = Aws::String>
62 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::forward<ResourceArnT>(value); }
63 template<typename ResourceArnT = Aws::String>
64 DataLocationResource& WithResourceArn(ResourceArnT&& value) { SetResourceArn(std::forward<ResourceArnT>(value)); return *this;}
66 private:
67
68 Aws::String m_catalogId;
69 bool m_catalogIdHasBeenSet = false;
70
71 Aws::String m_resourceArn;
72 bool m_resourceArnHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace LakeFormation
77} // namespace Aws
DataLocationResource & WithCatalogId(CatalogIdT &&value)
AWS_LAKEFORMATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LAKEFORMATION_API DataLocationResource()=default
AWS_LAKEFORMATION_API DataLocationResource(Aws::Utils::Json::JsonView jsonValue)
AWS_LAKEFORMATION_API DataLocationResource & operator=(Aws::Utils::Json::JsonView jsonValue)
DataLocationResource & WithResourceArn(ResourceArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue