AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DevEnvironmentSessionSummary.h
1
6#pragma once
7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 DevEnvironmentSessionSummary();
39 AWS_CODECATALYST_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetSpaceName() const{ return m_spaceName; }
47 inline bool SpaceNameHasBeenSet() const { return m_spaceNameHasBeenSet; }
48 inline void SetSpaceName(const Aws::String& value) { m_spaceNameHasBeenSet = true; m_spaceName = value; }
49 inline void SetSpaceName(Aws::String&& value) { m_spaceNameHasBeenSet = true; m_spaceName = std::move(value); }
50 inline void SetSpaceName(const char* value) { m_spaceNameHasBeenSet = true; m_spaceName.assign(value); }
51 inline DevEnvironmentSessionSummary& WithSpaceName(const Aws::String& value) { SetSpaceName(value); return *this;}
52 inline DevEnvironmentSessionSummary& WithSpaceName(Aws::String&& value) { SetSpaceName(std::move(value)); return *this;}
53 inline DevEnvironmentSessionSummary& WithSpaceName(const char* value) { SetSpaceName(value); return *this;}
55
57
60 inline const Aws::String& GetProjectName() const{ return m_projectName; }
61 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
62 inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
63 inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
64 inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
65 inline DevEnvironmentSessionSummary& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
66 inline DevEnvironmentSessionSummary& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
67 inline DevEnvironmentSessionSummary& WithProjectName(const char* value) { SetProjectName(value); return *this;}
69
71
74 inline const Aws::String& GetDevEnvironmentId() const{ return m_devEnvironmentId; }
75 inline bool DevEnvironmentIdHasBeenSet() const { return m_devEnvironmentIdHasBeenSet; }
76 inline void SetDevEnvironmentId(const Aws::String& value) { m_devEnvironmentIdHasBeenSet = true; m_devEnvironmentId = value; }
77 inline void SetDevEnvironmentId(Aws::String&& value) { m_devEnvironmentIdHasBeenSet = true; m_devEnvironmentId = std::move(value); }
78 inline void SetDevEnvironmentId(const char* value) { m_devEnvironmentIdHasBeenSet = true; m_devEnvironmentId.assign(value); }
80 inline DevEnvironmentSessionSummary& WithDevEnvironmentId(Aws::String&& value) { SetDevEnvironmentId(std::move(value)); return *this;}
81 inline DevEnvironmentSessionSummary& WithDevEnvironmentId(const char* value) { SetDevEnvironmentId(value); return *this;}
83
85
90 inline const Aws::Utils::DateTime& GetStartedTime() const{ return m_startedTime; }
91 inline bool StartedTimeHasBeenSet() const { return m_startedTimeHasBeenSet; }
92 inline void SetStartedTime(const Aws::Utils::DateTime& value) { m_startedTimeHasBeenSet = true; m_startedTime = value; }
93 inline void SetStartedTime(Aws::Utils::DateTime&& value) { m_startedTimeHasBeenSet = true; m_startedTime = std::move(value); }
95 inline DevEnvironmentSessionSummary& WithStartedTime(Aws::Utils::DateTime&& value) { SetStartedTime(std::move(value)); return *this;}
97
99
102 inline const Aws::String& GetId() const{ return m_id; }
103 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
104 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
105 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
106 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
107 inline DevEnvironmentSessionSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
108 inline DevEnvironmentSessionSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
109 inline DevEnvironmentSessionSummary& WithId(const char* value) { SetId(value); return *this;}
111 private:
112
113 Aws::String m_spaceName;
114 bool m_spaceNameHasBeenSet = false;
115
116 Aws::String m_projectName;
117 bool m_projectNameHasBeenSet = false;
118
119 Aws::String m_devEnvironmentId;
120 bool m_devEnvironmentIdHasBeenSet = false;
121
122 Aws::Utils::DateTime m_startedTime;
123 bool m_startedTimeHasBeenSet = false;
124
125 Aws::String m_id;
126 bool m_idHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace CodeCatalyst
131} // namespace Aws
DevEnvironmentSessionSummary & WithStartedTime(Aws::Utils::DateTime &&value)
DevEnvironmentSessionSummary & WithProjectName(const Aws::String &value)
DevEnvironmentSessionSummary & WithSpaceName(const char *value)
DevEnvironmentSessionSummary & WithProjectName(const char *value)
DevEnvironmentSessionSummary & WithSpaceName(const Aws::String &value)
AWS_CODECATALYST_API Aws::Utils::Json::JsonValue Jsonize() const
DevEnvironmentSessionSummary & WithId(const char *value)
DevEnvironmentSessionSummary & WithDevEnvironmentId(const char *value)
DevEnvironmentSessionSummary & WithId(Aws::String &&value)
DevEnvironmentSessionSummary & WithDevEnvironmentId(const Aws::String &value)
DevEnvironmentSessionSummary & WithSpaceName(Aws::String &&value)
DevEnvironmentSessionSummary & WithProjectName(Aws::String &&value)
AWS_CODECATALYST_API DevEnvironmentSessionSummary(Aws::Utils::Json::JsonView jsonValue)
DevEnvironmentSessionSummary & WithDevEnvironmentId(Aws::String &&value)
DevEnvironmentSessionSummary & WithStartedTime(const Aws::Utils::DateTime &value)
AWS_CODECATALYST_API DevEnvironmentSessionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DevEnvironmentSessionSummary & WithId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue