AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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 PlacementDescription& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
52 inline PlacementDescription& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
53 inline PlacementDescription& 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 PlacementDescription& WithPlacementName(const Aws::String& value) { SetPlacementName(value); return *this;}
66 inline PlacementDescription& WithPlacementName(Aws::String&& value) { SetPlacementName(std::move(value)); return *this;}
67 inline PlacementDescription& WithPlacementName(const char* value) { SetPlacementName(value); return *this;}
69
71
74 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
75 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
76 inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
77 inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
79 inline PlacementDescription& WithAttributes(Aws::Map<Aws::String, Aws::String>&& value) { SetAttributes(std::move(value)); return *this;}
80 inline PlacementDescription& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
81 inline PlacementDescription& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
82 inline PlacementDescription& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
83 inline PlacementDescription& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; }
84 inline PlacementDescription& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
85 inline PlacementDescription& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
86 inline PlacementDescription& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
88
90
94 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
95 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
96 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
97 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
98 inline PlacementDescription& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
99 inline PlacementDescription& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
101
103
108 inline const Aws::Utils::DateTime& GetUpdatedDate() const{ return m_updatedDate; }
109 inline bool UpdatedDateHasBeenSet() const { return m_updatedDateHasBeenSet; }
110 inline void SetUpdatedDate(const Aws::Utils::DateTime& value) { m_updatedDateHasBeenSet = true; m_updatedDate = value; }
111 inline void SetUpdatedDate(Aws::Utils::DateTime&& value) { m_updatedDateHasBeenSet = true; m_updatedDate = std::move(value); }
112 inline PlacementDescription& WithUpdatedDate(const Aws::Utils::DateTime& value) { SetUpdatedDate(value); return *this;}
113 inline PlacementDescription& WithUpdatedDate(Aws::Utils::DateTime&& value) { SetUpdatedDate(std::move(value)); return *this;}
115 private:
116
117 Aws::String m_projectName;
118 bool m_projectNameHasBeenSet = false;
119
120 Aws::String m_placementName;
121 bool m_placementNameHasBeenSet = false;
122
124 bool m_attributesHasBeenSet = false;
125
126 Aws::Utils::DateTime m_createdDate;
127 bool m_createdDateHasBeenSet = false;
128
129 Aws::Utils::DateTime m_updatedDate;
130 bool m_updatedDateHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace IoT1ClickProjects
135} // namespace Aws
PlacementDescription & WithProjectName(Aws::String &&value)
PlacementDescription & AddAttributes(const char *key, const char *value)
PlacementDescription & WithCreatedDate(Aws::Utils::DateTime &&value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
PlacementDescription & AddAttributes(Aws::String &&key, const char *value)
PlacementDescription & WithProjectName(const Aws::String &value)
AWS_IOT1CLICKPROJECTS_API PlacementDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT1CLICKPROJECTS_API Aws::Utils::Json::JsonValue Jsonize() const
PlacementDescription & AddAttributes(const char *key, Aws::String &&value)
PlacementDescription & AddAttributes(Aws::String &&key, const Aws::String &value)
PlacementDescription & WithUpdatedDate(Aws::Utils::DateTime &&value)
PlacementDescription & WithPlacementName(Aws::String &&value)
PlacementDescription & WithUpdatedDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetUpdatedDate() const
PlacementDescription & AddAttributes(const Aws::String &key, Aws::String &&value)
PlacementDescription & WithPlacementName(const char *value)
PlacementDescription & WithPlacementName(const Aws::String &value)
PlacementDescription & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
AWS_IOT1CLICKPROJECTS_API PlacementDescription(Aws::Utils::Json::JsonView jsonValue)
PlacementDescription & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
PlacementDescription & WithCreatedDate(const Aws::Utils::DateTime &value)
PlacementDescription & WithProjectName(const char *value)
PlacementDescription & AddAttributes(Aws::String &&key, Aws::String &&value)
PlacementDescription & AddAttributes(const Aws::String &key, const Aws::String &value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
const Aws::Utils::DateTime & GetCreatedDate() const
void SetUpdatedDate(const Aws::Utils::DateTime &value)
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