/** * 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 { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace WellArchitected { namespace Model { /** *

A milestone summary return object.

See Also:

AWS * API Reference

*/ class MilestoneSummary { public: AWS_WELLARCHITECTED_API MilestoneSummary(); AWS_WELLARCHITECTED_API MilestoneSummary(Aws::Utils::Json::JsonView jsonValue); AWS_WELLARCHITECTED_API MilestoneSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const; inline int GetMilestoneNumber() const{ return m_milestoneNumber; } inline bool MilestoneNumberHasBeenSet() const { return m_milestoneNumberHasBeenSet; } inline void SetMilestoneNumber(int value) { m_milestoneNumberHasBeenSet = true; m_milestoneNumber = value; } inline MilestoneSummary& WithMilestoneNumber(int value) { SetMilestoneNumber(value); return *this;} inline const Aws::String& GetMilestoneName() const{ return m_milestoneName; } inline bool MilestoneNameHasBeenSet() const { return m_milestoneNameHasBeenSet; } inline void SetMilestoneName(const Aws::String& value) { m_milestoneNameHasBeenSet = true; m_milestoneName = value; } inline void SetMilestoneName(Aws::String&& value) { m_milestoneNameHasBeenSet = true; m_milestoneName = std::move(value); } inline void SetMilestoneName(const char* value) { m_milestoneNameHasBeenSet = true; m_milestoneName.assign(value); } inline MilestoneSummary& WithMilestoneName(const Aws::String& value) { SetMilestoneName(value); return *this;} inline MilestoneSummary& WithMilestoneName(Aws::String&& value) { SetMilestoneName(std::move(value)); return *this;} inline MilestoneSummary& WithMilestoneName(const char* value) { SetMilestoneName(value); return *this;} inline const Aws::Utils::DateTime& GetRecordedAt() const{ return m_recordedAt; } inline bool RecordedAtHasBeenSet() const { return m_recordedAtHasBeenSet; } inline void SetRecordedAt(const Aws::Utils::DateTime& value) { m_recordedAtHasBeenSet = true; m_recordedAt = value; } inline void SetRecordedAt(Aws::Utils::DateTime&& value) { m_recordedAtHasBeenSet = true; m_recordedAt = std::move(value); } inline MilestoneSummary& WithRecordedAt(const Aws::Utils::DateTime& value) { SetRecordedAt(value); return *this;} inline MilestoneSummary& WithRecordedAt(Aws::Utils::DateTime&& value) { SetRecordedAt(std::move(value)); return *this;} inline const WorkloadSummary& GetWorkloadSummary() const{ return m_workloadSummary; } inline bool WorkloadSummaryHasBeenSet() const { return m_workloadSummaryHasBeenSet; } inline void SetWorkloadSummary(const WorkloadSummary& value) { m_workloadSummaryHasBeenSet = true; m_workloadSummary = value; } inline void SetWorkloadSummary(WorkloadSummary&& value) { m_workloadSummaryHasBeenSet = true; m_workloadSummary = std::move(value); } inline MilestoneSummary& WithWorkloadSummary(const WorkloadSummary& value) { SetWorkloadSummary(value); return *this;} inline MilestoneSummary& WithWorkloadSummary(WorkloadSummary&& value) { SetWorkloadSummary(std::move(value)); return *this;} private: int m_milestoneNumber; bool m_milestoneNumberHasBeenSet = false; Aws::String m_milestoneName; bool m_milestoneNameHasBeenSet = false; Aws::Utils::DateTime m_recordedAt; bool m_recordedAtHasBeenSet = false; WorkloadSummary m_workloadSummary; bool m_workloadSummaryHasBeenSet = false; }; } // namespace Model } // namespace WellArchitected } // namespace Aws