AWS SDK for C++

AWS SDK for C++ Version 1.11.695

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CodeCatalyst {
21namespace Model {
22
30 public:
31 AWS_CODECATALYST_API DevEnvironmentSessionConfiguration() = default;
34 AWS_CODECATALYST_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline DevEnvironmentSessionType GetSessionType() const { return m_sessionType; }
41 inline bool SessionTypeHasBeenSet() const { return m_sessionTypeHasBeenSet; }
43 m_sessionTypeHasBeenSet = true;
44 m_sessionType = value;
45 }
47 SetSessionType(value);
48 return *this;
49 }
51
53
58 return m_executeCommandSessionConfiguration;
59 }
60 inline bool ExecuteCommandSessionConfigurationHasBeenSet() const { return m_executeCommandSessionConfigurationHasBeenSet; }
61 template <typename ExecuteCommandSessionConfigurationT = ExecuteCommandSessionConfiguration>
62 void SetExecuteCommandSessionConfiguration(ExecuteCommandSessionConfigurationT&& value) {
63 m_executeCommandSessionConfigurationHasBeenSet = true;
64 m_executeCommandSessionConfiguration = std::forward<ExecuteCommandSessionConfigurationT>(value);
65 }
66 template <typename ExecuteCommandSessionConfigurationT = ExecuteCommandSessionConfiguration>
67 DevEnvironmentSessionConfiguration& WithExecuteCommandSessionConfiguration(ExecuteCommandSessionConfigurationT&& value) {
68 SetExecuteCommandSessionConfiguration(std::forward<ExecuteCommandSessionConfigurationT>(value));
69 return *this;
70 }
72 private:
74 bool m_sessionTypeHasBeenSet = false;
75
76 ExecuteCommandSessionConfiguration m_executeCommandSessionConfiguration;
77 bool m_executeCommandSessionConfigurationHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace CodeCatalyst
82} // 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