/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The relationship of the related resource to the main resource.See
* Also:
AWS
* API Reference
The resource type of the related resource.
*/ inline const ResourceType& GetResourceType() const{ return m_resourceType; } /** *The resource type of the related resource.
*/ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } /** *The resource type of the related resource.
*/ inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } /** *The resource type of the related resource.
*/ inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } /** *The resource type of the related resource.
*/ inline Relationship& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;} /** *The resource type of the related resource.
*/ inline Relationship& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;} /** *The ID of the related resource (for example, sg-xxxxxx
).
The ID of the related resource (for example, sg-xxxxxx
).
The ID of the related resource (for example, sg-xxxxxx
).
The ID of the related resource (for example, sg-xxxxxx
).
The ID of the related resource (for example, sg-xxxxxx
).
The ID of the related resource (for example, sg-xxxxxx
).
The ID of the related resource (for example, sg-xxxxxx
).
The ID of the related resource (for example, sg-xxxxxx
).
The custom name of the related resource, if available.
*/ inline const Aws::String& GetResourceName() const{ return m_resourceName; } /** *The custom name of the related resource, if available.
*/ inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; } /** *The custom name of the related resource, if available.
*/ inline void SetResourceName(const Aws::String& value) { m_resourceNameHasBeenSet = true; m_resourceName = value; } /** *The custom name of the related resource, if available.
*/ inline void SetResourceName(Aws::String&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::move(value); } /** *The custom name of the related resource, if available.
*/ inline void SetResourceName(const char* value) { m_resourceNameHasBeenSet = true; m_resourceName.assign(value); } /** *The custom name of the related resource, if available.
*/ inline Relationship& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;} /** *The custom name of the related resource, if available.
*/ inline Relationship& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;} /** *The custom name of the related resource, if available.
*/ inline Relationship& WithResourceName(const char* value) { SetResourceName(value); return *this;} /** *The type of relationship with the related resource.
*/ inline const Aws::String& GetRelationshipName() const{ return m_relationshipName; } /** *The type of relationship with the related resource.
*/ inline bool RelationshipNameHasBeenSet() const { return m_relationshipNameHasBeenSet; } /** *The type of relationship with the related resource.
*/ inline void SetRelationshipName(const Aws::String& value) { m_relationshipNameHasBeenSet = true; m_relationshipName = value; } /** *The type of relationship with the related resource.
*/ inline void SetRelationshipName(Aws::String&& value) { m_relationshipNameHasBeenSet = true; m_relationshipName = std::move(value); } /** *The type of relationship with the related resource.
*/ inline void SetRelationshipName(const char* value) { m_relationshipNameHasBeenSet = true; m_relationshipName.assign(value); } /** *The type of relationship with the related resource.
*/ inline Relationship& WithRelationshipName(const Aws::String& value) { SetRelationshipName(value); return *this;} /** *The type of relationship with the related resource.
*/ inline Relationship& WithRelationshipName(Aws::String&& value) { SetRelationshipName(std::move(value)); return *this;} /** *The type of relationship with the related resource.
*/ inline Relationship& WithRelationshipName(const char* value) { SetRelationshipName(value); return *this;} private: ResourceType m_resourceType; bool m_resourceTypeHasBeenSet = false; Aws::String m_resourceId; bool m_resourceIdHasBeenSet = false; Aws::String m_resourceName; bool m_resourceNameHasBeenSet = false; Aws::String m_relationshipName; bool m_relationshipNameHasBeenSet = false; }; } // namespace Model } // namespace ConfigService } // namespace Aws