AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename IdT = Aws::String>
52 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
53 template<typename IdT = Aws::String>
54 ReactiveInsight& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
56
58
61 inline const Aws::String& GetName() const { return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 template<typename NameT = Aws::String>
64 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
65 template<typename NameT = Aws::String>
66 ReactiveInsight& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
68
70
75 inline InsightSeverity GetSeverity() const { return m_severity; }
76 inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; }
77 inline void SetSeverity(InsightSeverity value) { m_severityHasBeenSet = true; m_severity = value; }
78 inline ReactiveInsight& WithSeverity(InsightSeverity value) { SetSeverity(value); return *this;}
80
82
85 inline InsightStatus GetStatus() const { return m_status; }
86 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
87 inline void SetStatus(InsightStatus value) { m_statusHasBeenSet = true; m_status = value; }
88 inline ReactiveInsight& WithStatus(InsightStatus value) { SetStatus(value); return *this;}
90
92
93 inline const InsightTimeRange& GetInsightTimeRange() const { return m_insightTimeRange; }
94 inline bool InsightTimeRangeHasBeenSet() const { return m_insightTimeRangeHasBeenSet; }
95 template<typename InsightTimeRangeT = InsightTimeRange>
96 void SetInsightTimeRange(InsightTimeRangeT&& value) { m_insightTimeRangeHasBeenSet = true; m_insightTimeRange = std::forward<InsightTimeRangeT>(value); }
97 template<typename InsightTimeRangeT = InsightTimeRange>
98 ReactiveInsight& WithInsightTimeRange(InsightTimeRangeT&& value) { SetInsightTimeRange(std::forward<InsightTimeRangeT>(value)); return *this;}
100
102
103 inline const ResourceCollection& GetResourceCollection() const { return m_resourceCollection; }
104 inline bool ResourceCollectionHasBeenSet() const { return m_resourceCollectionHasBeenSet; }
105 template<typename ResourceCollectionT = ResourceCollection>
106 void SetResourceCollection(ResourceCollectionT&& value) { m_resourceCollectionHasBeenSet = true; m_resourceCollection = std::forward<ResourceCollectionT>(value); }
107 template<typename ResourceCollectionT = ResourceCollection>
108 ReactiveInsight& WithResourceCollection(ResourceCollectionT&& value) { SetResourceCollection(std::forward<ResourceCollectionT>(value)); return *this;}
110
112
117 inline const Aws::String& GetSsmOpsItemId() const { return m_ssmOpsItemId; }
118 inline bool SsmOpsItemIdHasBeenSet() const { return m_ssmOpsItemIdHasBeenSet; }
119 template<typename SsmOpsItemIdT = Aws::String>
120 void SetSsmOpsItemId(SsmOpsItemIdT&& value) { m_ssmOpsItemIdHasBeenSet = true; m_ssmOpsItemId = std::forward<SsmOpsItemIdT>(value); }
121 template<typename SsmOpsItemIdT = Aws::String>
122 ReactiveInsight& WithSsmOpsItemId(SsmOpsItemIdT&& value) { SetSsmOpsItemId(std::forward<SsmOpsItemIdT>(value)); return *this;}
124
126
129 inline const Aws::String& GetDescription() const { return m_description; }
130 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
131 template<typename DescriptionT = Aws::String>
132 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
133 template<typename DescriptionT = Aws::String>
134 ReactiveInsight& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
136 private:
137
138 Aws::String m_id;
139 bool m_idHasBeenSet = false;
140
141 Aws::String m_name;
142 bool m_nameHasBeenSet = false;
143
145 bool m_severityHasBeenSet = false;
146
148 bool m_statusHasBeenSet = false;
149
150 InsightTimeRange m_insightTimeRange;
151 bool m_insightTimeRangeHasBeenSet = false;
152
153 ResourceCollection m_resourceCollection;
154 bool m_resourceCollectionHasBeenSet = false;
155
156 Aws::String m_ssmOpsItemId;
157 bool m_ssmOpsItemIdHasBeenSet = false;
158
159 Aws::String m_description;
160 bool m_descriptionHasBeenSet = false;
161 };
162
163} // namespace Model
164} // namespace DevOpsGuru
165} // namespace Aws
void SetDescription(DescriptionT &&value)
ReactiveInsight & WithId(IdT &&value)
const Aws::String & GetSsmOpsItemId() const
ReactiveInsight & WithInsightTimeRange(InsightTimeRangeT &&value)
AWS_DEVOPSGURU_API ReactiveInsight(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
ReactiveInsight & WithDescription(DescriptionT &&value)
void SetSsmOpsItemId(SsmOpsItemIdT &&value)
ReactiveInsight & WithName(NameT &&value)
void SetInsightTimeRange(InsightTimeRangeT &&value)
ReactiveInsight & WithSeverity(InsightSeverity value)
const Aws::String & GetDescription() const
const InsightTimeRange & GetInsightTimeRange() const
AWS_DEVOPSGURU_API ReactiveInsight()=default
const ResourceCollection & GetResourceCollection() const
ReactiveInsight & WithStatus(InsightStatus value)
AWS_DEVOPSGURU_API ReactiveInsight & operator=(Aws::Utils::Json::JsonView jsonValue)
ReactiveInsight & WithSsmOpsItemId(SsmOpsItemIdT &&value)
void SetSeverity(InsightSeverity value)
void SetResourceCollection(ResourceCollectionT &&value)
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetId() const
ReactiveInsight & WithResourceCollection(ResourceCollectionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue