AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSecretARN(const Aws::String& value) { m_secretARNHasBeenSet = true; m_secretARN = value; }
52 inline void SetSecretARN(Aws::String&& value) { m_secretARNHasBeenSet = true; m_secretARN = std::move(value); }
53 inline void SetSecretARN(const char* value) { m_secretARNHasBeenSet = true; m_secretARN.assign(value); }
54 inline SecretsManagerConfiguration& WithSecretARN(const Aws::String& value) { SetSecretARN(value); return *this;}
55 inline SecretsManagerConfiguration& WithSecretARN(Aws::String&& value) { SetSecretARN(std::move(value)); return *this;}
56 inline SecretsManagerConfiguration& WithSecretARN(const char* value) { SetSecretARN(value); return *this;}
58
60
66 inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
67 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
68 inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
69 inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
70 inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
71 inline SecretsManagerConfiguration& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
72 inline SecretsManagerConfiguration& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
73 inline SecretsManagerConfiguration& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
75
77
83 inline bool GetEnabled() const{ return m_enabled; }
84 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
85 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
86 inline SecretsManagerConfiguration& WithEnabled(bool value) { SetEnabled(value); return *this;}
88 private:
89
90 Aws::String m_secretARN;
91 bool m_secretARNHasBeenSet = false;
92
93 Aws::String m_roleARN;
94 bool m_roleARNHasBeenSet = false;
95
96 bool m_enabled;
97 bool m_enabledHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Firehose
102} // namespace Aws
AWS_FIREHOSE_API SecretsManagerConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SecretsManagerConfiguration & WithSecretARN(const char *value)
SecretsManagerConfiguration & WithRoleARN(const Aws::String &value)
SecretsManagerConfiguration & WithSecretARN(Aws::String &&value)
SecretsManagerConfiguration & WithSecretARN(const Aws::String &value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
SecretsManagerConfiguration & WithRoleARN(Aws::String &&value)
SecretsManagerConfiguration & WithRoleARN(const char *value)
SecretsManagerConfiguration & WithEnabled(bool 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