AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
LakeFormationConfiguration.h
1
6#pragma once
7#include <aws/glue/Glue_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 Glue
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GLUE_API LakeFormationConfiguration() = default;
39
40
42
46 inline bool GetUseLakeFormationCredentials() const { return m_useLakeFormationCredentials; }
47 inline bool UseLakeFormationCredentialsHasBeenSet() const { return m_useLakeFormationCredentialsHasBeenSet; }
48 inline void SetUseLakeFormationCredentials(bool value) { m_useLakeFormationCredentialsHasBeenSet = true; m_useLakeFormationCredentials = value; }
51
53
57 inline const Aws::String& GetAccountId() const { return m_accountId; }
58 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
59 template<typename AccountIdT = Aws::String>
60 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
61 template<typename AccountIdT = Aws::String>
62 LakeFormationConfiguration& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
64 private:
65
66 bool m_useLakeFormationCredentials{false};
67 bool m_useLakeFormationCredentialsHasBeenSet = false;
68
69 Aws::String m_accountId;
70 bool m_accountIdHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Glue
75} // namespace Aws
AWS_GLUE_API LakeFormationConfiguration()=default
AWS_GLUE_API LakeFormationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API LakeFormationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
LakeFormationConfiguration & WithAccountId(AccountIdT &&value)
LakeFormationConfiguration & WithUseLakeFormationCredentials(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue