AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SessionConfiguration.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/athena/model/EncryptionConfiguration.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Athena
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_ATHENA_API SessionConfiguration();
38 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetExecutionRole() const{ return m_executionRole; }
48 inline bool ExecutionRoleHasBeenSet() const { return m_executionRoleHasBeenSet; }
49 inline void SetExecutionRole(const Aws::String& value) { m_executionRoleHasBeenSet = true; m_executionRole = value; }
50 inline void SetExecutionRole(Aws::String&& value) { m_executionRoleHasBeenSet = true; m_executionRole = std::move(value); }
51 inline void SetExecutionRole(const char* value) { m_executionRoleHasBeenSet = true; m_executionRole.assign(value); }
52 inline SessionConfiguration& WithExecutionRole(const Aws::String& value) { SetExecutionRole(value); return *this;}
53 inline SessionConfiguration& WithExecutionRole(Aws::String&& value) { SetExecutionRole(std::move(value)); return *this;}
54 inline SessionConfiguration& WithExecutionRole(const char* value) { SetExecutionRole(value); return *this;}
56
58
61 inline const Aws::String& GetWorkingDirectory() const{ return m_workingDirectory; }
62 inline bool WorkingDirectoryHasBeenSet() const { return m_workingDirectoryHasBeenSet; }
63 inline void SetWorkingDirectory(const Aws::String& value) { m_workingDirectoryHasBeenSet = true; m_workingDirectory = value; }
64 inline void SetWorkingDirectory(Aws::String&& value) { m_workingDirectoryHasBeenSet = true; m_workingDirectory = std::move(value); }
65 inline void SetWorkingDirectory(const char* value) { m_workingDirectoryHasBeenSet = true; m_workingDirectory.assign(value); }
66 inline SessionConfiguration& WithWorkingDirectory(const Aws::String& value) { SetWorkingDirectory(value); return *this;}
67 inline SessionConfiguration& WithWorkingDirectory(Aws::String&& value) { SetWorkingDirectory(std::move(value)); return *this;}
68 inline SessionConfiguration& WithWorkingDirectory(const char* value) { SetWorkingDirectory(value); return *this;}
70
72
75 inline long long GetIdleTimeoutSeconds() const{ return m_idleTimeoutSeconds; }
76 inline bool IdleTimeoutSecondsHasBeenSet() const { return m_idleTimeoutSecondsHasBeenSet; }
77 inline void SetIdleTimeoutSeconds(long long value) { m_idleTimeoutSecondsHasBeenSet = true; m_idleTimeoutSeconds = value; }
78 inline SessionConfiguration& WithIdleTimeoutSeconds(long long value) { SetIdleTimeoutSeconds(value); return *this;}
80
82
83 inline const EncryptionConfiguration& GetEncryptionConfiguration() const{ return m_encryptionConfiguration; }
84 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
85 inline void SetEncryptionConfiguration(const EncryptionConfiguration& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = value; }
86 inline void SetEncryptionConfiguration(EncryptionConfiguration&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::move(value); }
90 private:
91
92 Aws::String m_executionRole;
93 bool m_executionRoleHasBeenSet = false;
94
95 Aws::String m_workingDirectory;
96 bool m_workingDirectoryHasBeenSet = false;
97
98 long long m_idleTimeoutSeconds;
99 bool m_idleTimeoutSecondsHasBeenSet = false;
100
101 EncryptionConfiguration m_encryptionConfiguration;
102 bool m_encryptionConfigurationHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace Athena
107} // namespace Aws
void SetWorkingDirectory(const Aws::String &value)
SessionConfiguration & WithWorkingDirectory(Aws::String &&value)
SessionConfiguration & WithWorkingDirectory(const char *value)
SessionConfiguration & WithEncryptionConfiguration(EncryptionConfiguration &&value)
AWS_ATHENA_API SessionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SessionConfiguration & WithExecutionRole(const char *value)
AWS_ATHENA_API SessionConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetWorkingDirectory() const
SessionConfiguration & WithEncryptionConfiguration(const EncryptionConfiguration &value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
void SetEncryptionConfiguration(EncryptionConfiguration &&value)
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
SessionConfiguration & WithExecutionRole(const Aws::String &value)
void SetEncryptionConfiguration(const EncryptionConfiguration &value)
SessionConfiguration & WithWorkingDirectory(const Aws::String &value)
void SetExecutionRole(const Aws::String &value)
SessionConfiguration & WithIdleTimeoutSeconds(long long value)
SessionConfiguration & WithExecutionRole(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue