AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
AthenaParameters.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/IdentityCenterConfiguration.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
29 public:
30 AWS_QUICKSIGHT_API AthenaParameters() = default;
31 AWS_QUICKSIGHT_API AthenaParameters(Aws::Utils::Json::JsonView jsonValue);
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetWorkGroup() const { return m_workGroup; }
40 inline bool WorkGroupHasBeenSet() const { return m_workGroupHasBeenSet; }
41 template <typename WorkGroupT = Aws::String>
42 void SetWorkGroup(WorkGroupT&& value) {
43 m_workGroupHasBeenSet = true;
44 m_workGroup = std::forward<WorkGroupT>(value);
45 }
46 template <typename WorkGroupT = Aws::String>
47 AthenaParameters& WithWorkGroup(WorkGroupT&& value) {
48 SetWorkGroup(std::forward<WorkGroupT>(value));
49 return *this;
50 }
52
54
62 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
63 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
64 template <typename RoleArnT = Aws::String>
65 void SetRoleArn(RoleArnT&& value) {
66 m_roleArnHasBeenSet = true;
67 m_roleArn = std::forward<RoleArnT>(value);
68 }
69 template <typename RoleArnT = Aws::String>
70 AthenaParameters& WithRoleArn(RoleArnT&& value) {
71 SetRoleArn(std::forward<RoleArnT>(value));
72 return *this;
73 }
75
77
83 inline const IdentityCenterConfiguration& GetIdentityCenterConfiguration() const { return m_identityCenterConfiguration; }
84 inline bool IdentityCenterConfigurationHasBeenSet() const { return m_identityCenterConfigurationHasBeenSet; }
85 template <typename IdentityCenterConfigurationT = IdentityCenterConfiguration>
86 void SetIdentityCenterConfiguration(IdentityCenterConfigurationT&& value) {
87 m_identityCenterConfigurationHasBeenSet = true;
88 m_identityCenterConfiguration = std::forward<IdentityCenterConfigurationT>(value);
89 }
90 template <typename IdentityCenterConfigurationT = IdentityCenterConfiguration>
91 AthenaParameters& WithIdentityCenterConfiguration(IdentityCenterConfigurationT&& value) {
92 SetIdentityCenterConfiguration(std::forward<IdentityCenterConfigurationT>(value));
93 return *this;
94 }
96 private:
97 Aws::String m_workGroup;
98
99 Aws::String m_roleArn;
100
101 IdentityCenterConfiguration m_identityCenterConfiguration;
102 bool m_workGroupHasBeenSet = false;
103 bool m_roleArnHasBeenSet = false;
104 bool m_identityCenterConfigurationHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace QuickSight
109} // namespace Aws
AWS_QUICKSIGHT_API AthenaParameters()=default
AthenaParameters & WithWorkGroup(WorkGroupT &&value)
const Aws::String & GetRoleArn() const
AthenaParameters & WithRoleArn(RoleArnT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API AthenaParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetWorkGroup() const
AWS_QUICKSIGHT_API AthenaParameters(Aws::Utils::Json::JsonView jsonValue)
void SetIdentityCenterConfiguration(IdentityCenterConfigurationT &&value)
AthenaParameters & WithIdentityCenterConfiguration(IdentityCenterConfigurationT &&value)
const IdentityCenterConfiguration & GetIdentityCenterConfiguration() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue