AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
AzureRegionsQuery.h
1
6#pragma once
7#include <aws/observabilityadmin/ObservabilityAdmin_EXPORTS.h>
8#include <aws/observabilityadmin/model/AzureQueryScope.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ObservabilityAdmin {
20namespace Model {
21
29 public:
30 AWS_OBSERVABILITYADMIN_API AzureRegionsQuery() = default;
31 AWS_OBSERVABILITYADMIN_API AzureRegionsQuery(Aws::Utils::Json::JsonView jsonValue);
32 AWS_OBSERVABILITYADMIN_API AzureRegionsQuery& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const AzureQueryScope& GetScope() const { return m_scope; }
40 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
41 template <typename ScopeT = AzureQueryScope>
42 void SetScope(ScopeT&& value) {
43 m_scopeHasBeenSet = true;
44 m_scope = std::forward<ScopeT>(value);
45 }
46 template <typename ScopeT = AzureQueryScope>
47 AzureRegionsQuery& WithScope(ScopeT&& value) {
48 SetScope(std::forward<ScopeT>(value));
49 return *this;
50 }
52 private:
53 AzureQueryScope m_scope;
54 bool m_scopeHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace ObservabilityAdmin
59} // namespace Aws
AWS_OBSERVABILITYADMIN_API AzureRegionsQuery(Aws::Utils::Json::JsonView jsonValue)
AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
AzureRegionsQuery & WithScope(ScopeT &&value)
AWS_OBSERVABILITYADMIN_API AzureRegionsQuery & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OBSERVABILITYADMIN_API AzureRegionsQuery()=default
Aws::Utils::Json::JsonValue JsonValue