7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/synthetics/Synthetics_EXPORTS.h>
10#include <aws/synthetics/model/LocationType.h>
11#include <aws/synthetics/model/Replica.h>
12#include <aws/synthetics/model/ReplicationState.h>
48 m_locationTypeHasBeenSet =
true;
49 m_locationType = value;
63 template <
typename PrimaryLocationT = Aws::String>
65 m_primaryLocationHasBeenSet =
true;
66 m_primaryLocation = std::forward<PrimaryLocationT>(value);
68 template <
typename PrimaryLocationT = Aws::String>
82 template <
typename ReplicasT = Aws::Vector<Replica>>
84 m_replicasHasBeenSet =
true;
85 m_replicas = std::forward<ReplicasT>(value);
87 template <
typename ReplicasT = Aws::Vector<Replica>>
92 template <
typename ReplicasT = Replica>
94 m_replicasHasBeenSet =
true;
95 m_replicas.emplace_back(std::forward<ReplicasT>(value));
109 m_replicationStateHasBeenSet =
true;
110 m_replicationState = value;
125 bool m_locationTypeHasBeenSet =
false;
126 bool m_primaryLocationHasBeenSet =
false;
127 bool m_replicasHasBeenSet =
false;
128 bool m_replicationStateHasBeenSet =
false;
const Aws::Vector< Replica > & GetReplicas() const
void SetReplicationState(ReplicationState value)
bool LocationTypeHasBeenSet() const
AWS_SYNTHETICS_API MultiLocationConfig()=default
void SetReplicas(ReplicasT &&value)
void SetLocationType(LocationType value)
MultiLocationConfig & WithLocationType(LocationType value)
bool PrimaryLocationHasBeenSet() const
void SetPrimaryLocation(PrimaryLocationT &&value)
MultiLocationConfig & WithReplicas(ReplicasT &&value)
AWS_SYNTHETICS_API MultiLocationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ReplicasHasBeenSet() const
MultiLocationConfig & WithPrimaryLocation(PrimaryLocationT &&value)
AWS_SYNTHETICS_API MultiLocationConfig(Aws::Utils::Json::JsonView jsonValue)
ReplicationState GetReplicationState() const
AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const
LocationType GetLocationType() const
bool ReplicationStateHasBeenSet() const
const Aws::String & GetPrimaryLocation() const
MultiLocationConfig & WithReplicationState(ReplicationState value)
MultiLocationConfig & AddReplicas(ReplicasT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue