/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The operations performed by AWS Systems Manager for SAP.See
* Also:
AWS
* API Reference
The ID of the operation.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The ID of the operation.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The ID of the operation.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The ID of the operation.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The ID of the operation.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The ID of the operation.
*/ inline Operation& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The ID of the operation.
*/ inline Operation& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The ID of the operation.
*/ inline Operation& WithId(const char* value) { SetId(value); return *this;} /** *The type of the operation.
*/ inline const Aws::String& GetType() const{ return m_type; } /** *The type of the operation.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of the operation.
*/ inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of the operation.
*/ inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of the operation.
*/ inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } /** *The type of the operation.
*/ inline Operation& WithType(const Aws::String& value) { SetType(value); return *this;} /** *The type of the operation.
*/ inline Operation& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} /** *The type of the operation.
*/ inline Operation& WithType(const char* value) { SetType(value); return *this;} /** *The status of the operation.
*/ inline const OperationStatus& GetStatus() const{ return m_status; } /** *The status of the operation.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the operation.
*/ inline void SetStatus(const OperationStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the operation.
*/ inline void SetStatus(OperationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the operation.
*/ inline Operation& WithStatus(const OperationStatus& value) { SetStatus(value); return *this;} /** *The status of the operation.
*/ inline Operation& WithStatus(OperationStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The status message of the operation.
*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *The status message of the operation.
*/ inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } /** *The status message of the operation.
*/ inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; } /** *The status message of the operation.
*/ inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); } /** *The status message of the operation.
*/ inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); } /** *The status message of the operation.
*/ inline Operation& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *The status message of the operation.
*/ inline Operation& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *The status message of the operation.
*/ inline Operation& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} /** *The properties of the operation.
*/ inline const Aws::MapThe properties of the operation.
*/ inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; } /** *The properties of the operation.
*/ inline void SetProperties(const Aws::MapThe properties of the operation.
*/ inline void SetProperties(Aws::MapThe properties of the operation.
*/ inline Operation& WithProperties(const Aws::MapThe properties of the operation.
*/ inline Operation& WithProperties(Aws::MapThe properties of the operation.
*/ inline Operation& AddProperties(const Aws::String& key, const Aws::String& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, value); return *this; } /** *The properties of the operation.
*/ inline Operation& AddProperties(Aws::String&& key, const Aws::String& value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), value); return *this; } /** *The properties of the operation.
*/ inline Operation& AddProperties(const Aws::String& key, Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, std::move(value)); return *this; } /** *The properties of the operation.
*/ inline Operation& AddProperties(Aws::String&& key, Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), std::move(value)); return *this; } /** *The properties of the operation.
*/ inline Operation& AddProperties(const char* key, Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, std::move(value)); return *this; } /** *The properties of the operation.
*/ inline Operation& AddProperties(Aws::String&& key, const char* value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), value); return *this; } /** *The properties of the operation.
*/ inline Operation& AddProperties(const char* key, const char* value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, value); return *this; } /** *The resource type of the operation.
*/ inline const Aws::String& GetResourceType() const{ return m_resourceType; } /** *The resource type of the operation.
*/ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } /** *The resource type of the operation.
*/ inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } /** *The resource type of the operation.
*/ inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } /** *The resource type of the operation.
*/ inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); } /** *The resource type of the operation.
*/ inline Operation& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;} /** *The resource type of the operation.
*/ inline Operation& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;} /** *The resource type of the operation.
*/ inline Operation& WithResourceType(const char* value) { SetResourceType(value); return *this;} /** *The resource ID of the operation.
*/ inline const Aws::String& GetResourceId() const{ return m_resourceId; } /** *The resource ID of the operation.
*/ inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } /** *The resource ID of the operation.
*/ inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; } /** *The resource ID of the operation.
*/ inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); } /** *The resource ID of the operation.
*/ inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); } /** *The resource ID of the operation.
*/ inline Operation& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} /** *The resource ID of the operation.
*/ inline Operation& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} /** *The resource ID of the operation.
*/ inline Operation& WithResourceId(const char* value) { SetResourceId(value); return *this;} /** *The Amazon Resource Name (ARN) of the operation.
*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** *The Amazon Resource Name (ARN) of the operation.
*/ inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the operation.
*/ inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } /** *The Amazon Resource Name (ARN) of the operation.
*/ inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the operation.
*/ inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } /** *The Amazon Resource Name (ARN) of the operation.
*/ inline Operation& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the operation.
*/ inline Operation& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the operation.
*/ inline Operation& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} /** *The start time of the operation.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *The start time of the operation.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *The start time of the operation.
*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *The start time of the operation.
*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *The start time of the operation.
*/ inline Operation& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *The start time of the operation.
*/ inline Operation& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *The end time of the operation.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *The end time of the operation.
*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *The end time of the operation.
*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *The end time of the operation.
*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *The end time of the operation.
*/ inline Operation& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *The end time of the operation.
*/ inline Operation& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *The time at which the operation was last updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; } /** *The time at which the operation was last updated.
*/ inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; } /** *The time at which the operation was last updated.
*/ inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; } /** *The time at which the operation was last updated.
*/ inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); } /** *The time at which the operation was last updated.
*/ inline Operation& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;} /** *The time at which the operation was last updated.
*/ inline Operation& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_type; bool m_typeHasBeenSet = false; OperationStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_statusMessage; bool m_statusMessageHasBeenSet = false; Aws::Map