AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DataLakePrincipal.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 DataLakePrincipal() = default;
36 AWS_LAKEFORMATION_API DataLakePrincipal(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LAKEFORMATION_API DataLakePrincipal& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LAKEFORMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetDataLakePrincipalIdentifier() const { return m_dataLakePrincipalIdentifier; }
46 inline bool DataLakePrincipalIdentifierHasBeenSet() const { return m_dataLakePrincipalIdentifierHasBeenSet; }
47 template<typename DataLakePrincipalIdentifierT = Aws::String>
48 void SetDataLakePrincipalIdentifier(DataLakePrincipalIdentifierT&& value) { m_dataLakePrincipalIdentifierHasBeenSet = true; m_dataLakePrincipalIdentifier = std::forward<DataLakePrincipalIdentifierT>(value); }
49 template<typename DataLakePrincipalIdentifierT = Aws::String>
50 DataLakePrincipal& WithDataLakePrincipalIdentifier(DataLakePrincipalIdentifierT&& value) { SetDataLakePrincipalIdentifier(std::forward<DataLakePrincipalIdentifierT>(value)); return *this;}
52 private:
53
54 Aws::String m_dataLakePrincipalIdentifier;
55 bool m_dataLakePrincipalIdentifierHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace LakeFormation
60} // namespace Aws
void SetDataLakePrincipalIdentifier(DataLakePrincipalIdentifierT &&value)
DataLakePrincipal & WithDataLakePrincipalIdentifier(DataLakePrincipalIdentifierT &&value)
AWS_LAKEFORMATION_API DataLakePrincipal()=default
AWS_LAKEFORMATION_API DataLakePrincipal & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LAKEFORMATION_API DataLakePrincipal(Aws::Utils::Json::JsonView jsonValue)
AWS_LAKEFORMATION_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDataLakePrincipalIdentifier() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue