/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A document that defines an entity. See Also:
AWS
* API Reference
The language used to define the entity. GRAPHQL
is the only
* valid value.
The language used to define the entity. GRAPHQL
is the only
* valid value.
The language used to define the entity. GRAPHQL
is the only
* valid value.
The language used to define the entity. GRAPHQL
is the only
* valid value.
The language used to define the entity. GRAPHQL
is the only
* valid value.
The language used to define the entity. GRAPHQL
is the only
* valid value.
The GraphQL text that defines the entity.
*/ inline const Aws::String& GetText() const{ return m_text; } /** *The GraphQL text that defines the entity.
*/ inline bool TextHasBeenSet() const { return m_textHasBeenSet; } /** *The GraphQL text that defines the entity.
*/ inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; } /** *The GraphQL text that defines the entity.
*/ inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); } /** *The GraphQL text that defines the entity.
*/ inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); } /** *The GraphQL text that defines the entity.
*/ inline DefinitionDocument& WithText(const Aws::String& value) { SetText(value); return *this;} /** *The GraphQL text that defines the entity.
*/ inline DefinitionDocument& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;} /** *The GraphQL text that defines the entity.
*/ inline DefinitionDocument& WithText(const char* value) { SetText(value); return *this;} private: DefinitionLanguage m_language; bool m_languageHasBeenSet = false; Aws::String m_text; bool m_textHasBeenSet = false; }; } // namespace Model } // namespace IoTThingsGraph } // namespace Aws