119 lines
3.4 KiB
C
119 lines
3.4 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/schemas/Schemas_EXPORTS.h>
|
|||
|
|
#include <aws/core/utils/DateTime.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
class JsonView;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace Schemas
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
class AWS_SCHEMAS_API SearchSchemaVersionSummary
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
SearchSchemaVersionSummary();
|
|||
|
|
SearchSchemaVersionSummary(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
SearchSchemaVersionSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The date the schema version was created.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The date the schema version was created.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The date the schema version was created.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The date the schema version was created.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The date the schema version was created.</p>
|
|||
|
|
*/
|
|||
|
|
inline SearchSchemaVersionSummary& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The date the schema version was created.</p>
|
|||
|
|
*/
|
|||
|
|
inline SearchSchemaVersionSummary& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The version number of the schema</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetSchemaVersion() const{ return m_schemaVersion; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The version number of the schema</p>
|
|||
|
|
*/
|
|||
|
|
inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The version number of the schema</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetSchemaVersion(const Aws::String& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The version number of the schema</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetSchemaVersion(Aws::String&& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The version number of the schema</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetSchemaVersion(const char* value) { m_schemaVersionHasBeenSet = true; m_schemaVersion.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The version number of the schema</p>
|
|||
|
|
*/
|
|||
|
|
inline SearchSchemaVersionSummary& WithSchemaVersion(const Aws::String& value) { SetSchemaVersion(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The version number of the schema</p>
|
|||
|
|
*/
|
|||
|
|
inline SearchSchemaVersionSummary& WithSchemaVersion(Aws::String&& value) { SetSchemaVersion(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The version number of the schema</p>
|
|||
|
|
*/
|
|||
|
|
inline SearchSchemaVersionSummary& WithSchemaVersion(const char* value) { SetSchemaVersion(value); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::Utils::DateTime m_createdDate;
|
|||
|
|
bool m_createdDateHasBeenSet;
|
|||
|
|
|
|||
|
|
Aws::String m_schemaVersion;
|
|||
|
|
bool m_schemaVersionHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace Schemas
|
|||
|
|
} // namespace Aws
|