AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MonitorDeployment.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/medialive/model/SignalMapMonitorDeploymentStatus.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 MediaLive
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MEDIALIVE_API MonitorDeployment();
37 AWS_MEDIALIVE_API MonitorDeployment(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetDetailsUri() const{ return m_detailsUri; }
47 inline bool DetailsUriHasBeenSet() const { return m_detailsUriHasBeenSet; }
48 inline void SetDetailsUri(const Aws::String& value) { m_detailsUriHasBeenSet = true; m_detailsUri = value; }
49 inline void SetDetailsUri(Aws::String&& value) { m_detailsUriHasBeenSet = true; m_detailsUri = std::move(value); }
50 inline void SetDetailsUri(const char* value) { m_detailsUriHasBeenSet = true; m_detailsUri.assign(value); }
51 inline MonitorDeployment& WithDetailsUri(const Aws::String& value) { SetDetailsUri(value); return *this;}
52 inline MonitorDeployment& WithDetailsUri(Aws::String&& value) { SetDetailsUri(std::move(value)); return *this;}
53 inline MonitorDeployment& WithDetailsUri(const char* value) { SetDetailsUri(value); return *this;}
55
57
60 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
61 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
62 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
63 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
64 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
65 inline MonitorDeployment& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
66 inline MonitorDeployment& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
67 inline MonitorDeployment& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
69
71
72 inline const SignalMapMonitorDeploymentStatus& GetStatus() const{ return m_status; }
73 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
74 inline void SetStatus(const SignalMapMonitorDeploymentStatus& value) { m_statusHasBeenSet = true; m_status = value; }
75 inline void SetStatus(SignalMapMonitorDeploymentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
76 inline MonitorDeployment& WithStatus(const SignalMapMonitorDeploymentStatus& value) { SetStatus(value); return *this;}
77 inline MonitorDeployment& WithStatus(SignalMapMonitorDeploymentStatus&& value) { SetStatus(std::move(value)); return *this;}
79 private:
80
81 Aws::String m_detailsUri;
82 bool m_detailsUriHasBeenSet = false;
83
84 Aws::String m_errorMessage;
85 bool m_errorMessageHasBeenSet = false;
86
88 bool m_statusHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace MediaLive
93} // namespace Aws
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetErrorMessage(const Aws::String &value)
AWS_MEDIALIVE_API MonitorDeployment & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetErrorMessage() const
const SignalMapMonitorDeploymentStatus & GetStatus() const
const Aws::String & GetDetailsUri() const
MonitorDeployment & WithDetailsUri(const char *value)
MonitorDeployment & WithErrorMessage(const Aws::String &value)
MonitorDeployment & WithErrorMessage(const char *value)
MonitorDeployment & WithStatus(SignalMapMonitorDeploymentStatus &&value)
MonitorDeployment & WithStatus(const SignalMapMonitorDeploymentStatus &value)
MonitorDeployment & WithErrorMessage(Aws::String &&value)
void SetStatus(const SignalMapMonitorDeploymentStatus &value)
void SetStatus(SignalMapMonitorDeploymentStatus &&value)
MonitorDeployment & WithDetailsUri(const Aws::String &value)
MonitorDeployment & WithDetailsUri(Aws::String &&value)
AWS_MEDIALIVE_API MonitorDeployment(Aws::Utils::Json::JsonView jsonValue)
void SetDetailsUri(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue