/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace tnb { namespace Model { /** *

Information parameters for a network operation.

See Also:

AWS * API Reference

*/ class ListSolNetworkOperationsInfo { public: AWS_TNB_API ListSolNetworkOperationsInfo(); AWS_TNB_API ListSolNetworkOperationsInfo(Aws::Utils::Json::JsonView jsonValue); AWS_TNB_API ListSolNetworkOperationsInfo& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_TNB_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Network operation ARN.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

Network operation ARN.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

Network operation ARN.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

Network operation ARN.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

Network operation ARN.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

Network operation ARN.

*/ inline ListSolNetworkOperationsInfo& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

Network operation ARN.

*/ inline ListSolNetworkOperationsInfo& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

Network operation ARN.

*/ inline ListSolNetworkOperationsInfo& WithArn(const char* value) { SetArn(value); return *this;} /** *

Error related to this specific network operation.

*/ inline const ProblemDetails& GetError() const{ return m_error; } /** *

Error related to this specific network operation.

*/ inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; } /** *

Error related to this specific network operation.

*/ inline void SetError(const ProblemDetails& value) { m_errorHasBeenSet = true; m_error = value; } /** *

Error related to this specific network operation.

*/ inline void SetError(ProblemDetails&& value) { m_errorHasBeenSet = true; m_error = std::move(value); } /** *

Error related to this specific network operation.

*/ inline ListSolNetworkOperationsInfo& WithError(const ProblemDetails& value) { SetError(value); return *this;} /** *

Error related to this specific network operation.

*/ inline ListSolNetworkOperationsInfo& WithError(ProblemDetails&& value) { SetError(std::move(value)); return *this;} /** *

ID of this network operation.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

ID of this network operation.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

ID of this network operation.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

ID of this network operation.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

ID of this network operation.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

ID of this network operation.

*/ inline ListSolNetworkOperationsInfo& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

ID of this network operation.

*/ inline ListSolNetworkOperationsInfo& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

ID of this network operation.

*/ inline ListSolNetworkOperationsInfo& WithId(const char* value) { SetId(value); return *this;} /** *

Type of lifecycle management network operation.

*/ inline const LcmOperationType& GetLcmOperationType() const{ return m_lcmOperationType; } /** *

Type of lifecycle management network operation.

*/ inline bool LcmOperationTypeHasBeenSet() const { return m_lcmOperationTypeHasBeenSet; } /** *

Type of lifecycle management network operation.

*/ inline void SetLcmOperationType(const LcmOperationType& value) { m_lcmOperationTypeHasBeenSet = true; m_lcmOperationType = value; } /** *

Type of lifecycle management network operation.

*/ inline void SetLcmOperationType(LcmOperationType&& value) { m_lcmOperationTypeHasBeenSet = true; m_lcmOperationType = std::move(value); } /** *

Type of lifecycle management network operation.

*/ inline ListSolNetworkOperationsInfo& WithLcmOperationType(const LcmOperationType& value) { SetLcmOperationType(value); return *this;} /** *

Type of lifecycle management network operation.

*/ inline ListSolNetworkOperationsInfo& WithLcmOperationType(LcmOperationType&& value) { SetLcmOperationType(std::move(value)); return *this;} /** *

Metadata related to this network operation.

*/ inline const ListSolNetworkOperationsMetadata& GetMetadata() const{ return m_metadata; } /** *

Metadata related to this network operation.

*/ inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; } /** *

Metadata related to this network operation.

*/ inline void SetMetadata(const ListSolNetworkOperationsMetadata& value) { m_metadataHasBeenSet = true; m_metadata = value; } /** *

Metadata related to this network operation.

*/ inline void SetMetadata(ListSolNetworkOperationsMetadata&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); } /** *

Metadata related to this network operation.

*/ inline ListSolNetworkOperationsInfo& WithMetadata(const ListSolNetworkOperationsMetadata& value) { SetMetadata(value); return *this;} /** *

Metadata related to this network operation.

*/ inline ListSolNetworkOperationsInfo& WithMetadata(ListSolNetworkOperationsMetadata&& value) { SetMetadata(std::move(value)); return *this;} /** *

ID of the network instance related to this operation.

*/ inline const Aws::String& GetNsInstanceId() const{ return m_nsInstanceId; } /** *

ID of the network instance related to this operation.

*/ inline bool NsInstanceIdHasBeenSet() const { return m_nsInstanceIdHasBeenSet; } /** *

ID of the network instance related to this operation.

*/ inline void SetNsInstanceId(const Aws::String& value) { m_nsInstanceIdHasBeenSet = true; m_nsInstanceId = value; } /** *

ID of the network instance related to this operation.

*/ inline void SetNsInstanceId(Aws::String&& value) { m_nsInstanceIdHasBeenSet = true; m_nsInstanceId = std::move(value); } /** *

ID of the network instance related to this operation.

*/ inline void SetNsInstanceId(const char* value) { m_nsInstanceIdHasBeenSet = true; m_nsInstanceId.assign(value); } /** *

ID of the network instance related to this operation.

*/ inline ListSolNetworkOperationsInfo& WithNsInstanceId(const Aws::String& value) { SetNsInstanceId(value); return *this;} /** *

ID of the network instance related to this operation.

*/ inline ListSolNetworkOperationsInfo& WithNsInstanceId(Aws::String&& value) { SetNsInstanceId(std::move(value)); return *this;} /** *

ID of the network instance related to this operation.

*/ inline ListSolNetworkOperationsInfo& WithNsInstanceId(const char* value) { SetNsInstanceId(value); return *this;} /** *

The state of the network operation.

*/ inline const NsLcmOperationState& GetOperationState() const{ return m_operationState; } /** *

The state of the network operation.

*/ inline bool OperationStateHasBeenSet() const { return m_operationStateHasBeenSet; } /** *

The state of the network operation.

*/ inline void SetOperationState(const NsLcmOperationState& value) { m_operationStateHasBeenSet = true; m_operationState = value; } /** *

The state of the network operation.

*/ inline void SetOperationState(NsLcmOperationState&& value) { m_operationStateHasBeenSet = true; m_operationState = std::move(value); } /** *

The state of the network operation.

*/ inline ListSolNetworkOperationsInfo& WithOperationState(const NsLcmOperationState& value) { SetOperationState(value); return *this;} /** *

The state of the network operation.

*/ inline ListSolNetworkOperationsInfo& WithOperationState(NsLcmOperationState&& value) { SetOperationState(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; ProblemDetails m_error; bool m_errorHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; LcmOperationType m_lcmOperationType; bool m_lcmOperationTypeHasBeenSet = false; ListSolNetworkOperationsMetadata m_metadata; bool m_metadataHasBeenSet = false; Aws::String m_nsInstanceId; bool m_nsInstanceIdHasBeenSet = false; NsLcmOperationState m_operationState; bool m_operationStateHasBeenSet = false; }; } // namespace Model } // namespace tnb } // namespace Aws