AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ArnT = Aws::String>
51 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
52 template<typename ArnT = Aws::String>
53 ProjectDescription& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
55
57
60 inline const Aws::String& GetProjectName() const { return m_projectName; }
61 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
62 template<typename ProjectNameT = Aws::String>
63 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet = true; m_projectName = std::forward<ProjectNameT>(value); }
64 template<typename ProjectNameT = Aws::String>
65 ProjectDescription& WithProjectName(ProjectNameT&& value) { SetProjectName(std::forward<ProjectNameT>(value)); return *this;}
67
69
72 inline const Aws::String& GetDescription() const { return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 template<typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
76 template<typename DescriptionT = Aws::String>
77 ProjectDescription& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
79
81
85 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
86 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
87 template<typename CreatedDateT = Aws::Utils::DateTime>
88 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
89 template<typename CreatedDateT = Aws::Utils::DateTime>
90 ProjectDescription& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
92
94
99 inline const Aws::Utils::DateTime& GetUpdatedDate() const { return m_updatedDate; }
100 inline bool UpdatedDateHasBeenSet() const { return m_updatedDateHasBeenSet; }
101 template<typename UpdatedDateT = Aws::Utils::DateTime>
102 void SetUpdatedDate(UpdatedDateT&& value) { m_updatedDateHasBeenSet = true; m_updatedDate = std::forward<UpdatedDateT>(value); }
103 template<typename UpdatedDateT = Aws::Utils::DateTime>
104 ProjectDescription& WithUpdatedDate(UpdatedDateT&& value) { SetUpdatedDate(std::forward<UpdatedDateT>(value)); return *this;}
106
108
111 inline const PlacementTemplate& GetPlacementTemplate() const { return m_placementTemplate; }
112 inline bool PlacementTemplateHasBeenSet() const { return m_placementTemplateHasBeenSet; }
113 template<typename PlacementTemplateT = PlacementTemplate>
114 void SetPlacementTemplate(PlacementTemplateT&& value) { m_placementTemplateHasBeenSet = true; m_placementTemplate = std::forward<PlacementTemplateT>(value); }
115 template<typename PlacementTemplateT = PlacementTemplate>
116 ProjectDescription& WithPlacementTemplate(PlacementTemplateT&& value) { SetPlacementTemplate(std::forward<PlacementTemplateT>(value)); return *this;}
118
120
123 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
124 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
125 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
126 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
127 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
128 ProjectDescription& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
129 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
130 ProjectDescription& AddTags(TagsKeyT&& key, TagsValueT&& value) {
131 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
132 }
134 private:
135
136 Aws::String m_arn;
137 bool m_arnHasBeenSet = false;
138
139 Aws::String m_projectName;
140 bool m_projectNameHasBeenSet = false;
141
142 Aws::String m_description;
143 bool m_descriptionHasBeenSet = false;
144
145 Aws::Utils::DateTime m_createdDate{};
146 bool m_createdDateHasBeenSet = false;
147
148 Aws::Utils::DateTime m_updatedDate{};
149 bool m_updatedDateHasBeenSet = false;
150
151 PlacementTemplate m_placementTemplate;
152 bool m_placementTemplateHasBeenSet = false;
153
155 bool m_tagsHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace IoT1ClickProjects
160} // namespace Aws
void SetPlacementTemplate(PlacementTemplateT &&value)
AWS_IOT1CLICKPROJECTS_API ProjectDescription()=default
ProjectDescription & WithUpdatedDate(UpdatedDateT &&value)
const Aws::Utils::DateTime & GetCreatedDate() const
ProjectDescription & WithCreatedDate(CreatedDateT &&value)
ProjectDescription & WithProjectName(ProjectNameT &&value)
const Aws::Utils::DateTime & GetUpdatedDate() const
ProjectDescription & WithPlacementTemplate(PlacementTemplateT &&value)
const PlacementTemplate & GetPlacementTemplate() const
AWS_IOT1CLICKPROJECTS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT1CLICKPROJECTS_API ProjectDescription(Aws::Utils::Json::JsonView jsonValue)
ProjectDescription & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_IOT1CLICKPROJECTS_API ProjectDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ProjectDescription & WithDescription(DescriptionT &&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