AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RedshiftServerlessConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/RedshiftServerlessAuthConfiguration.h>
9#include <aws/core/utils/memory/stl/AWSString.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 BedrockAgent
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_BEDROCKAGENT_API RedshiftServerlessConfiguration() = default;
39 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const RedshiftServerlessAuthConfiguration& GetAuthConfiguration() const { return m_authConfiguration; }
48 inline bool AuthConfigurationHasBeenSet() const { return m_authConfigurationHasBeenSet; }
49 template<typename AuthConfigurationT = RedshiftServerlessAuthConfiguration>
50 void SetAuthConfiguration(AuthConfigurationT&& value) { m_authConfigurationHasBeenSet = true; m_authConfiguration = std::forward<AuthConfigurationT>(value); }
51 template<typename AuthConfigurationT = RedshiftServerlessAuthConfiguration>
52 RedshiftServerlessConfiguration& WithAuthConfiguration(AuthConfigurationT&& value) { SetAuthConfiguration(std::forward<AuthConfigurationT>(value)); return *this;}
54
56
59 inline const Aws::String& GetWorkgroupArn() const { return m_workgroupArn; }
60 inline bool WorkgroupArnHasBeenSet() const { return m_workgroupArnHasBeenSet; }
61 template<typename WorkgroupArnT = Aws::String>
62 void SetWorkgroupArn(WorkgroupArnT&& value) { m_workgroupArnHasBeenSet = true; m_workgroupArn = std::forward<WorkgroupArnT>(value); }
63 template<typename WorkgroupArnT = Aws::String>
64 RedshiftServerlessConfiguration& WithWorkgroupArn(WorkgroupArnT&& value) { SetWorkgroupArn(std::forward<WorkgroupArnT>(value)); return *this;}
66 private:
67
68 RedshiftServerlessAuthConfiguration m_authConfiguration;
69 bool m_authConfigurationHasBeenSet = false;
70
71 Aws::String m_workgroupArn;
72 bool m_workgroupArnHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace BedrockAgent
77} // namespace Aws
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
const RedshiftServerlessAuthConfiguration & GetAuthConfiguration() const
RedshiftServerlessConfiguration & WithAuthConfiguration(AuthConfigurationT &&value)
AWS_BEDROCKAGENT_API RedshiftServerlessConfiguration(Aws::Utils::Json::JsonView jsonValue)
RedshiftServerlessConfiguration & WithWorkgroupArn(WorkgroupArnT &&value)
AWS_BEDROCKAGENT_API RedshiftServerlessConfiguration()=default
AWS_BEDROCKAGENT_API RedshiftServerlessConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue