AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSnowflakeRole(const Aws::String& value) { m_snowflakeRoleHasBeenSet = true; m_snowflakeRole = value; }
58 inline void SetSnowflakeRole(Aws::String&& value) { m_snowflakeRoleHasBeenSet = true; m_snowflakeRole = std::move(value); }
59 inline void SetSnowflakeRole(const char* value) { m_snowflakeRoleHasBeenSet = true; m_snowflakeRole.assign(value); }
60 inline SnowflakeRoleConfiguration& WithSnowflakeRole(const Aws::String& value) { SetSnowflakeRole(value); return *this;}
61 inline SnowflakeRoleConfiguration& WithSnowflakeRole(Aws::String&& value) { SetSnowflakeRole(std::move(value)); return *this;}
62 inline SnowflakeRoleConfiguration& WithSnowflakeRole(const char* value) { SetSnowflakeRole(value); return *this;}
64 private:
65
66 bool m_enabled;
67 bool m_enabledHasBeenSet = false;
68
69 Aws::String m_snowflakeRole;
70 bool m_snowflakeRoleHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Firehose
75} // namespace Aws
SnowflakeRoleConfiguration & WithSnowflakeRole(Aws::String &&value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
SnowflakeRoleConfiguration & WithSnowflakeRole(const char *value)
AWS_FIREHOSE_API SnowflakeRoleConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API SnowflakeRoleConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SnowflakeRoleConfiguration & WithSnowflakeRole(const Aws::String &value)
SnowflakeRoleConfiguration & WithEnabled(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue