AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PlacementDescription.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/memory/stl/AWSMap.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoT1ClickProjects
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_IOT1CLICKPROJECTS_API PlacementDescription() = default;
37 AWS_IOT1CLICKPROJECTS_API PlacementDescription(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOT1CLICKPROJECTS_API PlacementDescription& 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 PlacementDescription& 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 PlacementDescription& WithPlacementName(PlacementNameT&& value) { SetPlacementName(std::forward<PlacementNameT>(value)); return *this;}
65
67
70 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const { return m_attributes; }
71 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
72 template<typename AttributesT = Aws::Map<Aws::String, Aws::String>>
73 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet = true; m_attributes = std::forward<AttributesT>(value); }
74 template<typename AttributesT = Aws::Map<Aws::String, Aws::String>>
75 PlacementDescription& WithAttributes(AttributesT&& value) { SetAttributes(std::forward<AttributesT>(value)); return *this;}
76 template<typename AttributesKeyT = Aws::String, typename AttributesValueT = Aws::String>
77 PlacementDescription& AddAttributes(AttributesKeyT&& key, AttributesValueT&& value) {
78 m_attributesHasBeenSet = true; m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value)); return *this;
79 }
81
83
87 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
88 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
89 template<typename CreatedDateT = Aws::Utils::DateTime>
90 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
91 template<typename CreatedDateT = Aws::Utils::DateTime>
92 PlacementDescription& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
94
96
101 inline const Aws::Utils::DateTime& GetUpdatedDate() const { return m_updatedDate; }
102 inline bool UpdatedDateHasBeenSet() const { return m_updatedDateHasBeenSet; }
103 template<typename UpdatedDateT = Aws::Utils::DateTime>
104 void SetUpdatedDate(UpdatedDateT&& value) { m_updatedDateHasBeenSet = true; m_updatedDate = std::forward<UpdatedDateT>(value); }
105 template<typename UpdatedDateT = Aws::Utils::DateTime>
106 PlacementDescription& WithUpdatedDate(UpdatedDateT&& value) { SetUpdatedDate(std::forward<UpdatedDateT>(value)); return *this;}
108 private:
109
110 Aws::String m_projectName;
111 bool m_projectNameHasBeenSet = false;
112
113 Aws::String m_placementName;
114 bool m_placementNameHasBeenSet = false;
115
117 bool m_attributesHasBeenSet = false;
118
119 Aws::Utils::DateTime m_createdDate{};
120 bool m_createdDateHasBeenSet = false;
121
122 Aws::Utils::DateTime m_updatedDate{};
123 bool m_updatedDateHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace IoT1ClickProjects
128} // namespace Aws
AWS_IOT1CLICKPROJECTS_API PlacementDescription()=default
PlacementDescription & WithProjectName(ProjectNameT &&value)
PlacementDescription & WithPlacementName(PlacementNameT &&value)
PlacementDescription & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
AWS_IOT1CLICKPROJECTS_API PlacementDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
PlacementDescription & WithCreatedDate(CreatedDateT &&value)
AWS_IOT1CLICKPROJECTS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetUpdatedDate() const
PlacementDescription & WithUpdatedDate(UpdatedDateT &&value)
AWS_IOT1CLICKPROJECTS_API PlacementDescription(Aws::Utils::Json::JsonView jsonValue)
PlacementDescription & WithAttributes(AttributesT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
const Aws::Utils::DateTime & GetCreatedDate() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue