7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/synthetics/Synthetics_EXPORTS.h>
10#include <aws/synthetics/model/CanaryState.h>
11#include <aws/synthetics/model/ReplicationStatus.h>
12#include <aws/synthetics/model/VpcConfigOutput.h>
45 template <
typename LocationT = Aws::String>
47 m_locationHasBeenSet =
true;
48 m_location = std::forward<LocationT>(value);
50 template <
typename LocationT = Aws::String>
64 template <
typename ReplicationStatusT = ReplicationStatus>
66 m_replicationStatusHasBeenSet =
true;
67 m_replicationStatus = std::forward<ReplicationStatusT>(value);
69 template <
typename ReplicationStatusT = ReplicationStatus>
83 m_canaryStateHasBeenSet =
true;
84 m_canaryState = value;
98 template <
typename LastModifiedT = Aws::Utils::DateTime>
100 m_lastModifiedHasBeenSet =
true;
101 m_lastModified = std::forward<LastModifiedT>(value);
103 template <
typename LastModifiedT = Aws::Utils::DateTime>
116 template <
typename VpcConfigT = VpcConfigOutput>
118 m_vpcConfigHasBeenSet =
true;
119 m_vpcConfig = std::forward<VpcConfigT>(value);
121 template <
typename VpcConfigT = VpcConfigOutput>
136 VpcConfigOutput m_vpcConfig;
137 bool m_locationHasBeenSet =
false;
138 bool m_replicationStatusHasBeenSet =
false;
139 bool m_canaryStateHasBeenSet =
false;
140 bool m_lastModifiedHasBeenSet =
false;
141 bool m_vpcConfigHasBeenSet =
false;
void SetVpcConfig(VpcConfigT &&value)
AWS_SYNTHETICS_API Replica(Aws::Utils::Json::JsonView jsonValue)
void SetReplicationStatus(ReplicationStatusT &&value)
AWS_SYNTHETICS_API Replica()=default
AWS_SYNTHETICS_API Replica & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCanaryState(CanaryState value)
AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const
bool LocationHasBeenSet() const
void SetLocation(LocationT &&value)
void SetLastModified(LastModifiedT &&value)
Replica & WithLastModified(LastModifiedT &&value)
const Aws::Utils::DateTime & GetLastModified() const
CanaryState GetCanaryState() const
Replica & WithLocation(LocationT &&value)
bool ReplicationStatusHasBeenSet() const
const VpcConfigOutput & GetVpcConfig() const
bool CanaryStateHasBeenSet() const
const Aws::String & GetLocation() const
Replica & WithCanaryState(CanaryState value)
bool LastModifiedHasBeenSet() const
Replica & WithVpcConfig(VpcConfigT &&value)
Replica & WithReplicationStatus(ReplicationStatusT &&value)
const ReplicationStatus & GetReplicationStatus() const
bool VpcConfigHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue