7#include <aws/cloudwatchomni/CloudWatchOmni_EXPORTS.h>
8#include <aws/cloudwatchomni/model/RowScope.h>
9#include <aws/cloudwatchomni/model/SignalType.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/crt/cbor/Cbor.h>
23namespace CloudWatchOmni {
36 AWS_CLOUDWATCHOMNI_API
ResourceScope(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
38 AWS_CLOUDWATCHOMNI_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
47 template <
typename ResourceTypeT = Aws::String>
49 m_resourceTypeHasBeenSet =
true;
50 m_resourceType = std::forward<ResourceTypeT>(value);
52 template <
typename ResourceTypeT = Aws::String>
66 template <
typename ResourceArnsT = Aws::Vector<Aws::String>>
68 m_resourceArnsHasBeenSet =
true;
69 m_resourceArns = std::forward<ResourceArnsT>(value);
71 template <
typename ResourceArnsT = Aws::Vector<Aws::String>>
76 template <
typename ResourceArnsT = Aws::String>
78 m_resourceArnsHasBeenSet =
true;
79 m_resourceArns.emplace_back(std::forward<ResourceArnsT>(value));
91 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
93 m_tagsHasBeenSet =
true;
94 m_tags = std::forward<TagsT>(value);
96 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
98 SetTags(std::forward<TagsT>(value));
101 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
103 m_tagsHasBeenSet =
true;
104 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
116 template <
typename SignalTypesT = Aws::Vector<SignalType>>
118 m_signalTypesHasBeenSet =
true;
119 m_signalTypes = std::forward<SignalTypesT>(value);
121 template <
typename SignalTypesT = Aws::Vector<SignalType>>
127 m_signalTypesHasBeenSet =
true;
128 m_signalTypes.push_back(value);
143 template <
typename RowScopeGroupsT = Aws::Vector<Aws::Vector<RowScope>>>
145 m_rowScopeGroupsHasBeenSet =
true;
146 m_rowScopeGroups = std::forward<RowScopeGroupsT>(value);
148 template <
typename RowScopeGroupsT = Aws::Vector<Aws::Vector<RowScope>>>
153 template <
typename RowScopeGroupsT = Aws::Vector<RowScope>>
155 m_rowScopeGroupsHasBeenSet =
true;
156 m_rowScopeGroups.emplace_back(std::forward<RowScopeGroupsT>(value));
170 bool m_resourceTypeHasBeenSet =
false;
171 bool m_resourceArnsHasBeenSet =
false;
172 bool m_tagsHasBeenSet =
false;
173 bool m_signalTypesHasBeenSet =
false;
174 bool m_rowScopeGroupsHasBeenSet =
false;
const Aws::String & GetResourceType() const
ResourceScope & AddSignalTypes(SignalType value)
const Aws::Vector< Aws::String > & GetResourceArns() const
ResourceScope & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_CLOUDWATCHOMNI_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
ResourceScope & AddRowScopeGroups(RowScopeGroupsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::Vector< SignalType > & GetSignalTypes() const
void SetTags(TagsT &&value)
AWS_CLOUDWATCHOMNI_API ResourceScope()=default
AWS_CLOUDWATCHOMNI_API ResourceScope & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetResourceArns(ResourceArnsT &&value)
bool SignalTypesHasBeenSet() const
AWS_CLOUDWATCHOMNI_API ResourceScope(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ResourceScope & AddResourceArns(ResourceArnsT &&value)
ResourceScope & WithResourceArns(ResourceArnsT &&value)
bool RowScopeGroupsHasBeenSet() const
void SetSignalTypes(SignalTypesT &&value)
void SetResourceType(ResourceTypeT &&value)
ResourceScope & WithTags(TagsT &&value)
const Aws::Vector< Aws::Vector< RowScope > > & GetRowScopeGroups() const
ResourceScope & WithResourceType(ResourceTypeT &&value)
bool ResourceTypeHasBeenSet() const
ResourceScope & WithSignalTypes(SignalTypesT &&value)
void SetRowScopeGroups(RowScopeGroupsT &&value)
bool TagsHasBeenSet() const
bool ResourceArnsHasBeenSet() const
ResourceScope & WithRowScopeGroups(RowScopeGroupsT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector