AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QueryResultsS3AccessGrantsConfiguration.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/athena/model/AuthenticationType.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 Athena
22{
23namespace Model
24{
25
33 {
34 public:
38 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline bool GetEnableS3AccessGrants() const{ return m_enableS3AccessGrants; }
46 inline bool EnableS3AccessGrantsHasBeenSet() const { return m_enableS3AccessGrantsHasBeenSet; }
47 inline void SetEnableS3AccessGrants(bool value) { m_enableS3AccessGrantsHasBeenSet = true; m_enableS3AccessGrants = value; }
50
52
56 inline bool GetCreateUserLevelPrefix() const{ return m_createUserLevelPrefix; }
57 inline bool CreateUserLevelPrefixHasBeenSet() const { return m_createUserLevelPrefixHasBeenSet; }
58 inline void SetCreateUserLevelPrefix(bool value) { m_createUserLevelPrefixHasBeenSet = true; m_createUserLevelPrefix = value; }
61
63
67 inline const AuthenticationType& GetAuthenticationType() const{ return m_authenticationType; }
68 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
69 inline void SetAuthenticationType(const AuthenticationType& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; }
70 inline void SetAuthenticationType(AuthenticationType&& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = std::move(value); }
74 private:
75
76 bool m_enableS3AccessGrants;
77 bool m_enableS3AccessGrantsHasBeenSet = false;
78
79 bool m_createUserLevelPrefix;
80 bool m_createUserLevelPrefixHasBeenSet = false;
81
82 AuthenticationType m_authenticationType;
83 bool m_authenticationTypeHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace Athena
88} // namespace Aws
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ATHENA_API QueryResultsS3AccessGrantsConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
QueryResultsS3AccessGrantsConfiguration & WithAuthenticationType(AuthenticationType &&value)
QueryResultsS3AccessGrantsConfiguration & WithEnableS3AccessGrants(bool value)
AWS_ATHENA_API QueryResultsS3AccessGrantsConfiguration(Aws::Utils::Json::JsonView jsonValue)
QueryResultsS3AccessGrantsConfiguration & WithCreateUserLevelPrefix(bool value)
QueryResultsS3AccessGrantsConfiguration & WithAuthenticationType(const AuthenticationType &value)
Aws::Utils::Json::JsonValue JsonValue