AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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:
35 AWS_ATHENA_API QueryResultsS3AccessGrantsConfiguration() = default;
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 AuthenticationType GetAuthenticationType() const { return m_authenticationType; }
68 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
69 inline void SetAuthenticationType(AuthenticationType value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; }
72 private:
73
74 bool m_enableS3AccessGrants{false};
75 bool m_enableS3AccessGrantsHasBeenSet = false;
76
77 bool m_createUserLevelPrefix{false};
78 bool m_createUserLevelPrefixHasBeenSet = false;
79
81 bool m_authenticationTypeHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace Athena
86} // 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)
Aws::Utils::Json::JsonValue JsonValue