AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ProjectSummary.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/core/utils/memory/stl/AWSMap.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
35 {
36 public:
37 AWS_IOT1CLICKPROJECTS_API ProjectSummary() = default;
38 AWS_IOT1CLICKPROJECTS_API ProjectSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOT1CLICKPROJECTS_API ProjectSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOT1CLICKPROJECTS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetArn() const { return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 template<typename ArnT = Aws::String>
50 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
51 template<typename ArnT = Aws::String>
52 ProjectSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
54
56
59 inline const Aws::String& GetProjectName() const { return m_projectName; }
60 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
61 template<typename ProjectNameT = Aws::String>
62 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet = true; m_projectName = std::forward<ProjectNameT>(value); }
63 template<typename ProjectNameT = Aws::String>
64 ProjectSummary& WithProjectName(ProjectNameT&& value) { SetProjectName(std::forward<ProjectNameT>(value)); return *this;}
66
68
72 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
73 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
74 template<typename CreatedDateT = Aws::Utils::DateTime>
75 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
76 template<typename CreatedDateT = Aws::Utils::DateTime>
77 ProjectSummary& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
79
81
86 inline const Aws::Utils::DateTime& GetUpdatedDate() const { return m_updatedDate; }
87 inline bool UpdatedDateHasBeenSet() const { return m_updatedDateHasBeenSet; }
88 template<typename UpdatedDateT = Aws::Utils::DateTime>
89 void SetUpdatedDate(UpdatedDateT&& value) { m_updatedDateHasBeenSet = true; m_updatedDate = std::forward<UpdatedDateT>(value); }
90 template<typename UpdatedDateT = Aws::Utils::DateTime>
91 ProjectSummary& WithUpdatedDate(UpdatedDateT&& value) { SetUpdatedDate(std::forward<UpdatedDateT>(value)); return *this;}
93
95
98 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
99 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
100 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
101 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
102 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
103 ProjectSummary& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
104 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
105 ProjectSummary& AddTags(TagsKeyT&& key, TagsValueT&& value) {
106 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
107 }
109 private:
110
111 Aws::String m_arn;
112 bool m_arnHasBeenSet = false;
113
114 Aws::String m_projectName;
115 bool m_projectNameHasBeenSet = false;
116
117 Aws::Utils::DateTime m_createdDate{};
118 bool m_createdDateHasBeenSet = false;
119
120 Aws::Utils::DateTime m_updatedDate{};
121 bool m_updatedDateHasBeenSet = false;
122
124 bool m_tagsHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace IoT1ClickProjects
129} // namespace Aws
ProjectSummary & WithProjectName(ProjectNameT &&value)
AWS_IOT1CLICKPROJECTS_API ProjectSummary()=default
const Aws::Utils::DateTime & GetUpdatedDate() const
ProjectSummary & WithArn(ArnT &&value)
const Aws::Utils::DateTime & GetCreatedDate() const
ProjectSummary & WithUpdatedDate(UpdatedDateT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ProjectSummary & WithTags(TagsT &&value)
AWS_IOT1CLICKPROJECTS_API Aws::Utils::Json::JsonValue Jsonize() const
ProjectSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
ProjectSummary & WithCreatedDate(CreatedDateT &&value)
AWS_IOT1CLICKPROJECTS_API ProjectSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT1CLICKPROJECTS_API ProjectSummary(Aws::Utils::Json::JsonView jsonValue)
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