AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
AzureConnectorQueryResults.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/observabilityadmin/ObservabilityAdmin_EXPORTS.h>
10#include <aws/observabilityadmin/model/AzureEventHubSummary.h>
11#include <aws/observabilityadmin/model/AzureManagementGroupSummary.h>
12#include <aws/observabilityadmin/model/AzureResourceIdentifierSummary.h>
13#include <aws/observabilityadmin/model/AzureSubscriptionSummary.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace ObservabilityAdmin {
25namespace Model {
26
34 public:
35 AWS_OBSERVABILITYADMIN_API AzureConnectorQueryResults() = default;
36 AWS_OBSERVABILITYADMIN_API AzureConnectorQueryResults(Aws::Utils::Json::JsonView jsonValue);
37 AWS_OBSERVABILITYADMIN_API AzureConnectorQueryResults& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::Vector<AzureManagementGroupSummary>& GetManagementGroups() const { return m_managementGroups; }
45 inline bool ManagementGroupsHasBeenSet() const { return m_managementGroupsHasBeenSet; }
46 template <typename ManagementGroupsT = Aws::Vector<AzureManagementGroupSummary>>
47 void SetManagementGroups(ManagementGroupsT&& value) {
48 m_managementGroupsHasBeenSet = true;
49 m_managementGroups = std::forward<ManagementGroupsT>(value);
50 }
51 template <typename ManagementGroupsT = Aws::Vector<AzureManagementGroupSummary>>
53 SetManagementGroups(std::forward<ManagementGroupsT>(value));
54 return *this;
55 }
56 template <typename ManagementGroupsT = AzureManagementGroupSummary>
57 AzureConnectorQueryResults& AddManagementGroups(ManagementGroupsT&& value) {
58 m_managementGroupsHasBeenSet = true;
59 m_managementGroups.emplace_back(std::forward<ManagementGroupsT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::Vector<AzureSubscriptionSummary>& GetSubscriptions() const { return m_subscriptions; }
69 inline bool SubscriptionsHasBeenSet() const { return m_subscriptionsHasBeenSet; }
70 template <typename SubscriptionsT = Aws::Vector<AzureSubscriptionSummary>>
71 void SetSubscriptions(SubscriptionsT&& value) {
72 m_subscriptionsHasBeenSet = true;
73 m_subscriptions = std::forward<SubscriptionsT>(value);
74 }
75 template <typename SubscriptionsT = Aws::Vector<AzureSubscriptionSummary>>
77 SetSubscriptions(std::forward<SubscriptionsT>(value));
78 return *this;
79 }
80 template <typename SubscriptionsT = AzureSubscriptionSummary>
82 m_subscriptionsHasBeenSet = true;
83 m_subscriptions.emplace_back(std::forward<SubscriptionsT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::Vector<Aws::String>& GetResourceTypes() const { return m_resourceTypes; }
93 inline bool ResourceTypesHasBeenSet() const { return m_resourceTypesHasBeenSet; }
94 template <typename ResourceTypesT = Aws::Vector<Aws::String>>
95 void SetResourceTypes(ResourceTypesT&& value) {
96 m_resourceTypesHasBeenSet = true;
97 m_resourceTypes = std::forward<ResourceTypesT>(value);
98 }
99 template <typename ResourceTypesT = Aws::Vector<Aws::String>>
101 SetResourceTypes(std::forward<ResourceTypesT>(value));
102 return *this;
103 }
104 template <typename ResourceTypesT = Aws::String>
106 m_resourceTypesHasBeenSet = true;
107 m_resourceTypes.emplace_back(std::forward<ResourceTypesT>(value));
108 return *this;
109 }
111
113
116 inline const Aws::Vector<Aws::String>& GetRegions() const { return m_regions; }
117 inline bool RegionsHasBeenSet() const { return m_regionsHasBeenSet; }
118 template <typename RegionsT = Aws::Vector<Aws::String>>
119 void SetRegions(RegionsT&& value) {
120 m_regionsHasBeenSet = true;
121 m_regions = std::forward<RegionsT>(value);
122 }
123 template <typename RegionsT = Aws::Vector<Aws::String>>
125 SetRegions(std::forward<RegionsT>(value));
126 return *this;
127 }
128 template <typename RegionsT = Aws::String>
130 m_regionsHasBeenSet = true;
131 m_regions.emplace_back(std::forward<RegionsT>(value));
132 return *this;
133 }
135
137
140 inline const Aws::Vector<AzureResourceIdentifierSummary>& GetResourceIds() const { return m_resourceIds; }
141 inline bool ResourceIdsHasBeenSet() const { return m_resourceIdsHasBeenSet; }
142 template <typename ResourceIdsT = Aws::Vector<AzureResourceIdentifierSummary>>
143 void SetResourceIds(ResourceIdsT&& value) {
144 m_resourceIdsHasBeenSet = true;
145 m_resourceIds = std::forward<ResourceIdsT>(value);
146 }
147 template <typename ResourceIdsT = Aws::Vector<AzureResourceIdentifierSummary>>
149 SetResourceIds(std::forward<ResourceIdsT>(value));
150 return *this;
151 }
152 template <typename ResourceIdsT = AzureResourceIdentifierSummary>
154 m_resourceIdsHasBeenSet = true;
155 m_resourceIds.emplace_back(std::forward<ResourceIdsT>(value));
156 return *this;
157 }
159
161
164 inline const Aws::Vector<AzureEventHubSummary>& GetEventHubs() const { return m_eventHubs; }
165 inline bool EventHubsHasBeenSet() const { return m_eventHubsHasBeenSet; }
166 template <typename EventHubsT = Aws::Vector<AzureEventHubSummary>>
167 void SetEventHubs(EventHubsT&& value) {
168 m_eventHubsHasBeenSet = true;
169 m_eventHubs = std::forward<EventHubsT>(value);
170 }
171 template <typename EventHubsT = Aws::Vector<AzureEventHubSummary>>
173 SetEventHubs(std::forward<EventHubsT>(value));
174 return *this;
175 }
176 template <typename EventHubsT = AzureEventHubSummary>
178 m_eventHubsHasBeenSet = true;
179 m_eventHubs.emplace_back(std::forward<EventHubsT>(value));
180 return *this;
181 }
183 private:
185
187
188 Aws::Vector<Aws::String> m_resourceTypes;
189
190 Aws::Vector<Aws::String> m_regions;
191
193
195 bool m_managementGroupsHasBeenSet = false;
196 bool m_subscriptionsHasBeenSet = false;
197 bool m_resourceTypesHasBeenSet = false;
198 bool m_regionsHasBeenSet = false;
199 bool m_resourceIdsHasBeenSet = false;
200 bool m_eventHubsHasBeenSet = false;
201};
202
203} // namespace Model
204} // namespace ObservabilityAdmin
205} // namespace Aws
const Aws::Vector< AzureManagementGroupSummary > & GetManagementGroups() const
AzureConnectorQueryResults & AddEventHubs(EventHubsT &&value)
AzureConnectorQueryResults & WithEventHubs(EventHubsT &&value)
const Aws::Vector< AzureEventHubSummary > & GetEventHubs() const
AzureConnectorQueryResults & WithManagementGroups(ManagementGroupsT &&value)
AzureConnectorQueryResults & WithResourceIds(ResourceIdsT &&value)
const Aws::Vector< AzureResourceIdentifierSummary > & GetResourceIds() const
AzureConnectorQueryResults & AddResourceTypes(ResourceTypesT &&value)
AzureConnectorQueryResults & WithResourceTypes(ResourceTypesT &&value)
AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OBSERVABILITYADMIN_API AzureConnectorQueryResults & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OBSERVABILITYADMIN_API AzureConnectorQueryResults(Aws::Utils::Json::JsonView jsonValue)
AWS_OBSERVABILITYADMIN_API AzureConnectorQueryResults()=default
AzureConnectorQueryResults & WithSubscriptions(SubscriptionsT &&value)
AzureConnectorQueryResults & AddManagementGroups(ManagementGroupsT &&value)
AzureConnectorQueryResults & AddRegions(RegionsT &&value)
AzureConnectorQueryResults & AddResourceIds(ResourceIdsT &&value)
AzureConnectorQueryResults & AddSubscriptions(SubscriptionsT &&value)
AzureConnectorQueryResults & WithRegions(RegionsT &&value)
const Aws::Vector< AzureSubscriptionSummary > & GetSubscriptions() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue