/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents an API resource.See Also:
AWS
* API Reference
The resource's identifier.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The resource's identifier.
*/ inline void SetId(const Aws::String& value) { m_id = value; } /** *The resource's identifier.
*/ inline void SetId(Aws::String&& value) { m_id = std::move(value); } /** *The resource's identifier.
*/ inline void SetId(const char* value) { m_id.assign(value); } /** *The resource's identifier.
*/ inline CreateResourceResult& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The resource's identifier.
*/ inline CreateResourceResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The resource's identifier.
*/ inline CreateResourceResult& WithId(const char* value) { SetId(value); return *this;} /** *The parent resource's identifier.
*/ inline const Aws::String& GetParentId() const{ return m_parentId; } /** *The parent resource's identifier.
*/ inline void SetParentId(const Aws::String& value) { m_parentId = value; } /** *The parent resource's identifier.
*/ inline void SetParentId(Aws::String&& value) { m_parentId = std::move(value); } /** *The parent resource's identifier.
*/ inline void SetParentId(const char* value) { m_parentId.assign(value); } /** *The parent resource's identifier.
*/ inline CreateResourceResult& WithParentId(const Aws::String& value) { SetParentId(value); return *this;} /** *The parent resource's identifier.
*/ inline CreateResourceResult& WithParentId(Aws::String&& value) { SetParentId(std::move(value)); return *this;} /** *The parent resource's identifier.
*/ inline CreateResourceResult& WithParentId(const char* value) { SetParentId(value); return *this;} /** *The last path segment for this resource.
*/ inline const Aws::String& GetPathPart() const{ return m_pathPart; } /** *The last path segment for this resource.
*/ inline void SetPathPart(const Aws::String& value) { m_pathPart = value; } /** *The last path segment for this resource.
*/ inline void SetPathPart(Aws::String&& value) { m_pathPart = std::move(value); } /** *The last path segment for this resource.
*/ inline void SetPathPart(const char* value) { m_pathPart.assign(value); } /** *The last path segment for this resource.
*/ inline CreateResourceResult& WithPathPart(const Aws::String& value) { SetPathPart(value); return *this;} /** *The last path segment for this resource.
*/ inline CreateResourceResult& WithPathPart(Aws::String&& value) { SetPathPart(std::move(value)); return *this;} /** *The last path segment for this resource.
*/ inline CreateResourceResult& WithPathPart(const char* value) { SetPathPart(value); return *this;} /** *The full path for this resource.
*/ inline const Aws::String& GetPath() const{ return m_path; } /** *The full path for this resource.
*/ inline void SetPath(const Aws::String& value) { m_path = value; } /** *The full path for this resource.
*/ inline void SetPath(Aws::String&& value) { m_path = std::move(value); } /** *The full path for this resource.
*/ inline void SetPath(const char* value) { m_path.assign(value); } /** *The full path for this resource.
*/ inline CreateResourceResult& WithPath(const Aws::String& value) { SetPath(value); return *this;} /** *The full path for this resource.
*/ inline CreateResourceResult& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;} /** *The full path for this resource.
*/ inline CreateResourceResult& WithPath(const char* value) { SetPath(value); return *this;} /** *Gets an API resource's method of a given HTTP verb.
*/ inline const Aws::MapGets an API resource's method of a given HTTP verb.
*/ inline void SetResourceMethods(const Aws::MapGets an API resource's method of a given HTTP verb.
*/ inline void SetResourceMethods(Aws::MapGets an API resource's method of a given HTTP verb.
*/ inline CreateResourceResult& WithResourceMethods(const Aws::MapGets an API resource's method of a given HTTP verb.
*/ inline CreateResourceResult& WithResourceMethods(Aws::MapGets an API resource's method of a given HTTP verb.
*/ inline CreateResourceResult& AddResourceMethods(const Aws::String& key, const Method& value) { m_resourceMethods.emplace(key, value); return *this; } /** *Gets an API resource's method of a given HTTP verb.
*/ inline CreateResourceResult& AddResourceMethods(Aws::String&& key, const Method& value) { m_resourceMethods.emplace(std::move(key), value); return *this; } /** *Gets an API resource's method of a given HTTP verb.
*/ inline CreateResourceResult& AddResourceMethods(const Aws::String& key, Method&& value) { m_resourceMethods.emplace(key, std::move(value)); return *this; } /** *Gets an API resource's method of a given HTTP verb.
*/ inline CreateResourceResult& AddResourceMethods(Aws::String&& key, Method&& value) { m_resourceMethods.emplace(std::move(key), std::move(value)); return *this; } /** *Gets an API resource's method of a given HTTP verb.
*/ inline CreateResourceResult& AddResourceMethods(const char* key, Method&& value) { m_resourceMethods.emplace(key, std::move(value)); return *this; } /** *Gets an API resource's method of a given HTTP verb.
*/ inline CreateResourceResult& AddResourceMethods(const char* key, const Method& value) { m_resourceMethods.emplace(key, value); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateResourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateResourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateResourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_id; Aws::String m_parentId; Aws::String m_pathPart; Aws::String m_path; Aws::Map