AWS SDK for C++

AWS SDK for C++ Version 1.11.747

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockAgent {
21namespace Model {
22
30 public:
31 AWS_BEDROCKAGENT_API RedshiftServerlessConfiguration() = default;
34 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetWorkgroupArn() const { return m_workgroupArn; }
41 inline bool WorkgroupArnHasBeenSet() const { return m_workgroupArnHasBeenSet; }
42 template <typename WorkgroupArnT = Aws::String>
44 m_workgroupArnHasBeenSet = true;
45 m_workgroupArn = std::forward<WorkgroupArnT>(value);
46 }
47 template <typename WorkgroupArnT = Aws::String>
49 SetWorkgroupArn(std::forward<WorkgroupArnT>(value));
50 return *this;
51 }
53
55
59 inline const RedshiftServerlessAuthConfiguration& GetAuthConfiguration() const { return m_authConfiguration; }
60 inline bool AuthConfigurationHasBeenSet() const { return m_authConfigurationHasBeenSet; }
61 template <typename AuthConfigurationT = RedshiftServerlessAuthConfiguration>
63 m_authConfigurationHasBeenSet = true;
64 m_authConfiguration = std::forward<AuthConfigurationT>(value);
65 }
66 template <typename AuthConfigurationT = RedshiftServerlessAuthConfiguration>
68 SetAuthConfiguration(std::forward<AuthConfigurationT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_workgroupArn;
74
75 RedshiftServerlessAuthConfiguration m_authConfiguration;
76 bool m_workgroupArnHasBeenSet = false;
77 bool m_authConfigurationHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace BedrockAgent
82} // 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::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue