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

Summary of a profile.

See Also:

AWS * API Reference

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

The profile ARN.

*/ inline const Aws::String& GetProfileArn() const{ return m_profileArn; } /** *

The profile ARN.

*/ inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; } /** *

The profile ARN.

*/ inline void SetProfileArn(const Aws::String& value) { m_profileArnHasBeenSet = true; m_profileArn = value; } /** *

The profile ARN.

*/ inline void SetProfileArn(Aws::String&& value) { m_profileArnHasBeenSet = true; m_profileArn = std::move(value); } /** *

The profile ARN.

*/ inline void SetProfileArn(const char* value) { m_profileArnHasBeenSet = true; m_profileArn.assign(value); } /** *

The profile ARN.

*/ inline ProfileSummary& WithProfileArn(const Aws::String& value) { SetProfileArn(value); return *this;} /** *

The profile ARN.

*/ inline ProfileSummary& WithProfileArn(Aws::String&& value) { SetProfileArn(std::move(value)); return *this;} /** *

The profile ARN.

*/ inline ProfileSummary& WithProfileArn(const char* value) { SetProfileArn(value); return *this;} /** *

The profile version.

*/ inline const Aws::String& GetProfileVersion() const{ return m_profileVersion; } /** *

The profile version.

*/ inline bool ProfileVersionHasBeenSet() const { return m_profileVersionHasBeenSet; } /** *

The profile version.

*/ inline void SetProfileVersion(const Aws::String& value) { m_profileVersionHasBeenSet = true; m_profileVersion = value; } /** *

The profile version.

*/ inline void SetProfileVersion(Aws::String&& value) { m_profileVersionHasBeenSet = true; m_profileVersion = std::move(value); } /** *

The profile version.

*/ inline void SetProfileVersion(const char* value) { m_profileVersionHasBeenSet = true; m_profileVersion.assign(value); } /** *

The profile version.

*/ inline ProfileSummary& WithProfileVersion(const Aws::String& value) { SetProfileVersion(value); return *this;} /** *

The profile version.

*/ inline ProfileSummary& WithProfileVersion(Aws::String&& value) { SetProfileVersion(std::move(value)); return *this;} /** *

The profile version.

*/ inline ProfileSummary& WithProfileVersion(const char* value) { SetProfileVersion(value); return *this;} /** *

The profile name.

*/ inline const Aws::String& GetProfileName() const{ return m_profileName; } /** *

The profile name.

*/ inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; } /** *

The profile name.

*/ inline void SetProfileName(const Aws::String& value) { m_profileNameHasBeenSet = true; m_profileName = value; } /** *

The profile name.

*/ inline void SetProfileName(Aws::String&& value) { m_profileNameHasBeenSet = true; m_profileName = std::move(value); } /** *

The profile name.

*/ inline void SetProfileName(const char* value) { m_profileNameHasBeenSet = true; m_profileName.assign(value); } /** *

The profile name.

*/ inline ProfileSummary& WithProfileName(const Aws::String& value) { SetProfileName(value); return *this;} /** *

The profile name.

*/ inline ProfileSummary& WithProfileName(Aws::String&& value) { SetProfileName(std::move(value)); return *this;} /** *

The profile name.

*/ inline ProfileSummary& WithProfileName(const char* value) { SetProfileName(value); return *this;} /** *

The profile description.

*/ inline const Aws::String& GetProfileDescription() const{ return m_profileDescription; } /** *

The profile description.

*/ inline bool ProfileDescriptionHasBeenSet() const { return m_profileDescriptionHasBeenSet; } /** *

The profile description.

*/ inline void SetProfileDescription(const Aws::String& value) { m_profileDescriptionHasBeenSet = true; m_profileDescription = value; } /** *

The profile description.

*/ inline void SetProfileDescription(Aws::String&& value) { m_profileDescriptionHasBeenSet = true; m_profileDescription = std::move(value); } /** *

The profile description.

*/ inline void SetProfileDescription(const char* value) { m_profileDescriptionHasBeenSet = true; m_profileDescription.assign(value); } /** *

The profile description.

*/ inline ProfileSummary& WithProfileDescription(const Aws::String& value) { SetProfileDescription(value); return *this;} /** *

The profile description.

*/ inline ProfileSummary& WithProfileDescription(Aws::String&& value) { SetProfileDescription(std::move(value)); return *this;} /** *

The profile description.

*/ inline ProfileSummary& WithProfileDescription(const char* value) { SetProfileDescription(value); return *this;} inline const Aws::String& GetOwner() const{ return m_owner; } inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; } inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); } inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); } inline ProfileSummary& WithOwner(const Aws::String& value) { SetOwner(value); return *this;} inline ProfileSummary& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;} inline ProfileSummary& WithOwner(const char* value) { SetOwner(value); return *this;} inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } inline ProfileSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} inline ProfileSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } inline ProfileSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} inline ProfileSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} private: Aws::String m_profileArn; bool m_profileArnHasBeenSet = false; Aws::String m_profileVersion; bool m_profileVersionHasBeenSet = false; Aws::String m_profileName; bool m_profileNameHasBeenSet = false; Aws::String m_profileDescription; bool m_profileDescriptionHasBeenSet = false; Aws::String m_owner; bool m_ownerHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::Utils::DateTime m_updatedAt; bool m_updatedAtHasBeenSet = false; }; } // namespace Model } // namespace WellArchitected } // namespace Aws