7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/dsql/DSQL_EXPORTS.h>
43 template <
typename WitnessRegionT = Aws::String>
45 m_witnessRegionHasBeenSet =
true;
46 m_witnessRegion = std::forward<WitnessRegionT>(value);
48 template <
typename WitnessRegionT = Aws::String>
62 template <
typename ClustersT = Aws::Vector<Aws::String>>
64 m_clustersHasBeenSet =
true;
65 m_clusters = std::forward<ClustersT>(value);
67 template <
typename ClustersT = Aws::Vector<Aws::String>>
72 template <
typename ClustersT = Aws::String>
74 m_clustersHasBeenSet =
true;
75 m_clusters.emplace_back(std::forward<ClustersT>(value));
83 bool m_witnessRegionHasBeenSet =
false;
84 bool m_clustersHasBeenSet =
false;
MultiRegionProperties & AddClusters(ClustersT &&value)
AWS_DSQL_API MultiRegionProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetClusters() const
AWS_DSQL_API MultiRegionProperties()=default
AWS_DSQL_API MultiRegionProperties(Aws::Utils::Json::JsonView jsonValue)
bool ClustersHasBeenSet() const
AWS_DSQL_API Aws::Utils::Json::JsonValue Jsonize() const
MultiRegionProperties & WithWitnessRegion(WitnessRegionT &&value)
bool WitnessRegionHasBeenSet() const
void SetWitnessRegion(WitnessRegionT &&value)
MultiRegionProperties & WithClusters(ClustersT &&value)
void SetClusters(ClustersT &&value)
const Aws::String & GetWitnessRegion() 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