AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CodeBuild {
20namespace Model {
21
31 public:
32 AWS_CODEBUILD_API DebugSession() = default;
33 AWS_CODEBUILD_API DebugSession(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CODEBUILD_API DebugSession& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline bool GetSessionEnabled() const { return m_sessionEnabled; }
42 inline bool SessionEnabledHasBeenSet() const { return m_sessionEnabledHasBeenSet; }
43 inline void SetSessionEnabled(bool value) {
44 m_sessionEnabledHasBeenSet = true;
45 m_sessionEnabled = value;
46 }
47 inline DebugSession& WithSessionEnabled(bool value) {
48 SetSessionEnabled(value);
49 return *this;
50 }
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) {
63 m_sessionTargetHasBeenSet = true;
64 m_sessionTarget = std::forward<SessionTargetT>(value);
65 }
66 template <typename SessionTargetT = Aws::String>
67 DebugSession& WithSessionTarget(SessionTargetT&& value) {
68 SetSessionTarget(std::forward<SessionTargetT>(value));
69 return *this;
70 }
72 private:
73 bool m_sessionEnabled{false};
74
75 Aws::String m_sessionTarget;
76 bool m_sessionEnabledHasBeenSet = false;
77 bool m_sessionTargetHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace CodeBuild
82} // 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