/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a volume status operation code.See Also:
AWS
* API Reference
The code identifying the operation, for example,
* enable-volume-io
.
The code identifying the operation, for example,
* enable-volume-io
.
The code identifying the operation, for example,
* enable-volume-io
.
The code identifying the operation, for example,
* enable-volume-io
.
The code identifying the operation, for example,
* enable-volume-io
.
The code identifying the operation, for example,
* enable-volume-io
.
The code identifying the operation, for example,
* enable-volume-io
.
The code identifying the operation, for example,
* enable-volume-io
.
A description of the operation.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description of the operation.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description of the operation.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description of the operation.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description of the operation.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description of the operation.
*/ inline VolumeStatusAction& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description of the operation.
*/ inline VolumeStatusAction& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description of the operation.
*/ inline VolumeStatusAction& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The ID of the event associated with this operation.
*/ inline const Aws::String& GetEventId() const{ return m_eventId; } /** *The ID of the event associated with this operation.
*/ inline bool EventIdHasBeenSet() const { return m_eventIdHasBeenSet; } /** *The ID of the event associated with this operation.
*/ inline void SetEventId(const Aws::String& value) { m_eventIdHasBeenSet = true; m_eventId = value; } /** *The ID of the event associated with this operation.
*/ inline void SetEventId(Aws::String&& value) { m_eventIdHasBeenSet = true; m_eventId = std::move(value); } /** *The ID of the event associated with this operation.
*/ inline void SetEventId(const char* value) { m_eventIdHasBeenSet = true; m_eventId.assign(value); } /** *The ID of the event associated with this operation.
*/ inline VolumeStatusAction& WithEventId(const Aws::String& value) { SetEventId(value); return *this;} /** *The ID of the event associated with this operation.
*/ inline VolumeStatusAction& WithEventId(Aws::String&& value) { SetEventId(std::move(value)); return *this;} /** *The ID of the event associated with this operation.
*/ inline VolumeStatusAction& WithEventId(const char* value) { SetEventId(value); return *this;} /** *The event type associated with this operation.
*/ inline const Aws::String& GetEventType() const{ return m_eventType; } /** *The event type associated with this operation.
*/ inline bool EventTypeHasBeenSet() const { return m_eventTypeHasBeenSet; } /** *The event type associated with this operation.
*/ inline void SetEventType(const Aws::String& value) { m_eventTypeHasBeenSet = true; m_eventType = value; } /** *The event type associated with this operation.
*/ inline void SetEventType(Aws::String&& value) { m_eventTypeHasBeenSet = true; m_eventType = std::move(value); } /** *The event type associated with this operation.
*/ inline void SetEventType(const char* value) { m_eventTypeHasBeenSet = true; m_eventType.assign(value); } /** *The event type associated with this operation.
*/ inline VolumeStatusAction& WithEventType(const Aws::String& value) { SetEventType(value); return *this;} /** *The event type associated with this operation.
*/ inline VolumeStatusAction& WithEventType(Aws::String&& value) { SetEventType(std::move(value)); return *this;} /** *The event type associated with this operation.
*/ inline VolumeStatusAction& WithEventType(const char* value) { SetEventType(value); return *this;} private: Aws::String m_code; bool m_codeHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_eventId; bool m_eventIdHasBeenSet = false; Aws::String m_eventType; bool m_eventTypeHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws