AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReactiveInsight.h
1
6#pragma once
7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devops-guru/model/InsightSeverity.h>
10#include <aws/devops-guru/model/InsightStatus.h>
11#include <aws/devops-guru/model/InsightTimeRange.h>
12#include <aws/devops-guru/model/ResourceCollection.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace DevOpsGuru
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_DEVOPSGURU_API ReactiveInsight();
40 AWS_DEVOPSGURU_API ReactiveInsight(Aws::Utils::Json::JsonView jsonValue);
42 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetId() const{ return m_id; }
50 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
52 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
53 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
54 inline ReactiveInsight& WithId(const Aws::String& value) { SetId(value); return *this;}
55 inline ReactiveInsight& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
56 inline ReactiveInsight& WithId(const char* value) { SetId(value); return *this;}
58
60
63 inline const Aws::String& GetName() const{ return m_name; }
64 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
65 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
66 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
67 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
68 inline ReactiveInsight& WithName(const Aws::String& value) { SetName(value); return *this;}
69 inline ReactiveInsight& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
70 inline ReactiveInsight& WithName(const char* value) { SetName(value); return *this;}
72
74
79 inline const InsightSeverity& GetSeverity() const{ return m_severity; }
80 inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; }
81 inline void SetSeverity(const InsightSeverity& value) { m_severityHasBeenSet = true; m_severity = value; }
82 inline void SetSeverity(InsightSeverity&& value) { m_severityHasBeenSet = true; m_severity = std::move(value); }
83 inline ReactiveInsight& WithSeverity(const InsightSeverity& value) { SetSeverity(value); return *this;}
84 inline ReactiveInsight& WithSeverity(InsightSeverity&& value) { SetSeverity(std::move(value)); return *this;}
86
88
91 inline const InsightStatus& GetStatus() const{ return m_status; }
92 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
93 inline void SetStatus(const InsightStatus& value) { m_statusHasBeenSet = true; m_status = value; }
94 inline void SetStatus(InsightStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
95 inline ReactiveInsight& WithStatus(const InsightStatus& value) { SetStatus(value); return *this;}
96 inline ReactiveInsight& WithStatus(InsightStatus&& value) { SetStatus(std::move(value)); return *this;}
98
100
101 inline const InsightTimeRange& GetInsightTimeRange() const{ return m_insightTimeRange; }
102 inline bool InsightTimeRangeHasBeenSet() const { return m_insightTimeRangeHasBeenSet; }
103 inline void SetInsightTimeRange(const InsightTimeRange& value) { m_insightTimeRangeHasBeenSet = true; m_insightTimeRange = value; }
104 inline void SetInsightTimeRange(InsightTimeRange&& value) { m_insightTimeRangeHasBeenSet = true; m_insightTimeRange = std::move(value); }
105 inline ReactiveInsight& WithInsightTimeRange(const InsightTimeRange& value) { SetInsightTimeRange(value); return *this;}
106 inline ReactiveInsight& WithInsightTimeRange(InsightTimeRange&& value) { SetInsightTimeRange(std::move(value)); return *this;}
108
110
111 inline const ResourceCollection& GetResourceCollection() const{ return m_resourceCollection; }
112 inline bool ResourceCollectionHasBeenSet() const { return m_resourceCollectionHasBeenSet; }
113 inline void SetResourceCollection(const ResourceCollection& value) { m_resourceCollectionHasBeenSet = true; m_resourceCollection = value; }
114 inline void SetResourceCollection(ResourceCollection&& value) { m_resourceCollectionHasBeenSet = true; m_resourceCollection = std::move(value); }
116 inline ReactiveInsight& WithResourceCollection(ResourceCollection&& value) { SetResourceCollection(std::move(value)); return *this;}
118
120
125 inline const Aws::String& GetSsmOpsItemId() const{ return m_ssmOpsItemId; }
126 inline bool SsmOpsItemIdHasBeenSet() const { return m_ssmOpsItemIdHasBeenSet; }
127 inline void SetSsmOpsItemId(const Aws::String& value) { m_ssmOpsItemIdHasBeenSet = true; m_ssmOpsItemId = value; }
128 inline void SetSsmOpsItemId(Aws::String&& value) { m_ssmOpsItemIdHasBeenSet = true; m_ssmOpsItemId = std::move(value); }
129 inline void SetSsmOpsItemId(const char* value) { m_ssmOpsItemIdHasBeenSet = true; m_ssmOpsItemId.assign(value); }
130 inline ReactiveInsight& WithSsmOpsItemId(const Aws::String& value) { SetSsmOpsItemId(value); return *this;}
131 inline ReactiveInsight& WithSsmOpsItemId(Aws::String&& value) { SetSsmOpsItemId(std::move(value)); return *this;}
132 inline ReactiveInsight& WithSsmOpsItemId(const char* value) { SetSsmOpsItemId(value); return *this;}
134
136
139 inline const Aws::String& GetDescription() const{ return m_description; }
140 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
141 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
142 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
143 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
144 inline ReactiveInsight& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
145 inline ReactiveInsight& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
146 inline ReactiveInsight& WithDescription(const char* value) { SetDescription(value); return *this;}
148 private:
149
150 Aws::String m_id;
151 bool m_idHasBeenSet = false;
152
153 Aws::String m_name;
154 bool m_nameHasBeenSet = false;
155
156 InsightSeverity m_severity;
157 bool m_severityHasBeenSet = false;
158
159 InsightStatus m_status;
160 bool m_statusHasBeenSet = false;
161
162 InsightTimeRange m_insightTimeRange;
163 bool m_insightTimeRangeHasBeenSet = false;
164
165 ResourceCollection m_resourceCollection;
166 bool m_resourceCollectionHasBeenSet = false;
167
168 Aws::String m_ssmOpsItemId;
169 bool m_ssmOpsItemIdHasBeenSet = false;
170
171 Aws::String m_description;
172 bool m_descriptionHasBeenSet = false;
173 };
174
175} // namespace Model
176} // namespace DevOpsGuru
177} // namespace Aws
void SetInsightTimeRange(InsightTimeRange &&value)
void SetStatus(InsightStatus &&value)
ReactiveInsight & WithDescription(Aws::String &&value)
void SetName(const Aws::String &value)
ReactiveInsight & WithResourceCollection(ResourceCollection &&value)
const Aws::String & GetSsmOpsItemId() const
ReactiveInsight & WithSsmOpsItemId(const char *value)
ReactiveInsight & WithStatus(const InsightStatus &value)
void SetSsmOpsItemId(Aws::String &&value)
void SetId(const Aws::String &value)
AWS_DEVOPSGURU_API ReactiveInsight(Aws::Utils::Json::JsonView jsonValue)
ReactiveInsight & WithDescription(const Aws::String &value)
ReactiveInsight & WithSsmOpsItemId(const Aws::String &value)
const Aws::String & GetName() const
const InsightSeverity & GetSeverity() const
ReactiveInsight & WithId(const Aws::String &value)
ReactiveInsight & WithStatus(InsightStatus &&value)
void SetStatus(const InsightStatus &value)
ReactiveInsight & WithId(const char *value)
void SetDescription(const Aws::String &value)
void SetSsmOpsItemId(const Aws::String &value)
ReactiveInsight & WithName(const char *value)
const Aws::String & GetDescription() const
const InsightTimeRange & GetInsightTimeRange() const
void SetSeverity(const InsightSeverity &value)
ReactiveInsight & WithInsightTimeRange(InsightTimeRange &&value)
const ResourceCollection & GetResourceCollection() const
ReactiveInsight & WithDescription(const char *value)
ReactiveInsight & WithName(const Aws::String &value)
AWS_DEVOPSGURU_API ReactiveInsight & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSeverity(InsightSeverity &&value)
void SetDescription(Aws::String &&value)
ReactiveInsight & WithResourceCollection(const ResourceCollection &value)
void SetResourceCollection(ResourceCollection &&value)
ReactiveInsight & WithSeverity(const InsightSeverity &value)
const InsightStatus & GetStatus() const
ReactiveInsight & WithName(Aws::String &&value)
ReactiveInsight & WithSsmOpsItemId(Aws::String &&value)
void SetInsightTimeRange(const InsightTimeRange &value)
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
ReactiveInsight & WithId(Aws::String &&value)
const Aws::String & GetId() const
ReactiveInsight & WithSeverity(InsightSeverity &&value)
ReactiveInsight & WithInsightTimeRange(const InsightTimeRange &value)
void SetResourceCollection(const ResourceCollection &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue