7#include <aws/ssm-incidents/SSMIncidents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/ssm-incidents/model/ReplicationSetStatus.h>
12#include <aws/ssm-incidents/model/RegionInfo.h>
53 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
54 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
68 inline void SetCreatedBy(
const char* value) { m_createdByHasBeenSet =
true; m_createdBy.assign(value); }
94 inline void SetDeletionProtected(
bool value) { m_deletionProtectedHasBeenSet =
true; m_deletionProtected = value; }
106 inline void SetLastModifiedBy(
const char* value) { m_lastModifiedByHasBeenSet =
true; m_lastModifiedBy.assign(value); }
158 bool m_arnHasBeenSet =
false;
161 bool m_createdByHasBeenSet =
false;
164 bool m_createdTimeHasBeenSet =
false;
166 bool m_deletionProtected;
167 bool m_deletionProtectedHasBeenSet =
false;
170 bool m_lastModifiedByHasBeenSet =
false;
173 bool m_lastModifiedTimeHasBeenSet =
false;
176 bool m_regionMapHasBeenSet =
false;
179 bool m_statusHasBeenSet =
false;
ReplicationSet & WithArn(const char *value)
void SetCreatedBy(const Aws::String &value)
ReplicationSet & WithCreatedTime(Aws::Utils::DateTime &&value)
AWS_SSMINCIDENTS_API ReplicationSet()
ReplicationSet & WithLastModifiedBy(Aws::String &&value)
AWS_SSMINCIDENTS_API ReplicationSet(Aws::Utils::Json::JsonView jsonValue)
void SetRegionMap(const Aws::Map< Aws::String, RegionInfo > &value)
ReplicationSet & WithDeletionProtected(bool value)
ReplicationSet & WithStatus(const ReplicationSetStatus &value)
bool GetDeletionProtected() const
const Aws::Map< Aws::String, RegionInfo > & GetRegionMap() const
const Aws::String & GetLastModifiedBy() const
bool RegionMapHasBeenSet() const
void SetCreatedBy(const char *value)
ReplicationSet & WithLastModifiedBy(const char *value)
void SetArn(Aws::String &&value)
bool LastModifiedTimeHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedTime() const
ReplicationSet & WithCreatedTime(const Aws::Utils::DateTime &value)
ReplicationSet & WithCreatedBy(Aws::String &&value)
const ReplicationSetStatus & GetStatus() const
void SetStatus(const ReplicationSetStatus &value)
bool CreatedByHasBeenSet() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
ReplicationSet & WithCreatedBy(const Aws::String &value)
ReplicationSet & WithCreatedBy(const char *value)
ReplicationSet & AddRegionMap(Aws::String &&key, RegionInfo &&value)
ReplicationSet & AddRegionMap(const Aws::String &key, const RegionInfo &value)
void SetRegionMap(Aws::Map< Aws::String, RegionInfo > &&value)
bool StatusHasBeenSet() const
const Aws::String & GetCreatedBy() const
ReplicationSet & WithRegionMap(const Aws::Map< Aws::String, RegionInfo > &value)
ReplicationSet & WithRegionMap(Aws::Map< Aws::String, RegionInfo > &&value)
bool CreatedTimeHasBeenSet() const
ReplicationSet & WithLastModifiedBy(const Aws::String &value)
AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetArn() const
void SetCreatedTime(const Aws::Utils::DateTime &value)
ReplicationSet & WithLastModifiedTime(Aws::Utils::DateTime &&value)
AWS_SSMINCIDENTS_API ReplicationSet & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastModifiedBy(const Aws::String &value)
ReplicationSet & AddRegionMap(const Aws::String &key, RegionInfo &&value)
void SetStatus(ReplicationSetStatus &&value)
bool LastModifiedByHasBeenSet() const
void SetLastModifiedBy(const char *value)
ReplicationSet & AddRegionMap(const char *key, const RegionInfo &value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
void SetArn(const char *value)
ReplicationSet & AddRegionMap(const char *key, RegionInfo &&value)
bool ArnHasBeenSet() const
void SetDeletionProtected(bool value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
ReplicationSet & WithLastModifiedTime(const Aws::Utils::DateTime &value)
ReplicationSet & AddRegionMap(Aws::String &&key, const RegionInfo &value)
void SetCreatedBy(Aws::String &&value)
void SetLastModifiedBy(Aws::String &&value)
ReplicationSet & WithArn(Aws::String &&value)
ReplicationSet & WithStatus(ReplicationSetStatus &&value)
ReplicationSet & WithArn(const Aws::String &value)
bool DeletionProtectedHasBeenSet() const
void SetArn(const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue