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

221 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/iot1click-projects/IoT1ClickProjects_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 IoT1ClickProjects
{
namespace Model
{
/**
* <p>An object providing summary information for a particular
* placement.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14/PlacementSummary">AWS
* API Reference</a></p>
*/
class AWS_IOT1CLICKPROJECTS_API PlacementSummary
{
public:
PlacementSummary();
PlacementSummary(Aws::Utils::Json::JsonView jsonValue);
PlacementSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the project containing the placement.</p>
*/
inline const Aws::String& GetProjectName() const{ return m_projectName; }
/**
* <p>The name of the project containing the placement.</p>
*/
inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
/**
* <p>The name of the project containing the placement.</p>
*/
inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
/**
* <p>The name of the project containing the placement.</p>
*/
inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
/**
* <p>The name of the project containing the placement.</p>
*/
inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
/**
* <p>The name of the project containing the placement.</p>
*/
inline PlacementSummary& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
/**
* <p>The name of the project containing the placement.</p>
*/
inline PlacementSummary& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
/**
* <p>The name of the project containing the placement.</p>
*/
inline PlacementSummary& WithProjectName(const char* value) { SetProjectName(value); return *this;}
/**
* <p>The name of the placement being summarized.</p>
*/
inline const Aws::String& GetPlacementName() const{ return m_placementName; }
/**
* <p>The name of the placement being summarized.</p>
*/
inline bool PlacementNameHasBeenSet() const { return m_placementNameHasBeenSet; }
/**
* <p>The name of the placement being summarized.</p>
*/
inline void SetPlacementName(const Aws::String& value) { m_placementNameHasBeenSet = true; m_placementName = value; }
/**
* <p>The name of the placement being summarized.</p>
*/
inline void SetPlacementName(Aws::String&& value) { m_placementNameHasBeenSet = true; m_placementName = std::move(value); }
/**
* <p>The name of the placement being summarized.</p>
*/
inline void SetPlacementName(const char* value) { m_placementNameHasBeenSet = true; m_placementName.assign(value); }
/**
* <p>The name of the placement being summarized.</p>
*/
inline PlacementSummary& WithPlacementName(const Aws::String& value) { SetPlacementName(value); return *this;}
/**
* <p>The name of the placement being summarized.</p>
*/
inline PlacementSummary& WithPlacementName(Aws::String&& value) { SetPlacementName(std::move(value)); return *this;}
/**
* <p>The name of the placement being summarized.</p>
*/
inline PlacementSummary& WithPlacementName(const char* value) { SetPlacementName(value); return *this;}
/**
* <p>The date when the placement was originally created, in UNIX epoch time
* format.</p>
*/
inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
/**
* <p>The date when the placement was originally created, in UNIX epoch time
* format.</p>
*/
inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
/**
* <p>The date when the placement was originally created, in UNIX epoch time
* format.</p>
*/
inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
/**
* <p>The date when the placement was originally created, in UNIX epoch time
* format.</p>
*/
inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
/**
* <p>The date when the placement was originally created, in UNIX epoch time
* format.</p>
*/
inline PlacementSummary& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
/**
* <p>The date when the placement was originally created, in UNIX epoch time
* format.</p>
*/
inline PlacementSummary& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
/**
* <p>The date when the placement was last updated, in UNIX epoch time format. If
* the placement was not updated, then <code>createdDate</code> and
* <code>updatedDate</code> are the same.</p>
*/
inline const Aws::Utils::DateTime& GetUpdatedDate() const{ return m_updatedDate; }
/**
* <p>The date when the placement was last updated, in UNIX epoch time format. If
* the placement was not updated, then <code>createdDate</code> and
* <code>updatedDate</code> are the same.</p>
*/
inline bool UpdatedDateHasBeenSet() const { return m_updatedDateHasBeenSet; }
/**
* <p>The date when the placement was last updated, in UNIX epoch time format. If
* the placement was not updated, then <code>createdDate</code> and
* <code>updatedDate</code> are the same.</p>
*/
inline void SetUpdatedDate(const Aws::Utils::DateTime& value) { m_updatedDateHasBeenSet = true; m_updatedDate = value; }
/**
* <p>The date when the placement was last updated, in UNIX epoch time format. If
* the placement was not updated, then <code>createdDate</code> and
* <code>updatedDate</code> are the same.</p>
*/
inline void SetUpdatedDate(Aws::Utils::DateTime&& value) { m_updatedDateHasBeenSet = true; m_updatedDate = std::move(value); }
/**
* <p>The date when the placement was last updated, in UNIX epoch time format. If
* the placement was not updated, then <code>createdDate</code> and
* <code>updatedDate</code> are the same.</p>
*/
inline PlacementSummary& WithUpdatedDate(const Aws::Utils::DateTime& value) { SetUpdatedDate(value); return *this;}
/**
* <p>The date when the placement was last updated, in UNIX epoch time format. If
* the placement was not updated, then <code>createdDate</code> and
* <code>updatedDate</code> are the same.</p>
*/
inline PlacementSummary& WithUpdatedDate(Aws::Utils::DateTime&& value) { SetUpdatedDate(std::move(value)); return *this;}
private:
Aws::String m_projectName;
bool m_projectNameHasBeenSet;
Aws::String m_placementName;
bool m_placementNameHasBeenSet;
Aws::Utils::DateTime m_createdDate;
bool m_createdDateHasBeenSet;
Aws::Utils::DateTime m_updatedDate;
bool m_updatedDateHasBeenSet;
};
} // namespace Model
} // namespace IoT1ClickProjects
} // namespace Aws