AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RedshiftServerlessAuthConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/RedshiftServerlessAuthType.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
36 {
37 public:
38 AWS_BEDROCKAGENT_API RedshiftServerlessAuthConfiguration() = default;
41 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline RedshiftServerlessAuthType GetType() const { return m_type; }
49 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
50 inline void SetType(RedshiftServerlessAuthType value) { m_typeHasBeenSet = true; m_type = value; }
53
55
58 inline const Aws::String& GetUsernamePasswordSecretArn() const { return m_usernamePasswordSecretArn; }
59 inline bool UsernamePasswordSecretArnHasBeenSet() const { return m_usernamePasswordSecretArnHasBeenSet; }
60 template<typename UsernamePasswordSecretArnT = Aws::String>
61 void SetUsernamePasswordSecretArn(UsernamePasswordSecretArnT&& value) { m_usernamePasswordSecretArnHasBeenSet = true; m_usernamePasswordSecretArn = std::forward<UsernamePasswordSecretArnT>(value); }
62 template<typename UsernamePasswordSecretArnT = Aws::String>
63 RedshiftServerlessAuthConfiguration& WithUsernamePasswordSecretArn(UsernamePasswordSecretArnT&& value) { SetUsernamePasswordSecretArn(std::forward<UsernamePasswordSecretArnT>(value)); return *this;}
65 private:
66
68 bool m_typeHasBeenSet = false;
69
70 Aws::String m_usernamePasswordSecretArn;
71 bool m_usernamePasswordSecretArnHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace BedrockAgent
76} // namespace Aws
RedshiftServerlessAuthConfiguration & WithUsernamePasswordSecretArn(UsernamePasswordSecretArnT &&value)
AWS_BEDROCKAGENT_API RedshiftServerlessAuthConfiguration(Aws::Utils::Json::JsonView jsonValue)
RedshiftServerlessAuthConfiguration & WithType(RedshiftServerlessAuthType value)
AWS_BEDROCKAGENT_API RedshiftServerlessAuthConfiguration()=default
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API RedshiftServerlessAuthConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue