7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/model/LockState.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/ec2/model/ResponseMetadata.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
45 inline void SetSnapshotId(
const char* value) { m_snapshotId.assign(value); }
AWS_EC2_API LockSnapshotResponse()
LockSnapshotResponse & WithCoolOffPeriod(int value)
void SetCoolOffPeriodExpiresOn(Aws::Utils::DateTime &&value)
void SetLockExpiresOn(Aws::Utils::DateTime &&value)
LockSnapshotResponse & WithCoolOffPeriodExpiresOn(const Aws::Utils::DateTime &value)
LockSnapshotResponse & WithLockCreatedOn(Aws::Utils::DateTime &&value)
int GetCoolOffPeriod() const
const Aws::Utils::DateTime & GetLockDurationStartTime() const
void SetLockState(const LockState &value)
LockSnapshotResponse & WithSnapshotId(const char *value)
const Aws::Utils::DateTime & GetCoolOffPeriodExpiresOn() const
void SetResponseMetadata(const ResponseMetadata &value)
LockSnapshotResponse & WithLockDuration(int value)
void SetResponseMetadata(ResponseMetadata &&value)
LockSnapshotResponse & WithLockDurationStartTime(const Aws::Utils::DateTime &value)
void SetLockExpiresOn(const Aws::Utils::DateTime &value)
const ResponseMetadata & GetResponseMetadata() const
LockSnapshotResponse & WithLockCreatedOn(const Aws::Utils::DateTime &value)
void SetLockCreatedOn(const Aws::Utils::DateTime &value)
LockSnapshotResponse & WithLockState(const LockState &value)
LockSnapshotResponse & WithCoolOffPeriodExpiresOn(Aws::Utils::DateTime &&value)
LockSnapshotResponse & WithSnapshotId(Aws::String &&value)
AWS_EC2_API LockSnapshotResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetLockDuration(int value)
void SetSnapshotId(const Aws::String &value)
LockSnapshotResponse & WithLockDurationStartTime(Aws::Utils::DateTime &&value)
int GetLockDuration() const
LockSnapshotResponse & WithLockExpiresOn(Aws::Utils::DateTime &&value)
void SetCoolOffPeriodExpiresOn(const Aws::Utils::DateTime &value)
void SetCoolOffPeriod(int value)
LockSnapshotResponse & WithSnapshotId(const Aws::String &value)
LockSnapshotResponse & WithResponseMetadata(const ResponseMetadata &value)
void SetSnapshotId(const char *value)
const Aws::Utils::DateTime & GetLockExpiresOn() const
LockSnapshotResponse & WithResponseMetadata(ResponseMetadata &&value)
LockSnapshotResponse & WithLockState(LockState &&value)
const Aws::Utils::DateTime & GetLockCreatedOn() const
LockSnapshotResponse & WithLockExpiresOn(const Aws::Utils::DateTime &value)
AWS_EC2_API LockSnapshotResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetLockState(LockState &&value)
const LockState & GetLockState() const
void SetLockCreatedOn(Aws::Utils::DateTime &&value)
void SetLockDurationStartTime(Aws::Utils::DateTime &&value)
void SetSnapshotId(Aws::String &&value)
void SetLockDurationStartTime(const Aws::Utils::DateTime &value)
const Aws::String & GetSnapshotId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument