AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
RedshiftProvisionedConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/RedshiftProvisionedAuthConfiguration.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 RedshiftProvisionedConfiguration() = default;
34 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; }
41 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
42 template <typename ClusterIdentifierT = Aws::String>
44 m_clusterIdentifierHasBeenSet = true;
45 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
46 }
47 template <typename ClusterIdentifierT = Aws::String>
49 SetClusterIdentifier(std::forward<ClusterIdentifierT>(value));
50 return *this;
51 }
53
55
58 inline const RedshiftProvisionedAuthConfiguration& GetAuthConfiguration() const { return m_authConfiguration; }
59 inline bool AuthConfigurationHasBeenSet() const { return m_authConfigurationHasBeenSet; }
60 template <typename AuthConfigurationT = RedshiftProvisionedAuthConfiguration>
62 m_authConfigurationHasBeenSet = true;
63 m_authConfiguration = std::forward<AuthConfigurationT>(value);
64 }
65 template <typename AuthConfigurationT = RedshiftProvisionedAuthConfiguration>
67 SetAuthConfiguration(std::forward<AuthConfigurationT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_clusterIdentifier;
73
74 RedshiftProvisionedAuthConfiguration m_authConfiguration;
75 bool m_clusterIdentifierHasBeenSet = false;
76 bool m_authConfigurationHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace BedrockAgent
81} // namespace Aws
AWS_BEDROCKAGENT_API RedshiftProvisionedConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
RedshiftProvisionedConfiguration & WithAuthConfiguration(AuthConfigurationT &&value)
AWS_BEDROCKAGENT_API RedshiftProvisionedConfiguration()=default
RedshiftProvisionedConfiguration & WithClusterIdentifier(ClusterIdentifierT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
const RedshiftProvisionedAuthConfiguration & GetAuthConfiguration() const
AWS_BEDROCKAGENT_API RedshiftProvisionedConfiguration(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