AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ProjectNameT = Aws::String>
49 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet = true; m_projectName = std::forward<ProjectNameT>(value); }
50 template<typename ProjectNameT = Aws::String>
51 PlacementSummary& WithProjectName(ProjectNameT&& value) { SetProjectName(std::forward<ProjectNameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetPlacementName() const { return m_placementName; }
59 inline bool PlacementNameHasBeenSet() const { return m_placementNameHasBeenSet; }
60 template<typename PlacementNameT = Aws::String>
61 void SetPlacementName(PlacementNameT&& value) { m_placementNameHasBeenSet = true; m_placementName = std::forward<PlacementNameT>(value); }
62 template<typename PlacementNameT = Aws::String>
63 PlacementSummary& WithPlacementName(PlacementNameT&& value) { SetPlacementName(std::forward<PlacementNameT>(value)); return *this;}
65
67
71 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
72 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
73 template<typename CreatedDateT = Aws::Utils::DateTime>
74 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
75 template<typename CreatedDateT = Aws::Utils::DateTime>
76 PlacementSummary& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
78
80
85 inline const Aws::Utils::DateTime& GetUpdatedDate() const { return m_updatedDate; }
86 inline bool UpdatedDateHasBeenSet() const { return m_updatedDateHasBeenSet; }
87 template<typename UpdatedDateT = Aws::Utils::DateTime>
88 void SetUpdatedDate(UpdatedDateT&& value) { m_updatedDateHasBeenSet = true; m_updatedDate = std::forward<UpdatedDateT>(value); }
89 template<typename UpdatedDateT = Aws::Utils::DateTime>
90 PlacementSummary& WithUpdatedDate(UpdatedDateT&& value) { SetUpdatedDate(std::forward<UpdatedDateT>(value)); return *this;}
92 private:
93
94 Aws::String m_projectName;
95 bool m_projectNameHasBeenSet = false;
96
97 Aws::String m_placementName;
98 bool m_placementNameHasBeenSet = false;
99
100 Aws::Utils::DateTime m_createdDate{};
101 bool m_createdDateHasBeenSet = false;
102
103 Aws::Utils::DateTime m_updatedDate{};
104 bool m_updatedDateHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace IoT1ClickProjects
109} // namespace Aws
const Aws::Utils::DateTime & GetUpdatedDate() const
AWS_IOT1CLICKPROJECTS_API PlacementSummary()=default
AWS_IOT1CLICKPROJECTS_API PlacementSummary(Aws::Utils::Json::JsonView jsonValue)
PlacementSummary & WithUpdatedDate(UpdatedDateT &&value)
AWS_IOT1CLICKPROJECTS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT1CLICKPROJECTS_API PlacementSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
PlacementSummary & WithProjectName(ProjectNameT &&value)
PlacementSummary & WithCreatedDate(CreatedDateT &&value)
const Aws::Utils::DateTime & GetCreatedDate() const
PlacementSummary & WithPlacementName(PlacementNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue