AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
DataLakePrincipal.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glue {
20namespace Model {
21
28 public:
29 AWS_GLUE_API DataLakePrincipal() = default;
33
35
38 inline const Aws::String& GetDataLakePrincipalIdentifier() const { return m_dataLakePrincipalIdentifier; }
39 inline bool DataLakePrincipalIdentifierHasBeenSet() const { return m_dataLakePrincipalIdentifierHasBeenSet; }
40 template <typename DataLakePrincipalIdentifierT = Aws::String>
41 void SetDataLakePrincipalIdentifier(DataLakePrincipalIdentifierT&& value) {
42 m_dataLakePrincipalIdentifierHasBeenSet = true;
43 m_dataLakePrincipalIdentifier = std::forward<DataLakePrincipalIdentifierT>(value);
44 }
45 template <typename DataLakePrincipalIdentifierT = Aws::String>
46 DataLakePrincipal& WithDataLakePrincipalIdentifier(DataLakePrincipalIdentifierT&& value) {
47 SetDataLakePrincipalIdentifier(std::forward<DataLakePrincipalIdentifierT>(value));
48 return *this;
49 }
51 private:
52 Aws::String m_dataLakePrincipalIdentifier;
53 bool m_dataLakePrincipalIdentifierHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace Glue
58} // namespace Aws
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API DataLakePrincipal & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDataLakePrincipalIdentifier(DataLakePrincipalIdentifierT &&value)
AWS_GLUE_API DataLakePrincipal(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API DataLakePrincipal()=default
DataLakePrincipal & WithDataLakePrincipalIdentifier(DataLakePrincipalIdentifierT &&value)
const Aws::String & GetDataLakePrincipalIdentifier() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue