7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/fsx/model/SnapshotLifecycle.h>
11#include <aws/fsx/model/LifecycleTransitionReason.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/fsx/model/AdministrativeAction.h>
14#include <aws/fsx/model/Tag.h>
31 class AdministrativeAction;
53 inline void SetResourceARN(
const char* value) { m_resourceARNHasBeenSet =
true; m_resourceARN.assign(value); }
67 inline void SetSnapshotId(
const char* value) { m_snapshotIdHasBeenSet =
true; m_snapshotId.assign(value); }
81 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
95 inline void SetVolumeId(
const char* value) { m_volumeIdHasBeenSet =
true; m_volumeId.assign(value); }
145 inline Snapshot&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
146 inline Snapshot&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
167 bool m_resourceARNHasBeenSet =
false;
170 bool m_snapshotIdHasBeenSet =
false;
173 bool m_nameHasBeenSet =
false;
176 bool m_volumeIdHasBeenSet =
false;
179 bool m_creationTimeHasBeenSet =
false;
182 bool m_lifecycleHasBeenSet =
false;
185 bool m_lifecycleTransitionReasonHasBeenSet =
false;
188 bool m_tagsHasBeenSet =
false;
191 bool m_administrativeActionsHasBeenSet =
false;
void SetTags(const Aws::Vector< Tag > &value)
void SetVolumeId(const Aws::String &value)
void SetSnapshotId(Aws::String &&value)
const Aws::String & GetName() const
bool TagsHasBeenSet() const
void SetVolumeId(Aws::String &&value)
Snapshot & WithSnapshotId(const Aws::String &value)
AWS_FSX_API Snapshot(Aws::Utils::Json::JsonView jsonValue)
void SetResourceARN(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
Snapshot & AddTags(Tag &&value)
void SetAdministrativeActions(const Aws::Vector< AdministrativeAction > &value)
const LifecycleTransitionReason & GetLifecycleTransitionReason() const
Snapshot & WithResourceARN(Aws::String &&value)
void SetName(Aws::String &&value)
Snapshot & WithLifecycleTransitionReason(LifecycleTransitionReason &&value)
Snapshot & WithSnapshotId(Aws::String &&value)
Snapshot & WithAdministrativeActions(const Aws::Vector< AdministrativeAction > &value)
void SetSnapshotId(const Aws::String &value)
const Aws::Vector< AdministrativeAction > & GetAdministrativeActions() const
void SetSnapshotId(const char *value)
Snapshot & WithCreationTime(Aws::Utils::DateTime &&value)
Snapshot & WithLifecycleTransitionReason(const LifecycleTransitionReason &value)
bool AdministrativeActionsHasBeenSet() const
void SetResourceARN(const char *value)
bool SnapshotIdHasBeenSet() const
Snapshot & AddAdministrativeActions(const AdministrativeAction &value)
void SetName(const char *value)
void SetCreationTime(const Aws::Utils::DateTime &value)
Snapshot & WithName(Aws::String &&value)
Snapshot & WithSnapshotId(const char *value)
Snapshot & WithLifecycle(SnapshotLifecycle &&value)
Snapshot & WithCreationTime(const Aws::Utils::DateTime &value)
Snapshot & WithVolumeId(const Aws::String &value)
Snapshot & AddAdministrativeActions(AdministrativeAction &&value)
Snapshot & WithResourceARN(const Aws::String &value)
bool LifecycleHasBeenSet() const
Snapshot & WithVolumeId(Aws::String &&value)
bool VolumeIdHasBeenSet() const
void SetLifecycle(SnapshotLifecycle &&value)
void SetLifecycle(const SnapshotLifecycle &value)
Snapshot & WithName(const char *value)
Snapshot & WithLifecycle(const SnapshotLifecycle &value)
AWS_FSX_API Snapshot & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetResourceARN() const
const SnapshotLifecycle & GetLifecycle() const
Snapshot & WithAdministrativeActions(Aws::Vector< AdministrativeAction > &&value)
bool LifecycleTransitionReasonHasBeenSet() const
Snapshot & WithName(const Aws::String &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
bool CreationTimeHasBeenSet() const
Snapshot & WithTags(const Aws::Vector< Tag > &value)
Snapshot & WithTags(Aws::Vector< Tag > &&value)
bool ResourceARNHasBeenSet() const
const Aws::String & GetVolumeId() const
void SetLifecycleTransitionReason(const LifecycleTransitionReason &value)
Snapshot & WithVolumeId(const char *value)
void SetLifecycleTransitionReason(LifecycleTransitionReason &&value)
void SetName(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
void SetResourceARN(Aws::String &&value)
void SetAdministrativeActions(Aws::Vector< AdministrativeAction > &&value)
Snapshot & WithResourceARN(const char *value)
Snapshot & AddTags(const Tag &value)
bool NameHasBeenSet() const
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVolumeId(const char *value)
const Aws::String & GetSnapshotId() const
const Aws::Vector< Tag > & GetTags() 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