7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/ReplaceRootVolumeTaskState.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/Tag.h>
54 inline void SetReplaceRootVolumeTaskId(
const char* value) { m_replaceRootVolumeTaskIdHasBeenSet =
true; m_replaceRootVolumeTaskId.assign(value); }
69 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
107 inline void SetStartTime(
const char* value) { m_startTimeHasBeenSet =
true; m_startTime.assign(value); }
121 inline void SetCompleteTime(
const char* value) { m_completeTimeHasBeenSet =
true; m_completeTime.assign(value); }
149 inline void SetImageId(
const char* value) { m_imageIdHasBeenSet =
true; m_imageId.assign(value); }
163 inline void SetSnapshotId(
const char* value) { m_snapshotIdHasBeenSet =
true; m_snapshotId.assign(value); }
182 bool m_replaceRootVolumeTaskIdHasBeenSet =
false;
185 bool m_instanceIdHasBeenSet =
false;
188 bool m_taskStateHasBeenSet =
false;
191 bool m_startTimeHasBeenSet =
false;
194 bool m_completeTimeHasBeenSet =
false;
197 bool m_tagsHasBeenSet =
false;
200 bool m_imageIdHasBeenSet =
false;
203 bool m_snapshotIdHasBeenSet =
false;
205 bool m_deleteReplacedRootVolume;
206 bool m_deleteReplacedRootVolumeHasBeenSet =
false;
ReplaceRootVolumeTask & WithReplaceRootVolumeTaskId(const Aws::String &value)
ReplaceRootVolumeTask & WithImageId(const char *value)
ReplaceRootVolumeTask & WithCompleteTime(const Aws::String &value)
ReplaceRootVolumeTask & WithInstanceId(const Aws::String &value)
bool DeleteReplacedRootVolumeHasBeenSet() const
ReplaceRootVolumeTask & WithSnapshotId(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetCompleteTime(const char *value)
void SetStartTime(Aws::String &&value)
AWS_EC2_API ReplaceRootVolumeTask & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ReplaceRootVolumeTask & WithReplaceRootVolumeTaskId(Aws::String &&value)
void SetStartTime(const Aws::String &value)
ReplaceRootVolumeTask & WithTaskState(ReplaceRootVolumeTaskState &&value)
ReplaceRootVolumeTask & WithInstanceId(const char *value)
void SetImageId(const Aws::String &value)
bool SnapshotIdHasBeenSet() const
void SetImageId(const char *value)
void SetReplaceRootVolumeTaskId(Aws::String &&value)
ReplaceRootVolumeTask & WithCompleteTime(Aws::String &&value)
void SetTaskState(ReplaceRootVolumeTaskState &&value)
bool TagsHasBeenSet() const
const Aws::String & GetInstanceId() const
void SetCompleteTime(Aws::String &&value)
ReplaceRootVolumeTask & WithCompleteTime(const char *value)
bool InstanceIdHasBeenSet() const
ReplaceRootVolumeTask & WithDeleteReplacedRootVolume(bool value)
ReplaceRootVolumeTask & WithStartTime(const Aws::String &value)
ReplaceRootVolumeTask & WithTags(const Aws::Vector< Tag > &value)
void SetInstanceId(Aws::String &&value)
ReplaceRootVolumeTask & WithImageId(Aws::String &&value)
void SetDeleteReplacedRootVolume(bool value)
void SetTaskState(const ReplaceRootVolumeTaskState &value)
ReplaceRootVolumeTask & WithStartTime(Aws::String &&value)
const Aws::String & GetReplaceRootVolumeTaskId() const
const Aws::String & GetStartTime() const
const Aws::String & GetSnapshotId() const
bool GetDeleteReplacedRootVolume() const
const ReplaceRootVolumeTaskState & GetTaskState() const
bool CompleteTimeHasBeenSet() const
void SetInstanceId(const Aws::String &value)
ReplaceRootVolumeTask & WithSnapshotId(Aws::String &&value)
void SetImageId(Aws::String &&value)
bool ReplaceRootVolumeTaskIdHasBeenSet() const
ReplaceRootVolumeTask & WithInstanceId(Aws::String &&value)
void SetSnapshotId(const char *value)
void SetStartTime(const char *value)
void SetReplaceRootVolumeTaskId(const Aws::String &value)
ReplaceRootVolumeTask & WithTags(Aws::Vector< Tag > &&value)
bool ImageIdHasBeenSet() const
void SetTags(const Aws::Vector< Tag > &value)
bool TaskStateHasBeenSet() const
void SetReplaceRootVolumeTaskId(const char *value)
void SetSnapshotId(Aws::String &&value)
ReplaceRootVolumeTask & WithSnapshotId(const Aws::String &value)
const Aws::String & GetImageId() const
void SetTags(Aws::Vector< Tag > &&value)
const Aws::String & GetCompleteTime() const
ReplaceRootVolumeTask & WithImageId(const Aws::String &value)
AWS_EC2_API ReplaceRootVolumeTask(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSnapshotId(const Aws::String &value)
ReplaceRootVolumeTask & AddTags(const Tag &value)
void SetInstanceId(const char *value)
const Aws::Vector< Tag > & GetTags() const
ReplaceRootVolumeTask & AddTags(Tag &&value)
ReplaceRootVolumeTask & WithReplaceRootVolumeTaskId(const char *value)
AWS_EC2_API ReplaceRootVolumeTask()
ReplaceRootVolumeTask & WithStartTime(const char *value)
void SetCompleteTime(const Aws::String &value)
ReplaceRootVolumeTask & WithTaskState(const ReplaceRootVolumeTaskState &value)
bool StartTimeHasBeenSet() const
ReplaceRootVolumeTaskState
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream