AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PlacementSummary.h
1
6#pragma once
7#include <aws/iot1click-projects/IoT1ClickProjects_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoT1ClickProjects
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOT1CLICKPROJECTS_API PlacementSummary();
37 AWS_IOT1CLICKPROJECTS_API PlacementSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOT1CLICKPROJECTS_API PlacementSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOT1CLICKPROJECTS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetProjectName() const{ return m_projectName; }
47 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
48 inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
49 inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
50 inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
51 inline PlacementSummary& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
52 inline PlacementSummary& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
53 inline PlacementSummary& WithProjectName(const char* value) { SetProjectName(value); return *this;}
55
57
60 inline const Aws::String& GetPlacementName() const{ return m_placementName; }
61 inline bool PlacementNameHasBeenSet() const { return m_placementNameHasBeenSet; }
62 inline void SetPlacementName(const Aws::String& value) { m_placementNameHasBeenSet = true; m_placementName = value; }
63 inline void SetPlacementName(Aws::String&& value) { m_placementNameHasBeenSet = true; m_placementName = std::move(value); }
64 inline void SetPlacementName(const char* value) { m_placementNameHasBeenSet = true; m_placementName.assign(value); }
65 inline PlacementSummary& WithPlacementName(const Aws::String& value) { SetPlacementName(value); return *this;}
66 inline PlacementSummary& WithPlacementName(Aws::String&& value) { SetPlacementName(std::move(value)); return *this;}
67 inline PlacementSummary& WithPlacementName(const char* value) { SetPlacementName(value); return *this;}
69
71
75 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
76 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
77 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
78 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
79 inline PlacementSummary& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
80 inline PlacementSummary& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
82
84
89 inline const Aws::Utils::DateTime& GetUpdatedDate() const{ return m_updatedDate; }
90 inline bool UpdatedDateHasBeenSet() const { return m_updatedDateHasBeenSet; }
91 inline void SetUpdatedDate(const Aws::Utils::DateTime& value) { m_updatedDateHasBeenSet = true; m_updatedDate = value; }
92 inline void SetUpdatedDate(Aws::Utils::DateTime&& value) { m_updatedDateHasBeenSet = true; m_updatedDate = std::move(value); }
93 inline PlacementSummary& WithUpdatedDate(const Aws::Utils::DateTime& value) { SetUpdatedDate(value); return *this;}
94 inline PlacementSummary& WithUpdatedDate(Aws::Utils::DateTime&& value) { SetUpdatedDate(std::move(value)); return *this;}
96 private:
97
98 Aws::String m_projectName;
99 bool m_projectNameHasBeenSet = false;
100
101 Aws::String m_placementName;
102 bool m_placementNameHasBeenSet = false;
103
104 Aws::Utils::DateTime m_createdDate;
105 bool m_createdDateHasBeenSet = false;
106
107 Aws::Utils::DateTime m_updatedDate;
108 bool m_updatedDateHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace IoT1ClickProjects
113} // namespace Aws
const Aws::Utils::DateTime & GetUpdatedDate() const
PlacementSummary & WithPlacementName(const char *value)
AWS_IOT1CLICKPROJECTS_API PlacementSummary(Aws::Utils::Json::JsonView jsonValue)
PlacementSummary & WithCreatedDate(const Aws::Utils::DateTime &value)
PlacementSummary & WithProjectName(const char *value)
void SetUpdatedDate(const Aws::Utils::DateTime &value)
AWS_IOT1CLICKPROJECTS_API Aws::Utils::Json::JsonValue Jsonize() const
PlacementSummary & WithProjectName(const Aws::String &value)
PlacementSummary & WithPlacementName(const Aws::String &value)
PlacementSummary & WithPlacementName(Aws::String &&value)
void SetUpdatedDate(Aws::Utils::DateTime &&value)
AWS_IOT1CLICKPROJECTS_API PlacementSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
PlacementSummary & WithUpdatedDate(const Aws::Utils::DateTime &value)
void SetPlacementName(const Aws::String &value)
void SetCreatedDate(Aws::Utils::DateTime &&value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
PlacementSummary & WithCreatedDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedDate() const
AWS_IOT1CLICKPROJECTS_API PlacementSummary()
PlacementSummary & WithProjectName(Aws::String &&value)
PlacementSummary & WithUpdatedDate(Aws::Utils::DateTime &&value)
void SetProjectName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue