AWS SDK for C++

AWS SDK for C++ Version 1.11.748

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
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
32 public:
33 AWS_BEDROCKAGENT_API RedshiftServerlessAuthConfiguration() = default;
36 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline RedshiftServerlessAuthType GetType() const { return m_type; }
43 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
45 m_typeHasBeenSet = true;
46 m_type = value;
47 }
49 SetType(value);
50 return *this;
51 }
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>
62 m_usernamePasswordSecretArnHasBeenSet = true;
63 m_usernamePasswordSecretArn = std::forward<UsernamePasswordSecretArnT>(value);
64 }
65 template <typename UsernamePasswordSecretArnT = Aws::String>
67 SetUsernamePasswordSecretArn(std::forward<UsernamePasswordSecretArnT>(value));
68 return *this;
69 }
71 private:
73
74 Aws::String m_usernamePasswordSecretArn;
75 bool m_typeHasBeenSet = false;
76 bool m_usernamePasswordSecretArnHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace BedrockAgent
81} // 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::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