AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StopDevEnvironmentResult.h
1
6#pragma once
7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codecatalyst/model/DevEnvironmentStatus.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 StopDevEnvironmentResult();
34
35
37
40 inline const Aws::String& GetSpaceName() const{ return m_spaceName; }
41 inline void SetSpaceName(const Aws::String& value) { m_spaceName = value; }
42 inline void SetSpaceName(Aws::String&& value) { m_spaceName = std::move(value); }
43 inline void SetSpaceName(const char* value) { m_spaceName.assign(value); }
44 inline StopDevEnvironmentResult& WithSpaceName(const Aws::String& value) { SetSpaceName(value); return *this;}
45 inline StopDevEnvironmentResult& WithSpaceName(Aws::String&& value) { SetSpaceName(std::move(value)); return *this;}
46 inline StopDevEnvironmentResult& WithSpaceName(const char* value) { SetSpaceName(value); return *this;}
48
50
53 inline const Aws::String& GetProjectName() const{ return m_projectName; }
54 inline void SetProjectName(const Aws::String& value) { m_projectName = value; }
55 inline void SetProjectName(Aws::String&& value) { m_projectName = std::move(value); }
56 inline void SetProjectName(const char* value) { m_projectName.assign(value); }
57 inline StopDevEnvironmentResult& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
58 inline StopDevEnvironmentResult& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
59 inline StopDevEnvironmentResult& WithProjectName(const char* value) { SetProjectName(value); return *this;}
61
63
66 inline const Aws::String& GetId() const{ return m_id; }
67 inline void SetId(const Aws::String& value) { m_id = value; }
68 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
69 inline void SetId(const char* value) { m_id.assign(value); }
70 inline StopDevEnvironmentResult& WithId(const Aws::String& value) { SetId(value); return *this;}
71 inline StopDevEnvironmentResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
72 inline StopDevEnvironmentResult& WithId(const char* value) { SetId(value); return *this;}
74
76
79 inline const DevEnvironmentStatus& GetStatus() const{ return m_status; }
80 inline void SetStatus(const DevEnvironmentStatus& value) { m_status = value; }
81 inline void SetStatus(DevEnvironmentStatus&& value) { m_status = std::move(value); }
82 inline StopDevEnvironmentResult& WithStatus(const DevEnvironmentStatus& value) { SetStatus(value); return *this;}
83 inline StopDevEnvironmentResult& WithStatus(DevEnvironmentStatus&& value) { SetStatus(std::move(value)); return *this;}
85
87
88 inline const Aws::String& GetRequestId() const{ return m_requestId; }
89 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
90 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
91 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
92 inline StopDevEnvironmentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
93 inline StopDevEnvironmentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
94 inline StopDevEnvironmentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
96 private:
97
98 Aws::String m_spaceName;
99
100 Aws::String m_projectName;
101
102 Aws::String m_id;
103
104 DevEnvironmentStatus m_status;
105
106 Aws::String m_requestId;
107 };
108
109} // namespace Model
110} // namespace CodeCatalyst
111} // namespace Aws
AWS_CODECATALYST_API StopDevEnvironmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CODECATALYST_API StopDevEnvironmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StopDevEnvironmentResult & WithSpaceName(Aws::String &&value)
void SetStatus(const DevEnvironmentStatus &value)
StopDevEnvironmentResult & WithSpaceName(const char *value)
StopDevEnvironmentResult & WithStatus(const DevEnvironmentStatus &value)
StopDevEnvironmentResult & WithProjectName(const char *value)
StopDevEnvironmentResult & WithRequestId(Aws::String &&value)
StopDevEnvironmentResult & WithStatus(DevEnvironmentStatus &&value)
StopDevEnvironmentResult & WithId(Aws::String &&value)
StopDevEnvironmentResult & WithRequestId(const char *value)
StopDevEnvironmentResult & WithId(const Aws::String &value)
StopDevEnvironmentResult & WithProjectName(Aws::String &&value)
StopDevEnvironmentResult & WithRequestId(const Aws::String &value)
StopDevEnvironmentResult & WithId(const char *value)
StopDevEnvironmentResult & WithSpaceName(const Aws::String &value)
StopDevEnvironmentResult & WithProjectName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue