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

The automatically generated ID for a cluster.

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

The automatically generated ID for a cluster.

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

The automatically generated ID for a cluster.

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

The automatically generated ID for a cluster.

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

The automatically generated ID for a cluster.

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

The automatically generated ID for a cluster.

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

The automatically generated ID for a cluster.

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

List of jobs created for this cluster. For syntax, see ListJobsResult$JobListEntries * in this guide.

*/ inline const Aws::Vector& GetJobListEntries() const{ return m_jobListEntries; } /** *

List of jobs created for this cluster. For syntax, see ListJobsResult$JobListEntries * in this guide.

*/ inline void SetJobListEntries(const Aws::Vector& value) { m_jobListEntries = value; } /** *

List of jobs created for this cluster. For syntax, see ListJobsResult$JobListEntries * in this guide.

*/ inline void SetJobListEntries(Aws::Vector&& value) { m_jobListEntries = std::move(value); } /** *

List of jobs created for this cluster. For syntax, see ListJobsResult$JobListEntries * in this guide.

*/ inline CreateClusterResult& WithJobListEntries(const Aws::Vector& value) { SetJobListEntries(value); return *this;} /** *

List of jobs created for this cluster. For syntax, see ListJobsResult$JobListEntries * in this guide.

*/ inline CreateClusterResult& WithJobListEntries(Aws::Vector&& value) { SetJobListEntries(std::move(value)); return *this;} /** *

List of jobs created for this cluster. For syntax, see ListJobsResult$JobListEntries * in this guide.

*/ inline CreateClusterResult& AddJobListEntries(const JobListEntry& value) { m_jobListEntries.push_back(value); return *this; } /** *

List of jobs created for this cluster. For syntax, see ListJobsResult$JobListEntries * in this guide.

*/ inline CreateClusterResult& AddJobListEntries(JobListEntry&& value) { m_jobListEntries.push_back(std::move(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 CreateClusterResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateClusterResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateClusterResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_clusterId; Aws::Vector m_jobListEntries; Aws::String m_requestId; }; } // namespace Model } // namespace Snowball } // namespace Aws