AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSessionTarget(const Aws::String& value) { m_sessionTargetHasBeenSet = true; m_sessionTarget = value; }
62 inline void SetSessionTarget(Aws::String&& value) { m_sessionTargetHasBeenSet = true; m_sessionTarget = std::move(value); }
63 inline void SetSessionTarget(const char* value) { m_sessionTargetHasBeenSet = true; m_sessionTarget.assign(value); }
64 inline DebugSession& WithSessionTarget(const Aws::String& value) { SetSessionTarget(value); return *this;}
65 inline DebugSession& WithSessionTarget(Aws::String&& value) { SetSessionTarget(std::move(value)); return *this;}
66 inline DebugSession& WithSessionTarget(const char* value) { SetSessionTarget(value); return *this;}
68 private:
69
70 bool m_sessionEnabled;
71 bool m_sessionEnabledHasBeenSet = false;
72
73 Aws::String m_sessionTarget;
74 bool m_sessionTargetHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace CodeBuild
79} // namespace Aws
AWS_CODEBUILD_API DebugSession(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
DebugSession & WithSessionEnabled(bool value)
void SetSessionTarget(Aws::String &&value)
void SetSessionTarget(const char *value)
void SetSessionTarget(const Aws::String &value)
DebugSession & WithSessionTarget(const Aws::String &value)
DebugSession & WithSessionTarget(Aws::String &&value)
const Aws::String & GetSessionTarget() const
AWS_CODEBUILD_API DebugSession & operator=(Aws::Utils::Json::JsonView jsonValue)
DebugSession & WithSessionTarget(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue