AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProactiveInsight.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/PredictionTimeRange.h>
13#include <aws/devops-guru/model/ResourceCollection.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace DevOpsGuru
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_DEVOPSGURU_API ProactiveInsight();
41 AWS_DEVOPSGURU_API ProactiveInsight(Aws::Utils::Json::JsonView jsonValue);
43 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetId() const{ return m_id; }
51 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
52 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
53 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
54 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
55 inline ProactiveInsight& WithId(const Aws::String& value) { SetId(value); return *this;}
56 inline ProactiveInsight& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
57 inline ProactiveInsight& WithId(const char* value) { SetId(value); return *this;}
59
61
64 inline const Aws::String& GetName() const{ return m_name; }
65 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
66 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
67 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
68 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
69 inline ProactiveInsight& WithName(const Aws::String& value) { SetName(value); return *this;}
70 inline ProactiveInsight& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
71 inline ProactiveInsight& WithName(const char* value) { SetName(value); return *this;}
73
75
80 inline const InsightSeverity& GetSeverity() const{ return m_severity; }
81 inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; }
82 inline void SetSeverity(const InsightSeverity& value) { m_severityHasBeenSet = true; m_severity = value; }
83 inline void SetSeverity(InsightSeverity&& value) { m_severityHasBeenSet = true; m_severity = std::move(value); }
84 inline ProactiveInsight& WithSeverity(const InsightSeverity& value) { SetSeverity(value); return *this;}
85 inline ProactiveInsight& WithSeverity(InsightSeverity&& value) { SetSeverity(std::move(value)); return *this;}
87
89
92 inline const InsightStatus& GetStatus() const{ return m_status; }
93 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
94 inline void SetStatus(const InsightStatus& value) { m_statusHasBeenSet = true; m_status = value; }
95 inline void SetStatus(InsightStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
96 inline ProactiveInsight& WithStatus(const InsightStatus& value) { SetStatus(value); return *this;}
97 inline ProactiveInsight& WithStatus(InsightStatus&& value) { SetStatus(std::move(value)); return *this;}
99
101
102 inline const InsightTimeRange& GetInsightTimeRange() const{ return m_insightTimeRange; }
103 inline bool InsightTimeRangeHasBeenSet() const { return m_insightTimeRangeHasBeenSet; }
104 inline void SetInsightTimeRange(const InsightTimeRange& value) { m_insightTimeRangeHasBeenSet = true; m_insightTimeRange = value; }
105 inline void SetInsightTimeRange(InsightTimeRange&& value) { m_insightTimeRangeHasBeenSet = true; m_insightTimeRange = std::move(value); }
106 inline ProactiveInsight& WithInsightTimeRange(const InsightTimeRange& value) { SetInsightTimeRange(value); return *this;}
107 inline ProactiveInsight& WithInsightTimeRange(InsightTimeRange&& value) { SetInsightTimeRange(std::move(value)); return *this;}
109
111
112 inline const PredictionTimeRange& GetPredictionTimeRange() const{ return m_predictionTimeRange; }
113 inline bool PredictionTimeRangeHasBeenSet() const { return m_predictionTimeRangeHasBeenSet; }
114 inline void SetPredictionTimeRange(const PredictionTimeRange& value) { m_predictionTimeRangeHasBeenSet = true; m_predictionTimeRange = value; }
115 inline void SetPredictionTimeRange(PredictionTimeRange&& value) { m_predictionTimeRangeHasBeenSet = true; m_predictionTimeRange = std::move(value); }
117 inline ProactiveInsight& WithPredictionTimeRange(PredictionTimeRange&& value) { SetPredictionTimeRange(std::move(value)); return *this;}
119
121
122 inline const ResourceCollection& GetResourceCollection() const{ return m_resourceCollection; }
123 inline bool ResourceCollectionHasBeenSet() const { return m_resourceCollectionHasBeenSet; }
124 inline void SetResourceCollection(const ResourceCollection& value) { m_resourceCollectionHasBeenSet = true; m_resourceCollection = value; }
125 inline void SetResourceCollection(ResourceCollection&& value) { m_resourceCollectionHasBeenSet = true; m_resourceCollection = std::move(value); }
127 inline ProactiveInsight& WithResourceCollection(ResourceCollection&& value) { SetResourceCollection(std::move(value)); return *this;}
129
131
136 inline const Aws::String& GetSsmOpsItemId() const{ return m_ssmOpsItemId; }
137 inline bool SsmOpsItemIdHasBeenSet() const { return m_ssmOpsItemIdHasBeenSet; }
138 inline void SetSsmOpsItemId(const Aws::String& value) { m_ssmOpsItemIdHasBeenSet = true; m_ssmOpsItemId = value; }
139 inline void SetSsmOpsItemId(Aws::String&& value) { m_ssmOpsItemIdHasBeenSet = true; m_ssmOpsItemId = std::move(value); }
140 inline void SetSsmOpsItemId(const char* value) { m_ssmOpsItemIdHasBeenSet = true; m_ssmOpsItemId.assign(value); }
141 inline ProactiveInsight& WithSsmOpsItemId(const Aws::String& value) { SetSsmOpsItemId(value); return *this;}
142 inline ProactiveInsight& WithSsmOpsItemId(Aws::String&& value) { SetSsmOpsItemId(std::move(value)); return *this;}
143 inline ProactiveInsight& WithSsmOpsItemId(const char* value) { SetSsmOpsItemId(value); return *this;}
145
147
150 inline const Aws::String& GetDescription() const{ return m_description; }
151 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
152 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
153 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
154 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
155 inline ProactiveInsight& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
156 inline ProactiveInsight& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
157 inline ProactiveInsight& WithDescription(const char* value) { SetDescription(value); return *this;}
159 private:
160
161 Aws::String m_id;
162 bool m_idHasBeenSet = false;
163
164 Aws::String m_name;
165 bool m_nameHasBeenSet = false;
166
167 InsightSeverity m_severity;
168 bool m_severityHasBeenSet = false;
169
170 InsightStatus m_status;
171 bool m_statusHasBeenSet = false;
172
173 InsightTimeRange m_insightTimeRange;
174 bool m_insightTimeRangeHasBeenSet = false;
175
176 PredictionTimeRange m_predictionTimeRange;
177 bool m_predictionTimeRangeHasBeenSet = false;
178
179 ResourceCollection m_resourceCollection;
180 bool m_resourceCollectionHasBeenSet = false;
181
182 Aws::String m_ssmOpsItemId;
183 bool m_ssmOpsItemIdHasBeenSet = false;
184
185 Aws::String m_description;
186 bool m_descriptionHasBeenSet = false;
187 };
188
189} // namespace Model
190} // namespace DevOpsGuru
191} // namespace Aws
const InsightSeverity & GetSeverity() const
AWS_DEVOPSGURU_API ProactiveInsight(Aws::Utils::Json::JsonView jsonValue)
void SetSeverity(const InsightSeverity &value)
ProactiveInsight & WithId(const char *value)
ProactiveInsight & WithDescription(const char *value)
void SetStatus(InsightStatus &&value)
void SetPredictionTimeRange(const PredictionTimeRange &value)
ProactiveInsight & WithPredictionTimeRange(PredictionTimeRange &&value)
ProactiveInsight & WithName(const char *value)
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPredictionTimeRange(PredictionTimeRange &&value)
ProactiveInsight & WithName(Aws::String &&value)
ProactiveInsight & WithSsmOpsItemId(Aws::String &&value)
void SetSeverity(InsightSeverity &&value)
void SetStatus(const InsightStatus &value)
ProactiveInsight & WithDescription(const Aws::String &value)
ProactiveInsight & WithResourceCollection(const ResourceCollection &value)
ProactiveInsight & WithName(const Aws::String &value)
const Aws::String & GetSsmOpsItemId() const
ProactiveInsight & WithId(Aws::String &&value)
const Aws::String & GetDescription() const
const ResourceCollection & GetResourceCollection() const
const InsightStatus & GetStatus() const
void SetName(const Aws::String &value)
AWS_DEVOPSGURU_API ProactiveInsight & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetResourceCollection(ResourceCollection &&value)
ProactiveInsight & WithId(const Aws::String &value)
void SetSsmOpsItemId(const Aws::String &value)
const PredictionTimeRange & GetPredictionTimeRange() const
ProactiveInsight & WithSeverity(const InsightSeverity &value)
void SetInsightTimeRange(const InsightTimeRange &value)
ProactiveInsight & WithDescription(Aws::String &&value)
ProactiveInsight & WithPredictionTimeRange(const PredictionTimeRange &value)
ProactiveInsight & WithInsightTimeRange(const InsightTimeRange &value)
ProactiveInsight & WithInsightTimeRange(InsightTimeRange &&value)
ProactiveInsight & WithStatus(const InsightStatus &value)
ProactiveInsight & WithResourceCollection(ResourceCollection &&value)
void SetId(const Aws::String &value)
const InsightTimeRange & GetInsightTimeRange() const
ProactiveInsight & WithSsmOpsItemId(const char *value)
void SetInsightTimeRange(InsightTimeRange &&value)
ProactiveInsight & WithSsmOpsItemId(const Aws::String &value)
void SetResourceCollection(const ResourceCollection &value)
void SetDescription(const Aws::String &value)
ProactiveInsight & WithSeverity(InsightSeverity &&value)
ProactiveInsight & WithStatus(InsightStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue