AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProactiveOrganizationInsightSummary.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 <aws/devops-guru/model/ServiceCollection.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:
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 ProactiveOrganizationInsightSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
57 inline ProactiveOrganizationInsightSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
58 inline ProactiveOrganizationInsightSummary& WithId(const char* value) { SetId(value); return *this;}
60
62
65 inline const Aws::String& GetAccountId() const{ return m_accountId; }
66 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
67 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
68 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
69 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
70 inline ProactiveOrganizationInsightSummary& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
71 inline ProactiveOrganizationInsightSummary& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
72 inline ProactiveOrganizationInsightSummary& WithAccountId(const char* value) { SetAccountId(value); return *this;}
74
76
79 inline const Aws::String& GetOrganizationalUnitId() const{ return m_organizationalUnitId; }
80 inline bool OrganizationalUnitIdHasBeenSet() const { return m_organizationalUnitIdHasBeenSet; }
81 inline void SetOrganizationalUnitId(const Aws::String& value) { m_organizationalUnitIdHasBeenSet = true; m_organizationalUnitId = value; }
82 inline void SetOrganizationalUnitId(Aws::String&& value) { m_organizationalUnitIdHasBeenSet = true; m_organizationalUnitId = std::move(value); }
83 inline void SetOrganizationalUnitId(const char* value) { m_organizationalUnitIdHasBeenSet = true; m_organizationalUnitId.assign(value); }
88
90
93 inline const Aws::String& GetName() const{ return m_name; }
94 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
95 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
96 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
97 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
98 inline ProactiveOrganizationInsightSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
99 inline ProactiveOrganizationInsightSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
100 inline ProactiveOrganizationInsightSummary& WithName(const char* value) { SetName(value); return *this;}
102
104
110 inline const InsightSeverity& GetSeverity() const{ return m_severity; }
111 inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; }
112 inline void SetSeverity(const InsightSeverity& value) { m_severityHasBeenSet = true; m_severity = value; }
113 inline void SetSeverity(InsightSeverity&& value) { m_severityHasBeenSet = true; m_severity = std::move(value); }
115 inline ProactiveOrganizationInsightSummary& WithSeverity(InsightSeverity&& value) { SetSeverity(std::move(value)); return *this;}
117
119
122 inline const InsightStatus& GetStatus() const{ return m_status; }
123 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
124 inline void SetStatus(const InsightStatus& value) { m_statusHasBeenSet = true; m_status = value; }
125 inline void SetStatus(InsightStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
126 inline ProactiveOrganizationInsightSummary& WithStatus(const InsightStatus& value) { SetStatus(value); return *this;}
127 inline ProactiveOrganizationInsightSummary& WithStatus(InsightStatus&& value) { SetStatus(std::move(value)); return *this;}
129
131
132 inline const InsightTimeRange& GetInsightTimeRange() const{ return m_insightTimeRange; }
133 inline bool InsightTimeRangeHasBeenSet() const { return m_insightTimeRangeHasBeenSet; }
134 inline void SetInsightTimeRange(const InsightTimeRange& value) { m_insightTimeRangeHasBeenSet = true; m_insightTimeRange = value; }
135 inline void SetInsightTimeRange(InsightTimeRange&& value) { m_insightTimeRangeHasBeenSet = true; m_insightTimeRange = std::move(value); }
139
141
142 inline const PredictionTimeRange& GetPredictionTimeRange() const{ return m_predictionTimeRange; }
143 inline bool PredictionTimeRangeHasBeenSet() const { return m_predictionTimeRangeHasBeenSet; }
144 inline void SetPredictionTimeRange(const PredictionTimeRange& value) { m_predictionTimeRangeHasBeenSet = true; m_predictionTimeRange = value; }
145 inline void SetPredictionTimeRange(PredictionTimeRange&& value) { m_predictionTimeRangeHasBeenSet = true; m_predictionTimeRange = std::move(value); }
149
151
152 inline const ResourceCollection& GetResourceCollection() const{ return m_resourceCollection; }
153 inline bool ResourceCollectionHasBeenSet() const { return m_resourceCollectionHasBeenSet; }
154 inline void SetResourceCollection(const ResourceCollection& value) { m_resourceCollectionHasBeenSet = true; m_resourceCollection = value; }
155 inline void SetResourceCollection(ResourceCollection&& value) { m_resourceCollectionHasBeenSet = true; m_resourceCollection = std::move(value); }
159
161
162 inline const ServiceCollection& GetServiceCollection() const{ return m_serviceCollection; }
163 inline bool ServiceCollectionHasBeenSet() const { return m_serviceCollectionHasBeenSet; }
164 inline void SetServiceCollection(const ServiceCollection& value) { m_serviceCollectionHasBeenSet = true; m_serviceCollection = value; }
165 inline void SetServiceCollection(ServiceCollection&& value) { m_serviceCollectionHasBeenSet = true; m_serviceCollection = std::move(value); }
169 private:
170
171 Aws::String m_id;
172 bool m_idHasBeenSet = false;
173
174 Aws::String m_accountId;
175 bool m_accountIdHasBeenSet = false;
176
177 Aws::String m_organizationalUnitId;
178 bool m_organizationalUnitIdHasBeenSet = false;
179
180 Aws::String m_name;
181 bool m_nameHasBeenSet = false;
182
183 InsightSeverity m_severity;
184 bool m_severityHasBeenSet = false;
185
186 InsightStatus m_status;
187 bool m_statusHasBeenSet = false;
188
189 InsightTimeRange m_insightTimeRange;
190 bool m_insightTimeRangeHasBeenSet = false;
191
192 PredictionTimeRange m_predictionTimeRange;
193 bool m_predictionTimeRangeHasBeenSet = false;
194
195 ResourceCollection m_resourceCollection;
196 bool m_resourceCollectionHasBeenSet = false;
197
198 ServiceCollection m_serviceCollection;
199 bool m_serviceCollectionHasBeenSet = false;
200 };
201
202} // namespace Model
203} // namespace DevOpsGuru
204} // namespace Aws
ProactiveOrganizationInsightSummary & WithServiceCollection(const ServiceCollection &value)
ProactiveOrganizationInsightSummary & WithName(const Aws::String &value)
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
ProactiveOrganizationInsightSummary & WithAccountId(const Aws::String &value)
ProactiveOrganizationInsightSummary & WithSeverity(InsightSeverity &&value)
ProactiveOrganizationInsightSummary & WithAccountId(Aws::String &&value)
ProactiveOrganizationInsightSummary & WithResourceCollection(const ResourceCollection &value)
ProactiveOrganizationInsightSummary & WithPredictionTimeRange(const PredictionTimeRange &value)
AWS_DEVOPSGURU_API ProactiveOrganizationInsightSummary(Aws::Utils::Json::JsonView jsonValue)
ProactiveOrganizationInsightSummary & WithInsightTimeRange(InsightTimeRange &&value)
ProactiveOrganizationInsightSummary & WithOrganizationalUnitId(const Aws::String &value)
ProactiveOrganizationInsightSummary & WithOrganizationalUnitId(Aws::String &&value)
AWS_DEVOPSGURU_API ProactiveOrganizationInsightSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ProactiveOrganizationInsightSummary & WithId(const Aws::String &value)
ProactiveOrganizationInsightSummary & WithResourceCollection(ResourceCollection &&value)
ProactiveOrganizationInsightSummary & WithInsightTimeRange(const InsightTimeRange &value)
ProactiveOrganizationInsightSummary & WithStatus(const InsightStatus &value)
ProactiveOrganizationInsightSummary & WithStatus(InsightStatus &&value)
ProactiveOrganizationInsightSummary & WithOrganizationalUnitId(const char *value)
ProactiveOrganizationInsightSummary & WithName(const char *value)
ProactiveOrganizationInsightSummary & WithName(Aws::String &&value)
ProactiveOrganizationInsightSummary & WithPredictionTimeRange(PredictionTimeRange &&value)
ProactiveOrganizationInsightSummary & WithId(Aws::String &&value)
ProactiveOrganizationInsightSummary & WithSeverity(const InsightSeverity &value)
ProactiveOrganizationInsightSummary & WithServiceCollection(ServiceCollection &&value)
ProactiveOrganizationInsightSummary & WithAccountId(const char *value)
ProactiveOrganizationInsightSummary & WithId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue