AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SnowflakeRoleConfiguration.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 SnowflakeRoleConfiguration() = default;
38 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline bool GetEnabled() const { return m_enabled; }
46 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
47 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
48 inline SnowflakeRoleConfiguration& WithEnabled(bool value) { SetEnabled(value); return *this;}
50
52
55 inline const Aws::String& GetSnowflakeRole() const { return m_snowflakeRole; }
56 inline bool SnowflakeRoleHasBeenSet() const { return m_snowflakeRoleHasBeenSet; }
57 template<typename SnowflakeRoleT = Aws::String>
58 void SetSnowflakeRole(SnowflakeRoleT&& value) { m_snowflakeRoleHasBeenSet = true; m_snowflakeRole = std::forward<SnowflakeRoleT>(value); }
59 template<typename SnowflakeRoleT = Aws::String>
60 SnowflakeRoleConfiguration& WithSnowflakeRole(SnowflakeRoleT&& value) { SetSnowflakeRole(std::forward<SnowflakeRoleT>(value)); return *this;}
62 private:
63
64 bool m_enabled{false};
65 bool m_enabledHasBeenSet = false;
66
67 Aws::String m_snowflakeRole;
68 bool m_snowflakeRoleHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace Firehose
73} // namespace Aws
AWS_FIREHOSE_API SnowflakeRoleConfiguration()=default
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FIREHOSE_API SnowflakeRoleConfiguration(Aws::Utils::Json::JsonView jsonValue)
SnowflakeRoleConfiguration & WithSnowflakeRole(SnowflakeRoleT &&value)
AWS_FIREHOSE_API SnowflakeRoleConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SnowflakeRoleConfiguration & WithEnabled(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue