AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AlertManagerDefinitionDescription.h
1
6#pragma once
7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/Array.h>
10#include <aws/amp/model/AlertManagerDefinitionStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace PrometheusService
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_PROMETHEUSSERVICE_API AlertManagerDefinitionDescription();
41 AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
49 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
50 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
51 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
53 inline AlertManagerDefinitionDescription& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
55
57
62 inline const Aws::Utils::ByteBuffer& GetData() const{ return m_data; }
63 inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
64 inline void SetData(const Aws::Utils::ByteBuffer& value) { m_dataHasBeenSet = true; m_data = value; }
65 inline void SetData(Aws::Utils::ByteBuffer&& value) { m_dataHasBeenSet = true; m_data = std::move(value); }
66 inline AlertManagerDefinitionDescription& WithData(const Aws::Utils::ByteBuffer& value) { SetData(value); return *this;}
67 inline AlertManagerDefinitionDescription& WithData(Aws::Utils::ByteBuffer&& value) { SetData(std::move(value)); return *this;}
69
71
75 inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; }
76 inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; }
77 inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = value; }
78 inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::move(value); }
80 inline AlertManagerDefinitionDescription& WithModifiedAt(Aws::Utils::DateTime&& value) { SetModifiedAt(std::move(value)); return *this;}
82
84
88 inline const AlertManagerDefinitionStatus& GetStatus() const{ return m_status; }
89 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
90 inline void SetStatus(const AlertManagerDefinitionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
91 inline void SetStatus(AlertManagerDefinitionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
93 inline AlertManagerDefinitionDescription& WithStatus(AlertManagerDefinitionStatus&& value) { SetStatus(std::move(value)); return *this;}
95 private:
96
97 Aws::Utils::DateTime m_createdAt;
98 bool m_createdAtHasBeenSet = false;
99
101 bool m_dataHasBeenSet = false;
102
103 Aws::Utils::DateTime m_modifiedAt;
104 bool m_modifiedAtHasBeenSet = false;
105
107 bool m_statusHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace PrometheusService
112} // namespace Aws
AlertManagerDefinitionDescription & WithModifiedAt(const Aws::Utils::DateTime &value)
AlertManagerDefinitionDescription & WithModifiedAt(Aws::Utils::DateTime &&value)
AlertManagerDefinitionDescription & WithCreatedAt(const Aws::Utils::DateTime &value)
AlertManagerDefinitionDescription & WithData(Aws::Utils::ByteBuffer &&value)
AlertManagerDefinitionDescription & WithStatus(const AlertManagerDefinitionStatus &value)
AlertManagerDefinitionDescription & WithStatus(AlertManagerDefinitionStatus &&value)
AlertManagerDefinitionDescription & WithData(const Aws::Utils::ByteBuffer &value)
AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AlertManagerDefinitionDescription & WithCreatedAt(Aws::Utils::DateTime &&value)
AWS_PROMETHEUSSERVICE_API AlertManagerDefinitionDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PROMETHEUSSERVICE_API AlertManagerDefinitionDescription(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue