AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
AzureSubscriptionScope.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/AllSubscriptions.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ObservabilityAdmin {
22namespace Model {
23
31 public:
32 AWS_OBSERVABILITYADMIN_API AzureSubscriptionScope() = default;
33 AWS_OBSERVABILITYADMIN_API AzureSubscriptionScope(Aws::Utils::Json::JsonView jsonValue);
34 AWS_OBSERVABILITYADMIN_API AzureSubscriptionScope& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline const AllSubscriptions& GetAll() const { return m_all; }
44 inline bool AllHasBeenSet() const { return m_allHasBeenSet; }
45 template <typename AllT = AllSubscriptions>
46 void SetAll(AllT&& value) {
47 m_allHasBeenSet = true;
48 m_all = std::forward<AllT>(value);
49 }
50 template <typename AllT = AllSubscriptions>
52 SetAll(std::forward<AllT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::Vector<Aws::String>& GetIds() const { return m_ids; }
62 inline bool IdsHasBeenSet() const { return m_idsHasBeenSet; }
63 template <typename IdsT = Aws::Vector<Aws::String>>
64 void SetIds(IdsT&& value) {
65 m_idsHasBeenSet = true;
66 m_ids = std::forward<IdsT>(value);
67 }
68 template <typename IdsT = Aws::Vector<Aws::String>>
70 SetIds(std::forward<IdsT>(value));
71 return *this;
72 }
73 template <typename IdsT = Aws::String>
75 m_idsHasBeenSet = true;
76 m_ids.emplace_back(std::forward<IdsT>(value));
77 return *this;
78 }
80 private:
81 AllSubscriptions m_all;
82
84 bool m_allHasBeenSet = false;
85 bool m_idsHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace ObservabilityAdmin
90} // namespace Aws
AWS_OBSERVABILITYADMIN_API AzureSubscriptionScope & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OBSERVABILITYADMIN_API AzureSubscriptionScope()=default
const Aws::Vector< Aws::String > & GetIds() const
AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OBSERVABILITYADMIN_API AzureSubscriptionScope(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue