AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
AzureQueryScope.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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ObservabilityAdmin {
21namespace Model {
22
30 public:
31 AWS_OBSERVABILITYADMIN_API AzureQueryScope() = default;
32 AWS_OBSERVABILITYADMIN_API AzureQueryScope(Aws::Utils::Json::JsonView jsonValue);
33 AWS_OBSERVABILITYADMIN_API AzureQueryScope& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetManagementGroupId() const { return m_managementGroupId; }
41 inline bool ManagementGroupIdHasBeenSet() const { return m_managementGroupIdHasBeenSet; }
42 template <typename ManagementGroupIdT = Aws::String>
43 void SetManagementGroupId(ManagementGroupIdT&& value) {
44 m_managementGroupIdHasBeenSet = true;
45 m_managementGroupId = std::forward<ManagementGroupIdT>(value);
46 }
47 template <typename ManagementGroupIdT = Aws::String>
48 AzureQueryScope& WithManagementGroupId(ManagementGroupIdT&& value) {
49 SetManagementGroupId(std::forward<ManagementGroupIdT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::Vector<Aws::String>& GetSubscriptionIds() const { return m_subscriptionIds; }
60 inline bool SubscriptionIdsHasBeenSet() const { return m_subscriptionIdsHasBeenSet; }
61 template <typename SubscriptionIdsT = Aws::Vector<Aws::String>>
62 void SetSubscriptionIds(SubscriptionIdsT&& value) {
63 m_subscriptionIdsHasBeenSet = true;
64 m_subscriptionIds = std::forward<SubscriptionIdsT>(value);
65 }
66 template <typename SubscriptionIdsT = Aws::Vector<Aws::String>>
67 AzureQueryScope& WithSubscriptionIds(SubscriptionIdsT&& value) {
68 SetSubscriptionIds(std::forward<SubscriptionIdsT>(value));
69 return *this;
70 }
71 template <typename SubscriptionIdsT = Aws::String>
72 AzureQueryScope& AddSubscriptionIds(SubscriptionIdsT&& value) {
73 m_subscriptionIdsHasBeenSet = true;
74 m_subscriptionIds.emplace_back(std::forward<SubscriptionIdsT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_managementGroupId;
80
81 Aws::Vector<Aws::String> m_subscriptionIds;
82 bool m_managementGroupIdHasBeenSet = false;
83 bool m_subscriptionIdsHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace ObservabilityAdmin
88} // namespace Aws
void SetManagementGroupId(ManagementGroupIdT &&value)
AzureQueryScope & WithSubscriptionIds(SubscriptionIdsT &&value)
AWS_OBSERVABILITYADMIN_API AzureQueryScope(Aws::Utils::Json::JsonView jsonValue)
AWS_OBSERVABILITYADMIN_API AzureQueryScope & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSubscriptionIds(SubscriptionIdsT &&value)
AzureQueryScope & WithManagementGroupId(ManagementGroupIdT &&value)
AzureQueryScope & AddSubscriptionIds(SubscriptionIdsT &&value)
const Aws::Vector< Aws::String > & GetSubscriptionIds() const
AWS_OBSERVABILITYADMIN_API AzureQueryScope()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue