AWS SDK for C++

AWS SDK for C++ Version 1.11.795

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
85 inline const Aws::String& GetConsumerAccountRoleArn() const { return m_consumerAccountRoleArn; }
86 inline bool ConsumerAccountRoleArnHasBeenSet() const { return m_consumerAccountRoleArnHasBeenSet; }
87 template <typename ConsumerAccountRoleArnT = Aws::String>
88 void SetConsumerAccountRoleArn(ConsumerAccountRoleArnT&& value) {
89 m_consumerAccountRoleArnHasBeenSet = true;
90 m_consumerAccountRoleArn = std::forward<ConsumerAccountRoleArnT>(value);
91 }
92 template <typename ConsumerAccountRoleArnT = Aws::String>
93 AthenaParameters& WithConsumerAccountRoleArn(ConsumerAccountRoleArnT&& value) {
94 SetConsumerAccountRoleArn(std::forward<ConsumerAccountRoleArnT>(value));
95 return *this;
96 }
98
100
106 inline const IdentityCenterConfiguration& GetIdentityCenterConfiguration() const { return m_identityCenterConfiguration; }
107 inline bool IdentityCenterConfigurationHasBeenSet() const { return m_identityCenterConfigurationHasBeenSet; }
108 template <typename IdentityCenterConfigurationT = IdentityCenterConfiguration>
109 void SetIdentityCenterConfiguration(IdentityCenterConfigurationT&& value) {
110 m_identityCenterConfigurationHasBeenSet = true;
111 m_identityCenterConfiguration = std::forward<IdentityCenterConfigurationT>(value);
112 }
113 template <typename IdentityCenterConfigurationT = IdentityCenterConfiguration>
114 AthenaParameters& WithIdentityCenterConfiguration(IdentityCenterConfigurationT&& value) {
115 SetIdentityCenterConfiguration(std::forward<IdentityCenterConfigurationT>(value));
116 return *this;
117 }
119 private:
120 Aws::String m_workGroup;
121
122 Aws::String m_roleArn;
123
124 Aws::String m_consumerAccountRoleArn;
125
126 IdentityCenterConfiguration m_identityCenterConfiguration;
127 bool m_workGroupHasBeenSet = false;
128 bool m_roleArnHasBeenSet = false;
129 bool m_consumerAccountRoleArnHasBeenSet = false;
130 bool m_identityCenterConfigurationHasBeenSet = false;
131};
132
133} // namespace Model
134} // namespace QuickSight
135} // namespace Aws
AWS_QUICKSIGHT_API AthenaParameters()=default
AthenaParameters & WithConsumerAccountRoleArn(ConsumerAccountRoleArnT &&value)
AthenaParameters & WithWorkGroup(WorkGroupT &&value)
const Aws::String & GetRoleArn() const
AthenaParameters & WithRoleArn(RoleArnT &&value)
void SetConsumerAccountRoleArn(ConsumerAccountRoleArnT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API AthenaParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetConsumerAccountRoleArn() const
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