370 lines
13 KiB
C++
370 lines
13 KiB
C++
/**
|
|
* 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 <aws/iot1click-projects/model/PlacementTemplate.h>
|
|
#include <aws/core/utils/memory/stl/AWSMap.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 detailed information for a particular project associated
|
|
* with an AWS account and region.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14/ProjectDescription">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_IOT1CLICKPROJECTS_API ProjectDescription
|
|
{
|
|
public:
|
|
ProjectDescription();
|
|
ProjectDescription(Aws::Utils::Json::JsonView jsonValue);
|
|
ProjectDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>The ARN of the project.</p>
|
|
*/
|
|
inline const Aws::String& GetArn() const{ return m_arn; }
|
|
|
|
/**
|
|
* <p>The ARN of the project.</p>
|
|
*/
|
|
inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The ARN of the project.</p>
|
|
*/
|
|
inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
|
|
|
|
/**
|
|
* <p>The ARN of the project.</p>
|
|
*/
|
|
inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
|
|
|
|
/**
|
|
* <p>The ARN of the project.</p>
|
|
*/
|
|
inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
|
|
|
|
/**
|
|
* <p>The ARN of the project.</p>
|
|
*/
|
|
inline ProjectDescription& WithArn(const Aws::String& value) { SetArn(value); return *this;}
|
|
|
|
/**
|
|
* <p>The ARN of the project.</p>
|
|
*/
|
|
inline ProjectDescription& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The ARN of the project.</p>
|
|
*/
|
|
inline ProjectDescription& WithArn(const char* value) { SetArn(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The name of the project for which to obtain information from.</p>
|
|
*/
|
|
inline const Aws::String& GetProjectName() const{ return m_projectName; }
|
|
|
|
/**
|
|
* <p>The name of the project for which to obtain information from.</p>
|
|
*/
|
|
inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The name of the project for which to obtain information from.</p>
|
|
*/
|
|
inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
|
|
|
|
/**
|
|
* <p>The name of the project for which to obtain information from.</p>
|
|
*/
|
|
inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
|
|
|
|
/**
|
|
* <p>The name of the project for which to obtain information from.</p>
|
|
*/
|
|
inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
|
|
|
|
/**
|
|
* <p>The name of the project for which to obtain information from.</p>
|
|
*/
|
|
inline ProjectDescription& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the project for which to obtain information from.</p>
|
|
*/
|
|
inline ProjectDescription& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the project for which to obtain information from.</p>
|
|
*/
|
|
inline ProjectDescription& WithProjectName(const char* value) { SetProjectName(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The description of the project.</p>
|
|
*/
|
|
inline const Aws::String& GetDescription() const{ return m_description; }
|
|
|
|
/**
|
|
* <p>The description of the project.</p>
|
|
*/
|
|
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The description of the project.</p>
|
|
*/
|
|
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
|
|
|
|
/**
|
|
* <p>The description of the project.</p>
|
|
*/
|
|
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
|
|
|
|
/**
|
|
* <p>The description of the project.</p>
|
|
*/
|
|
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
|
|
|
|
/**
|
|
* <p>The description of the project.</p>
|
|
*/
|
|
inline ProjectDescription& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
|
|
|
|
/**
|
|
* <p>The description of the project.</p>
|
|
*/
|
|
inline ProjectDescription& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The description of the project.</p>
|
|
*/
|
|
inline ProjectDescription& WithDescription(const char* value) { SetDescription(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The date when the project was originally created, in UNIX epoch time
|
|
* format.</p>
|
|
*/
|
|
inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
|
|
|
|
/**
|
|
* <p>The date when the project was originally created, in UNIX epoch time
|
|
* format.</p>
|
|
*/
|
|
inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The date when the project 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 project 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 project was originally created, in UNIX epoch time
|
|
* format.</p>
|
|
*/
|
|
inline ProjectDescription& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
|
|
|
|
/**
|
|
* <p>The date when the project was originally created, in UNIX epoch time
|
|
* format.</p>
|
|
*/
|
|
inline ProjectDescription& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The date when the project was last updated, in UNIX epoch time format. If the
|
|
* project 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 project was last updated, in UNIX epoch time format. If the
|
|
* project 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 project was last updated, in UNIX epoch time format. If the
|
|
* project 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 project was last updated, in UNIX epoch time format. If the
|
|
* project 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 project was last updated, in UNIX epoch time format. If the
|
|
* project was not updated, then <code>createdDate</code> and
|
|
* <code>updatedDate</code> are the same.</p>
|
|
*/
|
|
inline ProjectDescription& WithUpdatedDate(const Aws::Utils::DateTime& value) { SetUpdatedDate(value); return *this;}
|
|
|
|
/**
|
|
* <p>The date when the project was last updated, in UNIX epoch time format. If the
|
|
* project was not updated, then <code>createdDate</code> and
|
|
* <code>updatedDate</code> are the same.</p>
|
|
*/
|
|
inline ProjectDescription& WithUpdatedDate(Aws::Utils::DateTime&& value) { SetUpdatedDate(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>An object describing the project's placement specifications.</p>
|
|
*/
|
|
inline const PlacementTemplate& GetPlacementTemplate() const{ return m_placementTemplate; }
|
|
|
|
/**
|
|
* <p>An object describing the project's placement specifications.</p>
|
|
*/
|
|
inline bool PlacementTemplateHasBeenSet() const { return m_placementTemplateHasBeenSet; }
|
|
|
|
/**
|
|
* <p>An object describing the project's placement specifications.</p>
|
|
*/
|
|
inline void SetPlacementTemplate(const PlacementTemplate& value) { m_placementTemplateHasBeenSet = true; m_placementTemplate = value; }
|
|
|
|
/**
|
|
* <p>An object describing the project's placement specifications.</p>
|
|
*/
|
|
inline void SetPlacementTemplate(PlacementTemplate&& value) { m_placementTemplateHasBeenSet = true; m_placementTemplate = std::move(value); }
|
|
|
|
/**
|
|
* <p>An object describing the project's placement specifications.</p>
|
|
*/
|
|
inline ProjectDescription& WithPlacementTemplate(const PlacementTemplate& value) { SetPlacementTemplate(value); return *this;}
|
|
|
|
/**
|
|
* <p>An object describing the project's placement specifications.</p>
|
|
*/
|
|
inline ProjectDescription& WithPlacementTemplate(PlacementTemplate&& value) { SetPlacementTemplate(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The tags (metadata key/value pairs) associated with the project.</p>
|
|
*/
|
|
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
|
|
|
|
/**
|
|
* <p>The tags (metadata key/value pairs) associated with the project.</p>
|
|
*/
|
|
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The tags (metadata key/value pairs) associated with the project.</p>
|
|
*/
|
|
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
|
|
|
|
/**
|
|
* <p>The tags (metadata key/value pairs) associated with the project.</p>
|
|
*/
|
|
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
|
|
|
|
/**
|
|
* <p>The tags (metadata key/value pairs) associated with the project.</p>
|
|
*/
|
|
inline ProjectDescription& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
|
|
|
|
/**
|
|
* <p>The tags (metadata key/value pairs) associated with the project.</p>
|
|
*/
|
|
inline ProjectDescription& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The tags (metadata key/value pairs) associated with the project.</p>
|
|
*/
|
|
inline ProjectDescription& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
|
|
|
|
/**
|
|
* <p>The tags (metadata key/value pairs) associated with the project.</p>
|
|
*/
|
|
inline ProjectDescription& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
|
|
|
|
/**
|
|
* <p>The tags (metadata key/value pairs) associated with the project.</p>
|
|
*/
|
|
inline ProjectDescription& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
|
|
|
|
/**
|
|
* <p>The tags (metadata key/value pairs) associated with the project.</p>
|
|
*/
|
|
inline ProjectDescription& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
|
|
|
|
/**
|
|
* <p>The tags (metadata key/value pairs) associated with the project.</p>
|
|
*/
|
|
inline ProjectDescription& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
|
|
|
|
/**
|
|
* <p>The tags (metadata key/value pairs) associated with the project.</p>
|
|
*/
|
|
inline ProjectDescription& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
|
|
|
|
/**
|
|
* <p>The tags (metadata key/value pairs) associated with the project.</p>
|
|
*/
|
|
inline ProjectDescription& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
|
|
|
|
private:
|
|
|
|
Aws::String m_arn;
|
|
bool m_arnHasBeenSet;
|
|
|
|
Aws::String m_projectName;
|
|
bool m_projectNameHasBeenSet;
|
|
|
|
Aws::String m_description;
|
|
bool m_descriptionHasBeenSet;
|
|
|
|
Aws::Utils::DateTime m_createdDate;
|
|
bool m_createdDateHasBeenSet;
|
|
|
|
Aws::Utils::DateTime m_updatedDate;
|
|
bool m_updatedDateHasBeenSet;
|
|
|
|
PlacementTemplate m_placementTemplate;
|
|
bool m_placementTemplateHasBeenSet;
|
|
|
|
Aws::Map<Aws::String, Aws::String> m_tags;
|
|
bool m_tagsHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace IoT1ClickProjects
|
|
} // namespace Aws
|