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

Describes a Verified Access group.

See Also:

AWS * API Reference

*/ class VerifiedAccessGroup { public: AWS_EC2_API VerifiedAccessGroup(); AWS_EC2_API VerifiedAccessGroup(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_EC2_API VerifiedAccessGroup& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

The ID of the Verified Access group.

*/ inline const Aws::String& GetVerifiedAccessGroupId() const{ return m_verifiedAccessGroupId; } /** *

The ID of the Verified Access group.

*/ inline bool VerifiedAccessGroupIdHasBeenSet() const { return m_verifiedAccessGroupIdHasBeenSet; } /** *

The ID of the Verified Access group.

*/ inline void SetVerifiedAccessGroupId(const Aws::String& value) { m_verifiedAccessGroupIdHasBeenSet = true; m_verifiedAccessGroupId = value; } /** *

The ID of the Verified Access group.

*/ inline void SetVerifiedAccessGroupId(Aws::String&& value) { m_verifiedAccessGroupIdHasBeenSet = true; m_verifiedAccessGroupId = std::move(value); } /** *

The ID of the Verified Access group.

*/ inline void SetVerifiedAccessGroupId(const char* value) { m_verifiedAccessGroupIdHasBeenSet = true; m_verifiedAccessGroupId.assign(value); } /** *

The ID of the Verified Access group.

*/ inline VerifiedAccessGroup& WithVerifiedAccessGroupId(const Aws::String& value) { SetVerifiedAccessGroupId(value); return *this;} /** *

The ID of the Verified Access group.

*/ inline VerifiedAccessGroup& WithVerifiedAccessGroupId(Aws::String&& value) { SetVerifiedAccessGroupId(std::move(value)); return *this;} /** *

The ID of the Verified Access group.

*/ inline VerifiedAccessGroup& WithVerifiedAccessGroupId(const char* value) { SetVerifiedAccessGroupId(value); return *this;} /** *

The ID of the Amazon Web Services Verified Access instance.

*/ inline const Aws::String& GetVerifiedAccessInstanceId() const{ return m_verifiedAccessInstanceId; } /** *

The ID of the Amazon Web Services Verified Access instance.

*/ inline bool VerifiedAccessInstanceIdHasBeenSet() const { return m_verifiedAccessInstanceIdHasBeenSet; } /** *

The ID of the Amazon Web Services Verified Access instance.

*/ inline void SetVerifiedAccessInstanceId(const Aws::String& value) { m_verifiedAccessInstanceIdHasBeenSet = true; m_verifiedAccessInstanceId = value; } /** *

The ID of the Amazon Web Services Verified Access instance.

*/ inline void SetVerifiedAccessInstanceId(Aws::String&& value) { m_verifiedAccessInstanceIdHasBeenSet = true; m_verifiedAccessInstanceId = std::move(value); } /** *

The ID of the Amazon Web Services Verified Access instance.

*/ inline void SetVerifiedAccessInstanceId(const char* value) { m_verifiedAccessInstanceIdHasBeenSet = true; m_verifiedAccessInstanceId.assign(value); } /** *

The ID of the Amazon Web Services Verified Access instance.

*/ inline VerifiedAccessGroup& WithVerifiedAccessInstanceId(const Aws::String& value) { SetVerifiedAccessInstanceId(value); return *this;} /** *

The ID of the Amazon Web Services Verified Access instance.

*/ inline VerifiedAccessGroup& WithVerifiedAccessInstanceId(Aws::String&& value) { SetVerifiedAccessInstanceId(std::move(value)); return *this;} /** *

The ID of the Amazon Web Services Verified Access instance.

*/ inline VerifiedAccessGroup& WithVerifiedAccessInstanceId(const char* value) { SetVerifiedAccessInstanceId(value); return *this;} /** *

A description for the Amazon Web Services Verified Access group.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A description for the Amazon Web Services Verified Access group.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A description for the Amazon Web Services Verified Access group.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A description for the Amazon Web Services Verified Access group.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A description for the Amazon Web Services Verified Access group.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

A description for the Amazon Web Services Verified Access group.

*/ inline VerifiedAccessGroup& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A description for the Amazon Web Services Verified Access group.

*/ inline VerifiedAccessGroup& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A description for the Amazon Web Services Verified Access group.

*/ inline VerifiedAccessGroup& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The Amazon Web Services account number that owns the group.

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

The Amazon Web Services account number that owns the group.

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

The Amazon Web Services account number that owns the group.

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

The Amazon Web Services account number that owns the group.

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

The Amazon Web Services account number that owns the group.

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

The Amazon Web Services account number that owns the group.

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

The Amazon Web Services account number that owns the group.

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

The Amazon Web Services account number that owns the group.

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

The ARN of the Verified Access group.

*/ inline const Aws::String& GetVerifiedAccessGroupArn() const{ return m_verifiedAccessGroupArn; } /** *

The ARN of the Verified Access group.

*/ inline bool VerifiedAccessGroupArnHasBeenSet() const { return m_verifiedAccessGroupArnHasBeenSet; } /** *

The ARN of the Verified Access group.

*/ inline void SetVerifiedAccessGroupArn(const Aws::String& value) { m_verifiedAccessGroupArnHasBeenSet = true; m_verifiedAccessGroupArn = value; } /** *

The ARN of the Verified Access group.

*/ inline void SetVerifiedAccessGroupArn(Aws::String&& value) { m_verifiedAccessGroupArnHasBeenSet = true; m_verifiedAccessGroupArn = std::move(value); } /** *

The ARN of the Verified Access group.

*/ inline void SetVerifiedAccessGroupArn(const char* value) { m_verifiedAccessGroupArnHasBeenSet = true; m_verifiedAccessGroupArn.assign(value); } /** *

The ARN of the Verified Access group.

*/ inline VerifiedAccessGroup& WithVerifiedAccessGroupArn(const Aws::String& value) { SetVerifiedAccessGroupArn(value); return *this;} /** *

The ARN of the Verified Access group.

*/ inline VerifiedAccessGroup& WithVerifiedAccessGroupArn(Aws::String&& value) { SetVerifiedAccessGroupArn(std::move(value)); return *this;} /** *

The ARN of the Verified Access group.

*/ inline VerifiedAccessGroup& WithVerifiedAccessGroupArn(const char* value) { SetVerifiedAccessGroupArn(value); return *this;} /** *

The creation time.

*/ inline const Aws::String& GetCreationTime() const{ return m_creationTime; } /** *

The creation time.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

The creation time.

*/ inline void SetCreationTime(const Aws::String& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *

The creation time.

*/ inline void SetCreationTime(Aws::String&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *

The creation time.

*/ inline void SetCreationTime(const char* value) { m_creationTimeHasBeenSet = true; m_creationTime.assign(value); } /** *

The creation time.

*/ inline VerifiedAccessGroup& WithCreationTime(const Aws::String& value) { SetCreationTime(value); return *this;} /** *

The creation time.

*/ inline VerifiedAccessGroup& WithCreationTime(Aws::String&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The creation time.

*/ inline VerifiedAccessGroup& WithCreationTime(const char* value) { SetCreationTime(value); return *this;} /** *

The last updated time.

*/ inline const Aws::String& GetLastUpdatedTime() const{ return m_lastUpdatedTime; } /** *

The last updated time.

*/ inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; } /** *

The last updated time.

*/ inline void SetLastUpdatedTime(const Aws::String& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; } /** *

The last updated time.

*/ inline void SetLastUpdatedTime(Aws::String&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); } /** *

The last updated time.

*/ inline void SetLastUpdatedTime(const char* value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime.assign(value); } /** *

The last updated time.

*/ inline VerifiedAccessGroup& WithLastUpdatedTime(const Aws::String& value) { SetLastUpdatedTime(value); return *this;} /** *

The last updated time.

*/ inline VerifiedAccessGroup& WithLastUpdatedTime(Aws::String&& value) { SetLastUpdatedTime(std::move(value)); return *this;} /** *

The last updated time.

*/ inline VerifiedAccessGroup& WithLastUpdatedTime(const char* value) { SetLastUpdatedTime(value); return *this;} /** *

The deletion time.

*/ inline const Aws::String& GetDeletionTime() const{ return m_deletionTime; } /** *

The deletion time.

*/ inline bool DeletionTimeHasBeenSet() const { return m_deletionTimeHasBeenSet; } /** *

The deletion time.

*/ inline void SetDeletionTime(const Aws::String& value) { m_deletionTimeHasBeenSet = true; m_deletionTime = value; } /** *

The deletion time.

*/ inline void SetDeletionTime(Aws::String&& value) { m_deletionTimeHasBeenSet = true; m_deletionTime = std::move(value); } /** *

The deletion time.

*/ inline void SetDeletionTime(const char* value) { m_deletionTimeHasBeenSet = true; m_deletionTime.assign(value); } /** *

The deletion time.

*/ inline VerifiedAccessGroup& WithDeletionTime(const Aws::String& value) { SetDeletionTime(value); return *this;} /** *

The deletion time.

*/ inline VerifiedAccessGroup& WithDeletionTime(Aws::String&& value) { SetDeletionTime(std::move(value)); return *this;} /** *

The deletion time.

*/ inline VerifiedAccessGroup& WithDeletionTime(const char* value) { SetDeletionTime(value); return *this;} /** *

The tags.

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

The tags.

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

The tags.

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

The tags.

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

The tags.

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

The tags.

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

The tags.

*/ inline VerifiedAccessGroup& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

The tags.

*/ inline VerifiedAccessGroup& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_verifiedAccessGroupId; bool m_verifiedAccessGroupIdHasBeenSet = false; Aws::String m_verifiedAccessInstanceId; bool m_verifiedAccessInstanceIdHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_owner; bool m_ownerHasBeenSet = false; Aws::String m_verifiedAccessGroupArn; bool m_verifiedAccessGroupArnHasBeenSet = false; Aws::String m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::String m_lastUpdatedTime; bool m_lastUpdatedTimeHasBeenSet = false; Aws::String m_deletionTime; bool m_deletionTimeHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws