This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-lex-models/include/aws/lex-models/model/IntentMetadata.h

252 lines
7.6 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/DateTime.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace LexModelBuildingService
{
namespace Model
{
/**
* <p>Provides information about an intent.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/IntentMetadata">AWS
* API Reference</a></p>
*/
class AWS_LEXMODELBUILDINGSERVICE_API IntentMetadata
{
public:
IntentMetadata();
IntentMetadata(Aws::Utils::Json::JsonView jsonValue);
IntentMetadata& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the intent.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the intent.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the intent.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the intent.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the intent.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the intent.</p>
*/
inline IntentMetadata& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the intent.</p>
*/
inline IntentMetadata& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the intent.</p>
*/
inline IntentMetadata& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>A description of the intent.</p>
*/
inline const Aws::String& GetDescription() const{ return m_description; }
/**
* <p>A description of the intent.</p>
*/
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
/**
* <p>A description of the intent.</p>
*/
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
/**
* <p>A description of the intent.</p>
*/
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
/**
* <p>A description of the intent.</p>
*/
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
/**
* <p>A description of the intent.</p>
*/
inline IntentMetadata& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
/**
* <p>A description of the intent.</p>
*/
inline IntentMetadata& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
/**
* <p>A description of the intent.</p>
*/
inline IntentMetadata& WithDescription(const char* value) { SetDescription(value); return *this;}
/**
* <p>The date that the intent was updated. When you create an intent, the creation
* date and last updated date are the same.</p>
*/
inline const Aws::Utils::DateTime& GetLastUpdatedDate() const{ return m_lastUpdatedDate; }
/**
* <p>The date that the intent was updated. When you create an intent, the creation
* date and last updated date are the same.</p>
*/
inline bool LastUpdatedDateHasBeenSet() const { return m_lastUpdatedDateHasBeenSet; }
/**
* <p>The date that the intent was updated. When you create an intent, the creation
* date and last updated date are the same.</p>
*/
inline void SetLastUpdatedDate(const Aws::Utils::DateTime& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = value; }
/**
* <p>The date that the intent was updated. When you create an intent, the creation
* date and last updated date are the same.</p>
*/
inline void SetLastUpdatedDate(Aws::Utils::DateTime&& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = std::move(value); }
/**
* <p>The date that the intent was updated. When you create an intent, the creation
* date and last updated date are the same.</p>
*/
inline IntentMetadata& WithLastUpdatedDate(const Aws::Utils::DateTime& value) { SetLastUpdatedDate(value); return *this;}
/**
* <p>The date that the intent was updated. When you create an intent, the creation
* date and last updated date are the same.</p>
*/
inline IntentMetadata& WithLastUpdatedDate(Aws::Utils::DateTime&& value) { SetLastUpdatedDate(std::move(value)); return *this;}
/**
* <p>The date that the intent was created.</p>
*/
inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
/**
* <p>The date that the intent was created.</p>
*/
inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
/**
* <p>The date that the intent was created.</p>
*/
inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
/**
* <p>The date that the intent was created.</p>
*/
inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
/**
* <p>The date that the intent was created.</p>
*/
inline IntentMetadata& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
/**
* <p>The date that the intent was created.</p>
*/
inline IntentMetadata& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
/**
* <p>The version of the intent.</p>
*/
inline const Aws::String& GetVersion() const{ return m_version; }
/**
* <p>The version of the intent.</p>
*/
inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
/**
* <p>The version of the intent.</p>
*/
inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
/**
* <p>The version of the intent.</p>
*/
inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
/**
* <p>The version of the intent.</p>
*/
inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
/**
* <p>The version of the intent.</p>
*/
inline IntentMetadata& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
/**
* <p>The version of the intent.</p>
*/
inline IntentMetadata& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
/**
* <p>The version of the intent.</p>
*/
inline IntentMetadata& WithVersion(const char* value) { SetVersion(value); return *this;}
private:
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::String m_description;
bool m_descriptionHasBeenSet;
Aws::Utils::DateTime m_lastUpdatedDate;
bool m_lastUpdatedDateHasBeenSet;
Aws::Utils::DateTime m_createdDate;
bool m_createdDateHasBeenSet;
Aws::String m_version;
bool m_versionHasBeenSet;
};
} // namespace Model
} // namespace LexModelBuildingService
} // namespace Aws