AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
AthenaParameters.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/IdentityCenterConfiguration.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 QuickSight
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_QUICKSIGHT_API AthenaParameters() = default;
36 AWS_QUICKSIGHT_API AthenaParameters(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetWorkGroup() const { return m_workGroup; }
46 inline bool WorkGroupHasBeenSet() const { return m_workGroupHasBeenSet; }
47 template<typename WorkGroupT = Aws::String>
48 void SetWorkGroup(WorkGroupT&& value) { m_workGroupHasBeenSet = true; m_workGroup = std::forward<WorkGroupT>(value); }
49 template<typename WorkGroupT = Aws::String>
50 AthenaParameters& WithWorkGroup(WorkGroupT&& value) { SetWorkGroup(std::forward<WorkGroupT>(value)); return *this;}
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) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
66 template<typename RoleArnT = Aws::String>
67 AthenaParameters& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
69
71
77 inline const IdentityCenterConfiguration& GetIdentityCenterConfiguration() const { return m_identityCenterConfiguration; }
78 inline bool IdentityCenterConfigurationHasBeenSet() const { return m_identityCenterConfigurationHasBeenSet; }
79 template<typename IdentityCenterConfigurationT = IdentityCenterConfiguration>
80 void SetIdentityCenterConfiguration(IdentityCenterConfigurationT&& value) { m_identityCenterConfigurationHasBeenSet = true; m_identityCenterConfiguration = std::forward<IdentityCenterConfigurationT>(value); }
81 template<typename IdentityCenterConfigurationT = IdentityCenterConfiguration>
82 AthenaParameters& WithIdentityCenterConfiguration(IdentityCenterConfigurationT&& value) { SetIdentityCenterConfiguration(std::forward<IdentityCenterConfigurationT>(value)); return *this;}
84 private:
85
86 Aws::String m_workGroup;
87 bool m_workGroupHasBeenSet = false;
88
89 Aws::String m_roleArn;
90 bool m_roleArnHasBeenSet = false;
91
92 IdentityCenterConfiguration m_identityCenterConfiguration;
93 bool m_identityCenterConfigurationHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace QuickSight
98} // 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