AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReactiveOrganizationInsightSummary.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 <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:
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 ReactiveOrganizationInsightSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
56 inline ReactiveOrganizationInsightSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
57 inline ReactiveOrganizationInsightSummary& WithId(const char* value) { SetId(value); return *this;}
59
61
64 inline const Aws::String& GetAccountId() const{ return m_accountId; }
65 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
66 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
67 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
68 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
69 inline ReactiveOrganizationInsightSummary& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
70 inline ReactiveOrganizationInsightSummary& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
71 inline ReactiveOrganizationInsightSummary& WithAccountId(const char* value) { SetAccountId(value); return *this;}
73
75
78 inline const Aws::String& GetOrganizationalUnitId() const{ return m_organizationalUnitId; }
79 inline bool OrganizationalUnitIdHasBeenSet() const { return m_organizationalUnitIdHasBeenSet; }
80 inline void SetOrganizationalUnitId(const Aws::String& value) { m_organizationalUnitIdHasBeenSet = true; m_organizationalUnitId = value; }
81 inline void SetOrganizationalUnitId(Aws::String&& value) { m_organizationalUnitIdHasBeenSet = true; m_organizationalUnitId = std::move(value); }
82 inline void SetOrganizationalUnitId(const char* value) { m_organizationalUnitIdHasBeenSet = true; m_organizationalUnitId.assign(value); }
87
89
92 inline const Aws::String& GetName() const{ return m_name; }
93 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
94 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
95 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
96 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
97 inline ReactiveOrganizationInsightSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
98 inline ReactiveOrganizationInsightSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
99 inline ReactiveOrganizationInsightSummary& WithName(const char* value) { SetName(value); return *this;}
101
103
109 inline const InsightSeverity& GetSeverity() const{ return m_severity; }
110 inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; }
111 inline void SetSeverity(const InsightSeverity& value) { m_severityHasBeenSet = true; m_severity = value; }
112 inline void SetSeverity(InsightSeverity&& value) { m_severityHasBeenSet = true; m_severity = std::move(value); }
113 inline ReactiveOrganizationInsightSummary& WithSeverity(const InsightSeverity& value) { SetSeverity(value); return *this;}
114 inline ReactiveOrganizationInsightSummary& WithSeverity(InsightSeverity&& value) { SetSeverity(std::move(value)); return *this;}
116
118
121 inline const InsightStatus& GetStatus() const{ return m_status; }
122 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
123 inline void SetStatus(const InsightStatus& value) { m_statusHasBeenSet = true; m_status = value; }
124 inline void SetStatus(InsightStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
125 inline ReactiveOrganizationInsightSummary& WithStatus(const InsightStatus& value) { SetStatus(value); return *this;}
126 inline ReactiveOrganizationInsightSummary& WithStatus(InsightStatus&& value) { SetStatus(std::move(value)); return *this;}
128
130
131 inline const InsightTimeRange& GetInsightTimeRange() const{ return m_insightTimeRange; }
132 inline bool InsightTimeRangeHasBeenSet() const { return m_insightTimeRangeHasBeenSet; }
133 inline void SetInsightTimeRange(const InsightTimeRange& value) { m_insightTimeRangeHasBeenSet = true; m_insightTimeRange = value; }
134 inline void SetInsightTimeRange(InsightTimeRange&& value) { m_insightTimeRangeHasBeenSet = true; m_insightTimeRange = std::move(value); }
138
140
141 inline const ResourceCollection& GetResourceCollection() const{ return m_resourceCollection; }
142 inline bool ResourceCollectionHasBeenSet() const { return m_resourceCollectionHasBeenSet; }
143 inline void SetResourceCollection(const ResourceCollection& value) { m_resourceCollectionHasBeenSet = true; m_resourceCollection = value; }
144 inline void SetResourceCollection(ResourceCollection&& value) { m_resourceCollectionHasBeenSet = true; m_resourceCollection = std::move(value); }
148
150
151 inline const ServiceCollection& GetServiceCollection() const{ return m_serviceCollection; }
152 inline bool ServiceCollectionHasBeenSet() const { return m_serviceCollectionHasBeenSet; }
153 inline void SetServiceCollection(const ServiceCollection& value) { m_serviceCollectionHasBeenSet = true; m_serviceCollection = value; }
154 inline void SetServiceCollection(ServiceCollection&& value) { m_serviceCollectionHasBeenSet = true; m_serviceCollection = std::move(value); }
158 private:
159
160 Aws::String m_id;
161 bool m_idHasBeenSet = false;
162
163 Aws::String m_accountId;
164 bool m_accountIdHasBeenSet = false;
165
166 Aws::String m_organizationalUnitId;
167 bool m_organizationalUnitIdHasBeenSet = false;
168
169 Aws::String m_name;
170 bool m_nameHasBeenSet = false;
171
172 InsightSeverity m_severity;
173 bool m_severityHasBeenSet = false;
174
175 InsightStatus m_status;
176 bool m_statusHasBeenSet = false;
177
178 InsightTimeRange m_insightTimeRange;
179 bool m_insightTimeRangeHasBeenSet = false;
180
181 ResourceCollection m_resourceCollection;
182 bool m_resourceCollectionHasBeenSet = false;
183
184 ServiceCollection m_serviceCollection;
185 bool m_serviceCollectionHasBeenSet = false;
186 };
187
188} // namespace Model
189} // namespace DevOpsGuru
190} // namespace Aws
ReactiveOrganizationInsightSummary & WithOrganizationalUnitId(const Aws::String &value)
ReactiveOrganizationInsightSummary & WithId(Aws::String &&value)
ReactiveOrganizationInsightSummary & WithInsightTimeRange(InsightTimeRange &&value)
ReactiveOrganizationInsightSummary & WithServiceCollection(const ServiceCollection &value)
ReactiveOrganizationInsightSummary & WithSeverity(InsightSeverity &&value)
ReactiveOrganizationInsightSummary & WithStatus(InsightStatus &&value)
ReactiveOrganizationInsightSummary & WithOrganizationalUnitId(const char *value)
ReactiveOrganizationInsightSummary & WithOrganizationalUnitId(Aws::String &&value)
ReactiveOrganizationInsightSummary & WithAccountId(const char *value)
ReactiveOrganizationInsightSummary & WithServiceCollection(ServiceCollection &&value)
ReactiveOrganizationInsightSummary & WithStatus(const InsightStatus &value)
ReactiveOrganizationInsightSummary & WithAccountId(Aws::String &&value)
ReactiveOrganizationInsightSummary & WithId(const char *value)
ReactiveOrganizationInsightSummary & WithSeverity(const InsightSeverity &value)
ReactiveOrganizationInsightSummary & WithAccountId(const Aws::String &value)
ReactiveOrganizationInsightSummary & WithResourceCollection(const ResourceCollection &value)
ReactiveOrganizationInsightSummary & WithInsightTimeRange(const InsightTimeRange &value)
ReactiveOrganizationInsightSummary & WithId(const Aws::String &value)
ReactiveOrganizationInsightSummary & WithName(const char *value)
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
ReactiveOrganizationInsightSummary & WithName(Aws::String &&value)
ReactiveOrganizationInsightSummary & WithName(const Aws::String &value)
ReactiveOrganizationInsightSummary & WithResourceCollection(ResourceCollection &&value)
AWS_DEVOPSGURU_API ReactiveOrganizationInsightSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSGURU_API ReactiveOrganizationInsightSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue