AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartDevEnvironmentSessionResult.h
1
6#pragma once
7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/codecatalyst/model/DevEnvironmentAccessDetails.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace CodeCatalyst
25{
26namespace Model
27{
29 {
30 public:
31 AWS_CODECATALYST_API StartDevEnvironmentSessionResult();
34
35
37
38 inline const DevEnvironmentAccessDetails& GetAccessDetails() const{ return m_accessDetails; }
39 inline void SetAccessDetails(const DevEnvironmentAccessDetails& value) { m_accessDetails = value; }
40 inline void SetAccessDetails(DevEnvironmentAccessDetails&& value) { m_accessDetails = std::move(value); }
44
46
49 inline const Aws::String& GetSessionId() const{ return m_sessionId; }
50 inline void SetSessionId(const Aws::String& value) { m_sessionId = value; }
51 inline void SetSessionId(Aws::String&& value) { m_sessionId = std::move(value); }
52 inline void SetSessionId(const char* value) { m_sessionId.assign(value); }
53 inline StartDevEnvironmentSessionResult& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
54 inline StartDevEnvironmentSessionResult& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
55 inline StartDevEnvironmentSessionResult& WithSessionId(const char* value) { SetSessionId(value); return *this;}
57
59
62 inline const Aws::String& GetSpaceName() const{ return m_spaceName; }
63 inline void SetSpaceName(const Aws::String& value) { m_spaceName = value; }
64 inline void SetSpaceName(Aws::String&& value) { m_spaceName = std::move(value); }
65 inline void SetSpaceName(const char* value) { m_spaceName.assign(value); }
66 inline StartDevEnvironmentSessionResult& WithSpaceName(const Aws::String& value) { SetSpaceName(value); return *this;}
67 inline StartDevEnvironmentSessionResult& WithSpaceName(Aws::String&& value) { SetSpaceName(std::move(value)); return *this;}
68 inline StartDevEnvironmentSessionResult& WithSpaceName(const char* value) { SetSpaceName(value); return *this;}
70
72
75 inline const Aws::String& GetProjectName() const{ return m_projectName; }
76 inline void SetProjectName(const Aws::String& value) { m_projectName = value; }
77 inline void SetProjectName(Aws::String&& value) { m_projectName = std::move(value); }
78 inline void SetProjectName(const char* value) { m_projectName.assign(value); }
79 inline StartDevEnvironmentSessionResult& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
80 inline StartDevEnvironmentSessionResult& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
81 inline StartDevEnvironmentSessionResult& WithProjectName(const char* value) { SetProjectName(value); return *this;}
83
85
88 inline const Aws::String& GetId() const{ return m_id; }
89 inline void SetId(const Aws::String& value) { m_id = value; }
90 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
91 inline void SetId(const char* value) { m_id.assign(value); }
92 inline StartDevEnvironmentSessionResult& WithId(const Aws::String& value) { SetId(value); return *this;}
93 inline StartDevEnvironmentSessionResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
94 inline StartDevEnvironmentSessionResult& WithId(const char* value) { SetId(value); return *this;}
96
98
99 inline const Aws::String& GetRequestId() const{ return m_requestId; }
100 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
101 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
102 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
103 inline StartDevEnvironmentSessionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
104 inline StartDevEnvironmentSessionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
105 inline StartDevEnvironmentSessionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
107 private:
108
109 DevEnvironmentAccessDetails m_accessDetails;
110
111 Aws::String m_sessionId;
112
113 Aws::String m_spaceName;
114
115 Aws::String m_projectName;
116
117 Aws::String m_id;
118
119 Aws::String m_requestId;
120 };
121
122} // namespace Model
123} // namespace CodeCatalyst
124} // namespace Aws
StartDevEnvironmentSessionResult & WithId(Aws::String &&value)
StartDevEnvironmentSessionResult & WithSessionId(const Aws::String &value)
StartDevEnvironmentSessionResult & WithSessionId(const char *value)
StartDevEnvironmentSessionResult & WithSpaceName(const char *value)
StartDevEnvironmentSessionResult & WithId(const char *value)
StartDevEnvironmentSessionResult & WithProjectName(const Aws::String &value)
StartDevEnvironmentSessionResult & WithSessionId(Aws::String &&value)
StartDevEnvironmentSessionResult & WithProjectName(const char *value)
StartDevEnvironmentSessionResult & WithRequestId(const char *value)
StartDevEnvironmentSessionResult & WithId(const Aws::String &value)
AWS_CODECATALYST_API StartDevEnvironmentSessionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartDevEnvironmentSessionResult & WithRequestId(const Aws::String &value)
StartDevEnvironmentSessionResult & WithRequestId(Aws::String &&value)
AWS_CODECATALYST_API StartDevEnvironmentSessionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartDevEnvironmentSessionResult & WithSpaceName(Aws::String &&value)
StartDevEnvironmentSessionResult & WithProjectName(Aws::String &&value)
StartDevEnvironmentSessionResult & WithAccessDetails(DevEnvironmentAccessDetails &&value)
StartDevEnvironmentSessionResult & WithSpaceName(const Aws::String &value)
StartDevEnvironmentSessionResult & WithAccessDetails(const DevEnvironmentAccessDetails &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue