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/SourceLogsConfiguration.h>
21namespace ObservabilityAdmin {
44 template <
typename RegionsT = Aws::Vector<Aws::String>>
46 m_regionsHasBeenSet =
true;
47 m_regions = std::forward<RegionsT>(value);
49 template <
typename RegionsT = Aws::Vector<Aws::String>>
54 template <
typename RegionsT = Aws::String>
56 m_regionsHasBeenSet =
true;
57 m_regions.emplace_back(std::forward<RegionsT>(value));
69 template <
typename ScopeT = Aws::String>
71 m_scopeHasBeenSet =
true;
72 m_scope = std::forward<ScopeT>(value);
74 template <
typename ScopeT = Aws::String>
76 SetScope(std::forward<ScopeT>(value));
87 template <
typename SourceLogsConfigurationT = SourceLogsConfiguration>
89 m_sourceLogsConfigurationHasBeenSet =
true;
90 m_sourceLogsConfiguration = std::forward<SourceLogsConfigurationT>(value);
92 template <
typename SourceLogsConfigurationT = SourceLogsConfiguration>
104 bool m_regionsHasBeenSet =
false;
105 bool m_scopeHasBeenSet =
false;
106 bool m_sourceLogsConfigurationHasBeenSet =
false;
const Aws::Vector< Aws::String > & GetRegions() const
CentralizationRuleSource & AddRegions(RegionsT &&value)
AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
bool RegionsHasBeenSet() const
CentralizationRuleSource & WithScope(ScopeT &&value)
const Aws::String & GetScope() const
void SetScope(ScopeT &&value)
CentralizationRuleSource & WithSourceLogsConfiguration(SourceLogsConfigurationT &&value)
AWS_OBSERVABILITYADMIN_API CentralizationRuleSource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRegions(RegionsT &&value)
CentralizationRuleSource & WithRegions(RegionsT &&value)
void SetSourceLogsConfiguration(SourceLogsConfigurationT &&value)
AWS_OBSERVABILITYADMIN_API CentralizationRuleSource(Aws::Utils::Json::JsonView jsonValue)
bool SourceLogsConfigurationHasBeenSet() const
bool ScopeHasBeenSet() const
AWS_OBSERVABILITYADMIN_API CentralizationRuleSource()=default
const SourceLogsConfiguration & GetSourceLogsConfiguration() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue