/** * 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 { /** *

A lens return object.

See Also:

AWS * API Reference

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

The ARN of a lens.

*/ inline const Aws::String& GetLensArn() const{ return m_lensArn; } /** *

The ARN of a lens.

*/ inline bool LensArnHasBeenSet() const { return m_lensArnHasBeenSet; } /** *

The ARN of a lens.

*/ inline void SetLensArn(const Aws::String& value) { m_lensArnHasBeenSet = true; m_lensArn = value; } /** *

The ARN of a lens.

*/ inline void SetLensArn(Aws::String&& value) { m_lensArnHasBeenSet = true; m_lensArn = std::move(value); } /** *

The ARN of a lens.

*/ inline void SetLensArn(const char* value) { m_lensArnHasBeenSet = true; m_lensArn.assign(value); } /** *

The ARN of a lens.

*/ inline Lens& WithLensArn(const Aws::String& value) { SetLensArn(value); return *this;} /** *

The ARN of a lens.

*/ inline Lens& WithLensArn(Aws::String&& value) { SetLensArn(std::move(value)); return *this;} /** *

The ARN of a lens.

*/ inline Lens& WithLensArn(const char* value) { SetLensArn(value); return *this;} /** *

The version of a lens.

*/ inline const Aws::String& GetLensVersion() const{ return m_lensVersion; } /** *

The version of a lens.

*/ inline bool LensVersionHasBeenSet() const { return m_lensVersionHasBeenSet; } /** *

The version of a lens.

*/ inline void SetLensVersion(const Aws::String& value) { m_lensVersionHasBeenSet = true; m_lensVersion = value; } /** *

The version of a lens.

*/ inline void SetLensVersion(Aws::String&& value) { m_lensVersionHasBeenSet = true; m_lensVersion = std::move(value); } /** *

The version of a lens.

*/ inline void SetLensVersion(const char* value) { m_lensVersionHasBeenSet = true; m_lensVersion.assign(value); } /** *

The version of a lens.

*/ inline Lens& WithLensVersion(const Aws::String& value) { SetLensVersion(value); return *this;} /** *

The version of a lens.

*/ inline Lens& WithLensVersion(Aws::String&& value) { SetLensVersion(std::move(value)); return *this;} /** *

The version of a lens.

*/ inline Lens& WithLensVersion(const char* value) { SetLensVersion(value); return *this;} inline const Aws::String& GetName() const{ return m_name; } inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } inline Lens& WithName(const Aws::String& value) { SetName(value); return *this;} inline Lens& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} inline Lens& WithName(const char* value) { SetName(value); return *this;} inline const Aws::String& GetDescription() const{ return m_description; } inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } inline Lens& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} inline Lens& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} inline Lens& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The Amazon Web Services account ID that owns the lens.

*/ inline const Aws::String& GetOwner() const{ return m_owner; } /** *

The Amazon Web Services account ID that owns the lens.

*/ inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } /** *

The Amazon Web Services account ID that owns the lens.

*/ inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; } /** *

The Amazon Web Services account ID that owns the lens.

*/ inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); } /** *

The Amazon Web Services account ID that owns the lens.

*/ inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); } /** *

The Amazon Web Services account ID that owns the lens.

*/ inline Lens& WithOwner(const Aws::String& value) { SetOwner(value); return *this;} /** *

The Amazon Web Services account ID that owns the lens.

*/ inline Lens& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;} /** *

The Amazon Web Services account ID that owns the lens.

*/ inline Lens& WithOwner(const char* value) { SetOwner(value); return *this;} /** *

The ID assigned to the share invitation.

*/ inline const Aws::String& GetShareInvitationId() const{ return m_shareInvitationId; } /** *

The ID assigned to the share invitation.

*/ inline bool ShareInvitationIdHasBeenSet() const { return m_shareInvitationIdHasBeenSet; } /** *

The ID assigned to the share invitation.

*/ inline void SetShareInvitationId(const Aws::String& value) { m_shareInvitationIdHasBeenSet = true; m_shareInvitationId = value; } /** *

The ID assigned to the share invitation.

*/ inline void SetShareInvitationId(Aws::String&& value) { m_shareInvitationIdHasBeenSet = true; m_shareInvitationId = std::move(value); } /** *

The ID assigned to the share invitation.

*/ inline void SetShareInvitationId(const char* value) { m_shareInvitationIdHasBeenSet = true; m_shareInvitationId.assign(value); } /** *

The ID assigned to the share invitation.

*/ inline Lens& WithShareInvitationId(const Aws::String& value) { SetShareInvitationId(value); return *this;} /** *

The ID assigned to the share invitation.

*/ inline Lens& WithShareInvitationId(Aws::String&& value) { SetShareInvitationId(std::move(value)); return *this;} /** *

The ID assigned to the share invitation.

*/ inline Lens& WithShareInvitationId(const char* value) { SetShareInvitationId(value); return *this;} /** *

The tags assigned to the lens.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

The tags assigned to the lens.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

The tags assigned to the lens.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

The tags assigned to the lens.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

The tags assigned to the lens.

*/ inline Lens& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The tags assigned to the lens.

*/ inline Lens& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

The tags assigned to the lens.

*/ inline Lens& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

The tags assigned to the lens.

*/ inline Lens& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The tags assigned to the lens.

*/ inline Lens& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags assigned to the lens.

*/ inline Lens& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

The tags assigned to the lens.

*/ inline Lens& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags assigned to the lens.

*/ inline Lens& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The tags assigned to the lens.

*/ inline Lens& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_lensArn; bool m_lensArnHasBeenSet = false; Aws::String m_lensVersion; bool m_lensVersionHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_owner; bool m_ownerHasBeenSet = false; Aws::String m_shareInvitationId; bool m_shareInvitationIdHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace WellArchitected } // namespace Aws