7#include <aws/cloudwatchomni/CloudWatchOmni_EXPORTS.h>
8#include <aws/cloudwatchomni/model/NodeCategory.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/crt/cbor/Cbor.h>
20namespace CloudWatchOmni {
34 AWS_CLOUDWATCHOMNI_API
NodeProperties(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
36 AWS_CLOUDWATCHOMNI_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
45 template <
typename RegionT = Aws::String>
47 m_regionHasBeenSet =
true;
48 m_region = std::forward<RegionT>(value);
50 template <
typename RegionT = Aws::String>
64 template <
typename CloudProv
iderT = Aws::String>
66 m_cloudProviderHasBeenSet =
true;
67 m_cloudProvider = std::forward<CloudProviderT>(value);
69 template <
typename CloudProv
iderT = Aws::String>
82 template <
typename SourceAccountIdT = Aws::String>
84 m_sourceAccountIdHasBeenSet =
true;
85 m_sourceAccountId = std::forward<SourceAccountIdT>(value);
87 template <
typename SourceAccountIdT = Aws::String>
101 template <
typename NamespaceT = Aws::String>
103 m_namespaceHasBeenSet =
true;
104 m_namespace = std::forward<NamespaceT>(value);
106 template <
typename NamespaceT = Aws::String>
120 m_categoryHasBeenSet =
true;
136 template <
typename StageT = Aws::String>
138 m_stageHasBeenSet =
true;
139 m_stage = std::forward<StageT>(value);
141 template <
typename StageT = Aws::String>
143 SetStage(std::forward<StageT>(value));
159 bool m_regionHasBeenSet =
false;
160 bool m_cloudProviderHasBeenSet =
false;
161 bool m_sourceAccountIdHasBeenSet =
false;
162 bool m_namespaceHasBeenSet =
false;
163 bool m_categoryHasBeenSet =
false;
164 bool m_stageHasBeenSet =
false;
NodeProperties & WithNamespace(NamespaceT &&value)
void SetCategory(NodeCategory value)
NodeProperties & WithRegion(RegionT &&value)
NodeProperties & WithSourceAccountId(SourceAccountIdT &&value)
const Aws::String & GetSourceAccountId() const
AWS_CLOUDWATCHOMNI_API NodeProperties()=default
const Aws::String & GetStage() const
bool CategoryHasBeenSet() const
const Aws::String & GetCloudProvider() const
NodeProperties & WithStage(StageT &&value)
void SetStage(StageT &&value)
AWS_CLOUDWATCHOMNI_API NodeProperties(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
NodeCategory GetCategory() const
const Aws::String & GetNamespace() const
void SetNamespace(NamespaceT &&value)
bool SourceAccountIdHasBeenSet() const
const Aws::String & GetRegion() const
NodeProperties & WithCloudProvider(CloudProviderT &&value)
void SetCloudProvider(CloudProviderT &&value)
bool StageHasBeenSet() const
NodeProperties & WithCategory(NodeCategory value)
bool NamespaceHasBeenSet() const
AWS_CLOUDWATCHOMNI_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetRegion(RegionT &&value)
void SetSourceAccountId(SourceAccountIdT &&value)
bool CloudProviderHasBeenSet() const
AWS_CLOUDWATCHOMNI_API NodeProperties & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool RegionHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String