AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DebugSession.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_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 CodeBuild
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_CODEBUILD_API DebugSession() = default;
38 AWS_CODEBUILD_API DebugSession(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODEBUILD_API DebugSession& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline bool GetSessionEnabled() const { return m_sessionEnabled; }
48 inline bool SessionEnabledHasBeenSet() const { return m_sessionEnabledHasBeenSet; }
49 inline void SetSessionEnabled(bool value) { m_sessionEnabledHasBeenSet = true; m_sessionEnabled = value; }
50 inline DebugSession& WithSessionEnabled(bool value) { SetSessionEnabled(value); return *this;}
52
54
59 inline const Aws::String& GetSessionTarget() const { return m_sessionTarget; }
60 inline bool SessionTargetHasBeenSet() const { return m_sessionTargetHasBeenSet; }
61 template<typename SessionTargetT = Aws::String>
62 void SetSessionTarget(SessionTargetT&& value) { m_sessionTargetHasBeenSet = true; m_sessionTarget = std::forward<SessionTargetT>(value); }
63 template<typename SessionTargetT = Aws::String>
64 DebugSession& WithSessionTarget(SessionTargetT&& value) { SetSessionTarget(std::forward<SessionTargetT>(value)); return *this;}
66 private:
67
68 bool m_sessionEnabled{false};
69 bool m_sessionEnabledHasBeenSet = false;
70
71 Aws::String m_sessionTarget;
72 bool m_sessionTargetHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace CodeBuild
77} // namespace Aws
AWS_CODEBUILD_API DebugSession(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
DebugSession & WithSessionEnabled(bool value)
AWS_CODEBUILD_API DebugSession()=default
DebugSession & WithSessionTarget(SessionTargetT &&value)
void SetSessionTarget(SessionTargetT &&value)
const Aws::String & GetSessionTarget() const
AWS_CODEBUILD_API DebugSession & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue