AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_QUICKSIGHT_API AthenaParameters();
35 AWS_QUICKSIGHT_API AthenaParameters(Aws::Utils::Json::JsonView jsonValue);
37 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetWorkGroup() const{ return m_workGroup; }
45 inline bool WorkGroupHasBeenSet() const { return m_workGroupHasBeenSet; }
46 inline void SetWorkGroup(const Aws::String& value) { m_workGroupHasBeenSet = true; m_workGroup = value; }
47 inline void SetWorkGroup(Aws::String&& value) { m_workGroupHasBeenSet = true; m_workGroup = std::move(value); }
48 inline void SetWorkGroup(const char* value) { m_workGroupHasBeenSet = true; m_workGroup.assign(value); }
49 inline AthenaParameters& WithWorkGroup(const Aws::String& value) { SetWorkGroup(value); return *this;}
50 inline AthenaParameters& WithWorkGroup(Aws::String&& value) { SetWorkGroup(std::move(value)); return *this;}
51 inline AthenaParameters& WithWorkGroup(const char* value) { SetWorkGroup(value); return *this;}
53
55
63 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
64 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
65 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
66 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
67 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
68 inline AthenaParameters& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
69 inline AthenaParameters& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
70 inline AthenaParameters& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
72 private:
73
74 Aws::String m_workGroup;
75 bool m_workGroupHasBeenSet = false;
76
77 Aws::String m_roleArn;
78 bool m_roleArnHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace QuickSight
83} // namespace Aws
AthenaParameters & WithWorkGroup(const Aws::String &value)
AthenaParameters & WithRoleArn(const char *value)
AthenaParameters & WithRoleArn(Aws::String &&value)
AthenaParameters & WithWorkGroup(const char *value)
AthenaParameters & WithRoleArn(const Aws::String &value)
const Aws::String & GetRoleArn() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API AthenaParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetWorkGroup() const
void SetWorkGroup(const Aws::String &value)
AWS_QUICKSIGHT_API AthenaParameters(Aws::Utils::Json::JsonView jsonValue)
AthenaParameters & WithWorkGroup(Aws::String &&value)
void SetRoleArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue