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

Reference information about the content.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the content.

*/ inline const Aws::String& GetContentArn() const{ return m_contentArn; } /** *

The Amazon Resource Name (ARN) of the content.

*/ inline bool ContentArnHasBeenSet() const { return m_contentArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the content.

*/ inline void SetContentArn(const Aws::String& value) { m_contentArnHasBeenSet = true; m_contentArn = value; } /** *

The Amazon Resource Name (ARN) of the content.

*/ inline void SetContentArn(Aws::String&& value) { m_contentArnHasBeenSet = true; m_contentArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the content.

*/ inline void SetContentArn(const char* value) { m_contentArnHasBeenSet = true; m_contentArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the content.

*/ inline ContentReference& WithContentArn(const Aws::String& value) { SetContentArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the content.

*/ inline ContentReference& WithContentArn(Aws::String&& value) { SetContentArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the content.

*/ inline ContentReference& WithContentArn(const char* value) { SetContentArn(value); return *this;} /** *

The identifier of the content.

*/ inline const Aws::String& GetContentId() const{ return m_contentId; } /** *

The identifier of the content.

*/ inline bool ContentIdHasBeenSet() const { return m_contentIdHasBeenSet; } /** *

The identifier of the content.

*/ inline void SetContentId(const Aws::String& value) { m_contentIdHasBeenSet = true; m_contentId = value; } /** *

The identifier of the content.

*/ inline void SetContentId(Aws::String&& value) { m_contentIdHasBeenSet = true; m_contentId = std::move(value); } /** *

The identifier of the content.

*/ inline void SetContentId(const char* value) { m_contentIdHasBeenSet = true; m_contentId.assign(value); } /** *

The identifier of the content.

*/ inline ContentReference& WithContentId(const Aws::String& value) { SetContentId(value); return *this;} /** *

The identifier of the content.

*/ inline ContentReference& WithContentId(Aws::String&& value) { SetContentId(std::move(value)); return *this;} /** *

The identifier of the content.

*/ inline ContentReference& WithContentId(const char* value) { SetContentId(value); return *this;} /** *

The Amazon Resource Name (ARN) of the knowledge base.

*/ inline const Aws::String& GetKnowledgeBaseArn() const{ return m_knowledgeBaseArn; } /** *

The Amazon Resource Name (ARN) of the knowledge base.

*/ inline bool KnowledgeBaseArnHasBeenSet() const { return m_knowledgeBaseArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the knowledge base.

*/ inline void SetKnowledgeBaseArn(const Aws::String& value) { m_knowledgeBaseArnHasBeenSet = true; m_knowledgeBaseArn = value; } /** *

The Amazon Resource Name (ARN) of the knowledge base.

*/ inline void SetKnowledgeBaseArn(Aws::String&& value) { m_knowledgeBaseArnHasBeenSet = true; m_knowledgeBaseArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the knowledge base.

*/ inline void SetKnowledgeBaseArn(const char* value) { m_knowledgeBaseArnHasBeenSet = true; m_knowledgeBaseArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the knowledge base.

*/ inline ContentReference& WithKnowledgeBaseArn(const Aws::String& value) { SetKnowledgeBaseArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the knowledge base.

*/ inline ContentReference& WithKnowledgeBaseArn(Aws::String&& value) { SetKnowledgeBaseArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the knowledge base.

*/ inline ContentReference& WithKnowledgeBaseArn(const char* value) { SetKnowledgeBaseArn(value); return *this;} /** *

The identifier of the knowledge base.

*/ inline const Aws::String& GetKnowledgeBaseId() const{ return m_knowledgeBaseId; } /** *

The identifier of the knowledge base.

*/ inline bool KnowledgeBaseIdHasBeenSet() const { return m_knowledgeBaseIdHasBeenSet; } /** *

The identifier of the knowledge base.

*/ inline void SetKnowledgeBaseId(const Aws::String& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = value; } /** *

The identifier of the knowledge base.

*/ inline void SetKnowledgeBaseId(Aws::String&& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = std::move(value); } /** *

The identifier of the knowledge base.

*/ inline void SetKnowledgeBaseId(const char* value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId.assign(value); } /** *

The identifier of the knowledge base.

*/ inline ContentReference& WithKnowledgeBaseId(const Aws::String& value) { SetKnowledgeBaseId(value); return *this;} /** *

The identifier of the knowledge base.

*/ inline ContentReference& WithKnowledgeBaseId(Aws::String&& value) { SetKnowledgeBaseId(std::move(value)); return *this;} /** *

The identifier of the knowledge base.

*/ inline ContentReference& WithKnowledgeBaseId(const char* value) { SetKnowledgeBaseId(value); return *this;} private: Aws::String m_contentArn; bool m_contentArnHasBeenSet = false; Aws::String m_contentId; bool m_contentIdHasBeenSet = false; Aws::String m_knowledgeBaseArn; bool m_knowledgeBaseArnHasBeenSet = false; Aws::String m_knowledgeBaseId; bool m_knowledgeBaseIdHasBeenSet = false; }; } // namespace Model } // namespace ConnectWisdomService } // namespace Aws