AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
LakeFormationConfiguration.h
1
6#pragma once
7#include <aws/emr-containers/EMRContainers_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/emr-containers/model/SecureNamespaceInfo.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace EMRContainers
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_EMRCONTAINERS_API LakeFormationConfiguration() = default;
39 AWS_EMRCONTAINERS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetAuthorizedSessionTagValue() const { return m_authorizedSessionTagValue; }
48 inline bool AuthorizedSessionTagValueHasBeenSet() const { return m_authorizedSessionTagValueHasBeenSet; }
49 template<typename AuthorizedSessionTagValueT = Aws::String>
50 void SetAuthorizedSessionTagValue(AuthorizedSessionTagValueT&& value) { m_authorizedSessionTagValueHasBeenSet = true; m_authorizedSessionTagValue = std::forward<AuthorizedSessionTagValueT>(value); }
51 template<typename AuthorizedSessionTagValueT = Aws::String>
52 LakeFormationConfiguration& WithAuthorizedSessionTagValue(AuthorizedSessionTagValueT&& value) { SetAuthorizedSessionTagValue(std::forward<AuthorizedSessionTagValueT>(value)); return *this;}
54
56
59 inline const SecureNamespaceInfo& GetSecureNamespaceInfo() const { return m_secureNamespaceInfo; }
60 inline bool SecureNamespaceInfoHasBeenSet() const { return m_secureNamespaceInfoHasBeenSet; }
61 template<typename SecureNamespaceInfoT = SecureNamespaceInfo>
62 void SetSecureNamespaceInfo(SecureNamespaceInfoT&& value) { m_secureNamespaceInfoHasBeenSet = true; m_secureNamespaceInfo = std::forward<SecureNamespaceInfoT>(value); }
63 template<typename SecureNamespaceInfoT = SecureNamespaceInfo>
64 LakeFormationConfiguration& WithSecureNamespaceInfo(SecureNamespaceInfoT&& value) { SetSecureNamespaceInfo(std::forward<SecureNamespaceInfoT>(value)); return *this;}
66
68
73 inline const Aws::String& GetQueryEngineRoleArn() const { return m_queryEngineRoleArn; }
74 inline bool QueryEngineRoleArnHasBeenSet() const { return m_queryEngineRoleArnHasBeenSet; }
75 template<typename QueryEngineRoleArnT = Aws::String>
76 void SetQueryEngineRoleArn(QueryEngineRoleArnT&& value) { m_queryEngineRoleArnHasBeenSet = true; m_queryEngineRoleArn = std::forward<QueryEngineRoleArnT>(value); }
77 template<typename QueryEngineRoleArnT = Aws::String>
78 LakeFormationConfiguration& WithQueryEngineRoleArn(QueryEngineRoleArnT&& value) { SetQueryEngineRoleArn(std::forward<QueryEngineRoleArnT>(value)); return *this;}
80 private:
81
82 Aws::String m_authorizedSessionTagValue;
83 bool m_authorizedSessionTagValueHasBeenSet = false;
84
85 SecureNamespaceInfo m_secureNamespaceInfo;
86 bool m_secureNamespaceInfoHasBeenSet = false;
87
88 Aws::String m_queryEngineRoleArn;
89 bool m_queryEngineRoleArnHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace EMRContainers
94} // namespace Aws
LakeFormationConfiguration & WithSecureNamespaceInfo(SecureNamespaceInfoT &&value)
void SetAuthorizedSessionTagValue(AuthorizedSessionTagValueT &&value)
AWS_EMRCONTAINERS_API LakeFormationConfiguration(Aws::Utils::Json::JsonView jsonValue)
LakeFormationConfiguration & WithQueryEngineRoleArn(QueryEngineRoleArnT &&value)
AWS_EMRCONTAINERS_API LakeFormationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EMRCONTAINERS_API LakeFormationConfiguration()=default
LakeFormationConfiguration & WithAuthorizedSessionTagValue(AuthorizedSessionTagValueT &&value)
AWS_EMRCONTAINERS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue