AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeEnvironmentStatusResult.h
1
6#pragma once
7#include <aws/cloud9/Cloud9_EXPORTS.h>
8#include <aws/cloud9/model/EnvironmentStatus.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 Cloud9
25{
26namespace Model
27{
29 {
30 public:
34
35
37
47 inline const EnvironmentStatus& GetStatus() const{ return m_status; }
48 inline void SetStatus(const EnvironmentStatus& value) { m_status = value; }
49 inline void SetStatus(EnvironmentStatus&& value) { m_status = std::move(value); }
50 inline DescribeEnvironmentStatusResult& WithStatus(const EnvironmentStatus& value) { SetStatus(value); return *this;}
51 inline DescribeEnvironmentStatusResult& WithStatus(EnvironmentStatus&& value) { SetStatus(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetMessage() const{ return m_message; }
59 inline void SetMessage(const Aws::String& value) { m_message = value; }
60 inline void SetMessage(Aws::String&& value) { m_message = std::move(value); }
61 inline void SetMessage(const char* value) { m_message.assign(value); }
62 inline DescribeEnvironmentStatusResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
63 inline DescribeEnvironmentStatusResult& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
64 inline DescribeEnvironmentStatusResult& WithMessage(const char* value) { SetMessage(value); return *this;}
66
68
69 inline const Aws::String& GetRequestId() const{ return m_requestId; }
70 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
71 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
72 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
73 inline DescribeEnvironmentStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
74 inline DescribeEnvironmentStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
75 inline DescribeEnvironmentStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
77 private:
78
79 EnvironmentStatus m_status;
80
81 Aws::String m_message;
82
83 Aws::String m_requestId;
84 };
85
86} // namespace Model
87} // namespace Cloud9
88} // namespace Aws
DescribeEnvironmentStatusResult & WithMessage(const char *value)
DescribeEnvironmentStatusResult & WithRequestId(Aws::String &&value)
DescribeEnvironmentStatusResult & WithRequestId(const Aws::String &value)
AWS_CLOUD9_API DescribeEnvironmentStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeEnvironmentStatusResult & WithRequestId(const char *value)
DescribeEnvironmentStatusResult & WithStatus(EnvironmentStatus &&value)
DescribeEnvironmentStatusResult & WithMessage(Aws::String &&value)
DescribeEnvironmentStatusResult & WithMessage(const Aws::String &value)
AWS_CLOUD9_API DescribeEnvironmentStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeEnvironmentStatusResult & WithStatus(const EnvironmentStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue