AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
LakeFormationConfiguration.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
29 public:
30 AWS_GLUE_API LakeFormationConfiguration() = default;
34
36
40 inline bool GetUseLakeFormationCredentials() const { return m_useLakeFormationCredentials; }
41 inline bool UseLakeFormationCredentialsHasBeenSet() const { return m_useLakeFormationCredentialsHasBeenSet; }
42 inline void SetUseLakeFormationCredentials(bool value) {
43 m_useLakeFormationCredentialsHasBeenSet = true;
44 m_useLakeFormationCredentials = value;
45 }
48 return *this;
49 }
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) {
61 m_accountIdHasBeenSet = true;
62 m_accountId = std::forward<AccountIdT>(value);
63 }
64 template <typename AccountIdT = Aws::String>
66 SetAccountId(std::forward<AccountIdT>(value));
67 return *this;
68 }
70 private:
71 bool m_useLakeFormationCredentials{false};
72 bool m_useLakeFormationCredentialsHasBeenSet = false;
73
74 Aws::String m_accountId;
75 bool m_accountIdHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace Glue
80} // 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