AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReactiveInsightSummary.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 <aws/devops-guru/model/ServiceCollection.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace DevOpsGuru
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_DEVOPSGURU_API ReactiveInsightSummary();
44 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetId() const{ return m_id; }
52 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
53 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
54 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
55 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
56 inline ReactiveInsightSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
57 inline ReactiveInsightSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
58 inline ReactiveInsightSummary& WithId(const char* value) { SetId(value); return *this;}
60
62
65 inline const Aws::String& GetName() const{ return m_name; }
66 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
67 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
68 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
69 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
70 inline ReactiveInsightSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
71 inline ReactiveInsightSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
72 inline ReactiveInsightSummary& WithName(const char* value) { SetName(value); return *this;}
74
76
81 inline const InsightSeverity& GetSeverity() const{ return m_severity; }
82 inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; }
83 inline void SetSeverity(const InsightSeverity& value) { m_severityHasBeenSet = true; m_severity = value; }
84 inline void SetSeverity(InsightSeverity&& value) { m_severityHasBeenSet = true; m_severity = std::move(value); }
85 inline ReactiveInsightSummary& WithSeverity(const InsightSeverity& value) { SetSeverity(value); return *this;}
86 inline ReactiveInsightSummary& WithSeverity(InsightSeverity&& value) { SetSeverity(std::move(value)); return *this;}
88
90
93 inline const InsightStatus& GetStatus() const{ return m_status; }
94 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
95 inline void SetStatus(const InsightStatus& value) { m_statusHasBeenSet = true; m_status = value; }
96 inline void SetStatus(InsightStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
97 inline ReactiveInsightSummary& WithStatus(const InsightStatus& value) { SetStatus(value); return *this;}
98 inline ReactiveInsightSummary& WithStatus(InsightStatus&& value) { SetStatus(std::move(value)); return *this;}
100
102
103 inline const InsightTimeRange& GetInsightTimeRange() const{ return m_insightTimeRange; }
104 inline bool InsightTimeRangeHasBeenSet() const { return m_insightTimeRangeHasBeenSet; }
105 inline void SetInsightTimeRange(const InsightTimeRange& value) { m_insightTimeRangeHasBeenSet = true; m_insightTimeRange = value; }
106 inline void SetInsightTimeRange(InsightTimeRange&& value) { m_insightTimeRangeHasBeenSet = true; m_insightTimeRange = std::move(value); }
108 inline ReactiveInsightSummary& WithInsightTimeRange(InsightTimeRange&& value) { SetInsightTimeRange(std::move(value)); return *this;}
110
112
113 inline const ResourceCollection& GetResourceCollection() const{ return m_resourceCollection; }
114 inline bool ResourceCollectionHasBeenSet() const { return m_resourceCollectionHasBeenSet; }
115 inline void SetResourceCollection(const ResourceCollection& value) { m_resourceCollectionHasBeenSet = true; m_resourceCollection = value; }
116 inline void SetResourceCollection(ResourceCollection&& value) { m_resourceCollectionHasBeenSet = true; m_resourceCollection = std::move(value); }
120
122
125 inline const ServiceCollection& GetServiceCollection() const{ return m_serviceCollection; }
126 inline bool ServiceCollectionHasBeenSet() const { return m_serviceCollectionHasBeenSet; }
127 inline void SetServiceCollection(const ServiceCollection& value) { m_serviceCollectionHasBeenSet = true; m_serviceCollection = value; }
128 inline void SetServiceCollection(ServiceCollection&& value) { m_serviceCollectionHasBeenSet = true; m_serviceCollection = std::move(value); }
130 inline ReactiveInsightSummary& WithServiceCollection(ServiceCollection&& value) { SetServiceCollection(std::move(value)); return *this;}
132
134
138 inline const Aws::Vector<Aws::String>& GetAssociatedResourceArns() const{ return m_associatedResourceArns; }
139 inline bool AssociatedResourceArnsHasBeenSet() const { return m_associatedResourceArnsHasBeenSet; }
140 inline void SetAssociatedResourceArns(const Aws::Vector<Aws::String>& value) { m_associatedResourceArnsHasBeenSet = true; m_associatedResourceArns = value; }
141 inline void SetAssociatedResourceArns(Aws::Vector<Aws::String>&& value) { m_associatedResourceArnsHasBeenSet = true; m_associatedResourceArns = std::move(value); }
144 inline ReactiveInsightSummary& AddAssociatedResourceArns(const Aws::String& value) { m_associatedResourceArnsHasBeenSet = true; m_associatedResourceArns.push_back(value); return *this; }
145 inline ReactiveInsightSummary& AddAssociatedResourceArns(Aws::String&& value) { m_associatedResourceArnsHasBeenSet = true; m_associatedResourceArns.push_back(std::move(value)); return *this; }
146 inline ReactiveInsightSummary& AddAssociatedResourceArns(const char* value) { m_associatedResourceArnsHasBeenSet = true; m_associatedResourceArns.push_back(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 ServiceCollection m_serviceCollection;
169 bool m_serviceCollectionHasBeenSet = false;
170
171 Aws::Vector<Aws::String> m_associatedResourceArns;
172 bool m_associatedResourceArnsHasBeenSet = false;
173 };
174
175} // namespace Model
176} // namespace DevOpsGuru
177} // namespace Aws
ReactiveInsightSummary & WithInsightTimeRange(const InsightTimeRange &value)
ReactiveInsightSummary & WithId(const Aws::String &value)
ReactiveInsightSummary & WithResourceCollection(const ResourceCollection &value)
ReactiveInsightSummary & WithStatus(const InsightStatus &value)
ReactiveInsightSummary & WithId(Aws::String &&value)
void SetResourceCollection(const ResourceCollection &value)
AWS_DEVOPSGURU_API ReactiveInsightSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ReactiveInsightSummary & WithSeverity(const InsightSeverity &value)
ReactiveInsightSummary & WithSeverity(InsightSeverity &&value)
ReactiveInsightSummary & WithAssociatedResourceArns(Aws::Vector< Aws::String > &&value)
ReactiveInsightSummary & AddAssociatedResourceArns(const Aws::String &value)
void SetAssociatedResourceArns(Aws::Vector< Aws::String > &&value)
AWS_DEVOPSGURU_API ReactiveInsightSummary(Aws::Utils::Json::JsonView jsonValue)
ReactiveInsightSummary & WithName(Aws::String &&value)
ReactiveInsightSummary & WithId(const char *value)
ReactiveInsightSummary & WithServiceCollection(ServiceCollection &&value)
const ResourceCollection & GetResourceCollection() const
ReactiveInsightSummary & WithStatus(InsightStatus &&value)
const Aws::Vector< Aws::String > & GetAssociatedResourceArns() const
ReactiveInsightSummary & AddAssociatedResourceArns(Aws::String &&value)
void SetServiceCollection(const ServiceCollection &value)
void SetAssociatedResourceArns(const Aws::Vector< Aws::String > &value)
ReactiveInsightSummary & WithName(const char *value)
void SetInsightTimeRange(const InsightTimeRange &value)
ReactiveInsightSummary & WithResourceCollection(ResourceCollection &&value)
ReactiveInsightSummary & WithInsightTimeRange(InsightTimeRange &&value)
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
ReactiveInsightSummary & WithAssociatedResourceArns(const Aws::Vector< Aws::String > &value)
ReactiveInsightSummary & WithServiceCollection(const ServiceCollection &value)
void SetResourceCollection(ResourceCollection &&value)
ReactiveInsightSummary & AddAssociatedResourceArns(const char *value)
const ServiceCollection & GetServiceCollection() const
ReactiveInsightSummary & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue