AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProjectDescription.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 <aws/iot1click-projects/model/PlacementTemplate.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace IoT1ClickProjects
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_IOT1CLICKPROJECTS_API ProjectDescription();
39 AWS_IOT1CLICKPROJECTS_API ProjectDescription(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOT1CLICKPROJECTS_API ProjectDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_IOT1CLICKPROJECTS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetArn() const{ return m_arn; }
49 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
51 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
52 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
53 inline ProjectDescription& WithArn(const Aws::String& value) { SetArn(value); return *this;}
54 inline ProjectDescription& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
55 inline ProjectDescription& WithArn(const char* value) { SetArn(value); return *this;}
57
59
62 inline const Aws::String& GetProjectName() const{ return m_projectName; }
63 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
64 inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
65 inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
66 inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
67 inline ProjectDescription& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
68 inline ProjectDescription& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
69 inline ProjectDescription& WithProjectName(const char* value) { SetProjectName(value); return *this;}
71
73
76 inline const Aws::String& GetDescription() const{ return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
79 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
80 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
81 inline ProjectDescription& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
82 inline ProjectDescription& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
83 inline ProjectDescription& WithDescription(const char* value) { SetDescription(value); return *this;}
85
87
91 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
92 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
93 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
94 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
95 inline ProjectDescription& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
96 inline ProjectDescription& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
98
100
105 inline const Aws::Utils::DateTime& GetUpdatedDate() const{ return m_updatedDate; }
106 inline bool UpdatedDateHasBeenSet() const { return m_updatedDateHasBeenSet; }
107 inline void SetUpdatedDate(const Aws::Utils::DateTime& value) { m_updatedDateHasBeenSet = true; m_updatedDate = value; }
108 inline void SetUpdatedDate(Aws::Utils::DateTime&& value) { m_updatedDateHasBeenSet = true; m_updatedDate = std::move(value); }
109 inline ProjectDescription& WithUpdatedDate(const Aws::Utils::DateTime& value) { SetUpdatedDate(value); return *this;}
110 inline ProjectDescription& WithUpdatedDate(Aws::Utils::DateTime&& value) { SetUpdatedDate(std::move(value)); return *this;}
112
114
117 inline const PlacementTemplate& GetPlacementTemplate() const{ return m_placementTemplate; }
118 inline bool PlacementTemplateHasBeenSet() const { return m_placementTemplateHasBeenSet; }
119 inline void SetPlacementTemplate(const PlacementTemplate& value) { m_placementTemplateHasBeenSet = true; m_placementTemplate = value; }
120 inline void SetPlacementTemplate(PlacementTemplate&& value) { m_placementTemplateHasBeenSet = true; m_placementTemplate = std::move(value); }
122 inline ProjectDescription& WithPlacementTemplate(PlacementTemplate&& value) { SetPlacementTemplate(std::move(value)); return *this;}
124
126
129 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
130 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
131 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
132 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
133 inline ProjectDescription& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
134 inline ProjectDescription& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
135 inline ProjectDescription& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
136 inline ProjectDescription& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
137 inline ProjectDescription& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
138 inline ProjectDescription& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
139 inline ProjectDescription& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
140 inline ProjectDescription& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
141 inline ProjectDescription& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
143 private:
144
145 Aws::String m_arn;
146 bool m_arnHasBeenSet = false;
147
148 Aws::String m_projectName;
149 bool m_projectNameHasBeenSet = false;
150
151 Aws::String m_description;
152 bool m_descriptionHasBeenSet = false;
153
154 Aws::Utils::DateTime m_createdDate;
155 bool m_createdDateHasBeenSet = false;
156
157 Aws::Utils::DateTime m_updatedDate;
158 bool m_updatedDateHasBeenSet = false;
159
160 PlacementTemplate m_placementTemplate;
161 bool m_placementTemplateHasBeenSet = false;
162
164 bool m_tagsHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace IoT1ClickProjects
169} // namespace Aws
ProjectDescription & WithUpdatedDate(const Aws::Utils::DateTime &value)
ProjectDescription & WithArn(Aws::String &&value)
ProjectDescription & AddTags(const char *key, Aws::String &&value)
void SetUpdatedDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedDate() const
AWS_IOT1CLICKPROJECTS_API ProjectDescription()
ProjectDescription & WithArn(const char *value)
ProjectDescription & WithCreatedDate(const Aws::Utils::DateTime &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
ProjectDescription & AddTags(const Aws::String &key, Aws::String &&value)
ProjectDescription & AddTags(Aws::String &&key, const Aws::String &value)
ProjectDescription & WithProjectName(Aws::String &&value)
ProjectDescription & WithDescription(const char *value)
const Aws::Utils::DateTime & GetUpdatedDate() const
ProjectDescription & WithPlacementTemplate(const PlacementTemplate &value)
ProjectDescription & WithProjectName(const Aws::String &value)
ProjectDescription & AddTags(const char *key, const char *value)
ProjectDescription & WithDescription(const Aws::String &value)
ProjectDescription & WithUpdatedDate(Aws::Utils::DateTime &&value)
const PlacementTemplate & GetPlacementTemplate() const
ProjectDescription & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
ProjectDescription & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetCreatedDate(Aws::Utils::DateTime &&value)
ProjectDescription & WithPlacementTemplate(PlacementTemplate &&value)
ProjectDescription & WithDescription(Aws::String &&value)
ProjectDescription & WithProjectName(const char *value)
AWS_IOT1CLICKPROJECTS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT1CLICKPROJECTS_API ProjectDescription(Aws::Utils::Json::JsonView jsonValue)
void SetUpdatedDate(Aws::Utils::DateTime &&value)
void SetPlacementTemplate(const PlacementTemplate &value)
ProjectDescription & WithArn(const Aws::String &value)
ProjectDescription & AddTags(Aws::String &&key, const char *value)
AWS_IOT1CLICKPROJECTS_API ProjectDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
ProjectDescription & AddTags(Aws::String &&key, Aws::String &&value)
ProjectDescription & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetCreatedDate(const Aws::Utils::DateTime &value)
ProjectDescription & WithCreatedDate(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