/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace EMR { namespace Model { class AddInstanceFleetResult { public: AWS_EMR_API AddInstanceFleetResult(); AWS_EMR_API AddInstanceFleetResult(const Aws::AmazonWebServiceResult& result); AWS_EMR_API AddInstanceFleetResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The unique identifier of the cluster.

*/ inline const Aws::String& GetClusterId() const{ return m_clusterId; } /** *

The unique identifier of the cluster.

*/ inline void SetClusterId(const Aws::String& value) { m_clusterId = value; } /** *

The unique identifier of the cluster.

*/ inline void SetClusterId(Aws::String&& value) { m_clusterId = std::move(value); } /** *

The unique identifier of the cluster.

*/ inline void SetClusterId(const char* value) { m_clusterId.assign(value); } /** *

The unique identifier of the cluster.

*/ inline AddInstanceFleetResult& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;} /** *

The unique identifier of the cluster.

*/ inline AddInstanceFleetResult& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;} /** *

The unique identifier of the cluster.

*/ inline AddInstanceFleetResult& WithClusterId(const char* value) { SetClusterId(value); return *this;} /** *

The unique identifier of the instance fleet.

*/ inline const Aws::String& GetInstanceFleetId() const{ return m_instanceFleetId; } /** *

The unique identifier of the instance fleet.

*/ inline void SetInstanceFleetId(const Aws::String& value) { m_instanceFleetId = value; } /** *

The unique identifier of the instance fleet.

*/ inline void SetInstanceFleetId(Aws::String&& value) { m_instanceFleetId = std::move(value); } /** *

The unique identifier of the instance fleet.

*/ inline void SetInstanceFleetId(const char* value) { m_instanceFleetId.assign(value); } /** *

The unique identifier of the instance fleet.

*/ inline AddInstanceFleetResult& WithInstanceFleetId(const Aws::String& value) { SetInstanceFleetId(value); return *this;} /** *

The unique identifier of the instance fleet.

*/ inline AddInstanceFleetResult& WithInstanceFleetId(Aws::String&& value) { SetInstanceFleetId(std::move(value)); return *this;} /** *

The unique identifier of the instance fleet.

*/ inline AddInstanceFleetResult& WithInstanceFleetId(const char* value) { SetInstanceFleetId(value); return *this;} /** *

The Amazon Resource Name of the cluster.

*/ inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } /** *

The Amazon Resource Name of the cluster.

*/ inline void SetClusterArn(const Aws::String& value) { m_clusterArn = value; } /** *

The Amazon Resource Name of the cluster.

*/ inline void SetClusterArn(Aws::String&& value) { m_clusterArn = std::move(value); } /** *

The Amazon Resource Name of the cluster.

*/ inline void SetClusterArn(const char* value) { m_clusterArn.assign(value); } /** *

The Amazon Resource Name of the cluster.

*/ inline AddInstanceFleetResult& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** *

The Amazon Resource Name of the cluster.

*/ inline AddInstanceFleetResult& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} /** *

The Amazon Resource Name of the cluster.

*/ inline AddInstanceFleetResult& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline AddInstanceFleetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline AddInstanceFleetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline AddInstanceFleetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_clusterId; Aws::String m_instanceFleetId; Aws::String m_clusterArn; Aws::String m_requestId; }; } // namespace Model } // namespace EMR } // namespace Aws