AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SecretsManagerConfiguration.h
1
6#pragma once
7#include <aws/firehose/Firehose_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Firehose
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_FIREHOSE_API SecretsManagerConfiguration() = default;
38 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
49 inline const Aws::String& GetSecretARN() const { return m_secretARN; }
50 inline bool SecretARNHasBeenSet() const { return m_secretARNHasBeenSet; }
51 template<typename SecretARNT = Aws::String>
52 void SetSecretARN(SecretARNT&& value) { m_secretARNHasBeenSet = true; m_secretARN = std::forward<SecretARNT>(value); }
53 template<typename SecretARNT = Aws::String>
54 SecretsManagerConfiguration& WithSecretARN(SecretARNT&& value) { SetSecretARN(std::forward<SecretARNT>(value)); return *this;}
56
58
64 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
65 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
66 template<typename RoleARNT = Aws::String>
67 void SetRoleARN(RoleARNT&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::forward<RoleARNT>(value); }
68 template<typename RoleARNT = Aws::String>
69 SecretsManagerConfiguration& WithRoleARN(RoleARNT&& value) { SetRoleARN(std::forward<RoleARNT>(value)); return *this;}
71
73
79 inline bool GetEnabled() const { return m_enabled; }
80 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
81 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
82 inline SecretsManagerConfiguration& WithEnabled(bool value) { SetEnabled(value); return *this;}
84 private:
85
86 Aws::String m_secretARN;
87 bool m_secretARNHasBeenSet = false;
88
89 Aws::String m_roleARN;
90 bool m_roleARNHasBeenSet = false;
91
92 bool m_enabled{false};
93 bool m_enabledHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Firehose
98} // namespace Aws
AWS_FIREHOSE_API SecretsManagerConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API SecretsManagerConfiguration()=default
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
SecretsManagerConfiguration & WithRoleARN(RoleARNT &&value)
SecretsManagerConfiguration & WithEnabled(bool value)
SecretsManagerConfiguration & WithSecretARN(SecretARNT &&value)
AWS_FIREHOSE_API SecretsManagerConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue