AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DevEnvironmentSessionConfiguration.h
1
6#pragma once
7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/codecatalyst/model/DevEnvironmentSessionType.h>
9#include <aws/codecatalyst/model/ExecuteCommandSessionConfiguration.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 CodeCatalyst
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CODECATALYST_API DevEnvironmentSessionConfiguration() = default;
39 AWS_CODECATALYST_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline DevEnvironmentSessionType GetSessionType() const { return m_sessionType; }
47 inline bool SessionTypeHasBeenSet() const { return m_sessionTypeHasBeenSet; }
48 inline void SetSessionType(DevEnvironmentSessionType value) { m_sessionTypeHasBeenSet = true; m_sessionType = value; }
51
53
57 inline const ExecuteCommandSessionConfiguration& GetExecuteCommandSessionConfiguration() const { return m_executeCommandSessionConfiguration; }
58 inline bool ExecuteCommandSessionConfigurationHasBeenSet() const { return m_executeCommandSessionConfigurationHasBeenSet; }
59 template<typename ExecuteCommandSessionConfigurationT = ExecuteCommandSessionConfiguration>
60 void SetExecuteCommandSessionConfiguration(ExecuteCommandSessionConfigurationT&& value) { m_executeCommandSessionConfigurationHasBeenSet = true; m_executeCommandSessionConfiguration = std::forward<ExecuteCommandSessionConfigurationT>(value); }
61 template<typename ExecuteCommandSessionConfigurationT = ExecuteCommandSessionConfiguration>
62 DevEnvironmentSessionConfiguration& WithExecuteCommandSessionConfiguration(ExecuteCommandSessionConfigurationT&& value) { SetExecuteCommandSessionConfiguration(std::forward<ExecuteCommandSessionConfigurationT>(value)); return *this;}
64 private:
65
67 bool m_sessionTypeHasBeenSet = false;
68
69 ExecuteCommandSessionConfiguration m_executeCommandSessionConfiguration;
70 bool m_executeCommandSessionConfigurationHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace CodeCatalyst
75} // namespace Aws
AWS_CODECATALYST_API DevEnvironmentSessionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const ExecuteCommandSessionConfiguration & GetExecuteCommandSessionConfiguration() const
DevEnvironmentSessionConfiguration & WithSessionType(DevEnvironmentSessionType value)
DevEnvironmentSessionConfiguration & WithExecuteCommandSessionConfiguration(ExecuteCommandSessionConfigurationT &&value)
void SetExecuteCommandSessionConfiguration(ExecuteCommandSessionConfigurationT &&value)
AWS_CODECATALYST_API DevEnvironmentSessionConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_CODECATALYST_API DevEnvironmentSessionConfiguration()=default
AWS_CODECATALYST_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue