AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
40 AWS_DEVOPSGURU_API ReactiveOrganizationInsightSummary() = default;
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 template<typename IdT = Aws::String>
53 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
54 template<typename IdT = Aws::String>
55 ReactiveOrganizationInsightSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
57
59
62 inline const Aws::String& GetAccountId() const { return m_accountId; }
63 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
64 template<typename AccountIdT = Aws::String>
65 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
66 template<typename AccountIdT = Aws::String>
67 ReactiveOrganizationInsightSummary& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
69
71
74 inline const Aws::String& GetOrganizationalUnitId() const { return m_organizationalUnitId; }
75 inline bool OrganizationalUnitIdHasBeenSet() const { return m_organizationalUnitIdHasBeenSet; }
76 template<typename OrganizationalUnitIdT = Aws::String>
77 void SetOrganizationalUnitId(OrganizationalUnitIdT&& value) { m_organizationalUnitIdHasBeenSet = true; m_organizationalUnitId = std::forward<OrganizationalUnitIdT>(value); }
78 template<typename OrganizationalUnitIdT = Aws::String>
79 ReactiveOrganizationInsightSummary& WithOrganizationalUnitId(OrganizationalUnitIdT&& value) { SetOrganizationalUnitId(std::forward<OrganizationalUnitIdT>(value)); return *this;}
81
83
86 inline const Aws::String& GetName() const { return m_name; }
87 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
88 template<typename NameT = Aws::String>
89 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
90 template<typename NameT = Aws::String>
91 ReactiveOrganizationInsightSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
93
95
101 inline InsightSeverity GetSeverity() const { return m_severity; }
102 inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; }
103 inline void SetSeverity(InsightSeverity value) { m_severityHasBeenSet = true; m_severity = value; }
106
108
111 inline InsightStatus GetStatus() const { return m_status; }
112 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
113 inline void SetStatus(InsightStatus value) { m_statusHasBeenSet = true; m_status = value; }
116
118
119 inline const InsightTimeRange& GetInsightTimeRange() const { return m_insightTimeRange; }
120 inline bool InsightTimeRangeHasBeenSet() const { return m_insightTimeRangeHasBeenSet; }
121 template<typename InsightTimeRangeT = InsightTimeRange>
122 void SetInsightTimeRange(InsightTimeRangeT&& value) { m_insightTimeRangeHasBeenSet = true; m_insightTimeRange = std::forward<InsightTimeRangeT>(value); }
123 template<typename InsightTimeRangeT = InsightTimeRange>
124 ReactiveOrganizationInsightSummary& WithInsightTimeRange(InsightTimeRangeT&& value) { SetInsightTimeRange(std::forward<InsightTimeRangeT>(value)); return *this;}
126
128
129 inline const ResourceCollection& GetResourceCollection() const { return m_resourceCollection; }
130 inline bool ResourceCollectionHasBeenSet() const { return m_resourceCollectionHasBeenSet; }
131 template<typename ResourceCollectionT = ResourceCollection>
132 void SetResourceCollection(ResourceCollectionT&& value) { m_resourceCollectionHasBeenSet = true; m_resourceCollection = std::forward<ResourceCollectionT>(value); }
133 template<typename ResourceCollectionT = ResourceCollection>
134 ReactiveOrganizationInsightSummary& WithResourceCollection(ResourceCollectionT&& value) { SetResourceCollection(std::forward<ResourceCollectionT>(value)); return *this;}
136
138
139 inline const ServiceCollection& GetServiceCollection() const { return m_serviceCollection; }
140 inline bool ServiceCollectionHasBeenSet() const { return m_serviceCollectionHasBeenSet; }
141 template<typename ServiceCollectionT = ServiceCollection>
142 void SetServiceCollection(ServiceCollectionT&& value) { m_serviceCollectionHasBeenSet = true; m_serviceCollection = std::forward<ServiceCollectionT>(value); }
143 template<typename ServiceCollectionT = ServiceCollection>
144 ReactiveOrganizationInsightSummary& WithServiceCollection(ServiceCollectionT&& value) { SetServiceCollection(std::forward<ServiceCollectionT>(value)); return *this;}
146 private:
147
148 Aws::String m_id;
149 bool m_idHasBeenSet = false;
150
151 Aws::String m_accountId;
152 bool m_accountIdHasBeenSet = false;
153
154 Aws::String m_organizationalUnitId;
155 bool m_organizationalUnitIdHasBeenSet = false;
156
157 Aws::String m_name;
158 bool m_nameHasBeenSet = false;
159
161 bool m_severityHasBeenSet = false;
162
164 bool m_statusHasBeenSet = false;
165
166 InsightTimeRange m_insightTimeRange;
167 bool m_insightTimeRangeHasBeenSet = false;
168
169 ResourceCollection m_resourceCollection;
170 bool m_resourceCollectionHasBeenSet = false;
171
172 ServiceCollection m_serviceCollection;
173 bool m_serviceCollectionHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace DevOpsGuru
178} // namespace Aws
ReactiveOrganizationInsightSummary & WithOrganizationalUnitId(OrganizationalUnitIdT &&value)
ReactiveOrganizationInsightSummary & WithAccountId(AccountIdT &&value)
ReactiveOrganizationInsightSummary & WithResourceCollection(ResourceCollectionT &&value)
ReactiveOrganizationInsightSummary & WithInsightTimeRange(InsightTimeRangeT &&value)
AWS_DEVOPSGURU_API ReactiveOrganizationInsightSummary()=default
ReactiveOrganizationInsightSummary & WithSeverity(InsightSeverity value)
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
ReactiveOrganizationInsightSummary & WithServiceCollection(ServiceCollectionT &&value)
ReactiveOrganizationInsightSummary & WithStatus(InsightStatus 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