AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ProjectSummary.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoTSiteWise
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_IOTSITEWISE_API ProjectSummary() = default;
36 AWS_IOTSITEWISE_API ProjectSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTSITEWISE_API ProjectSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetId() const { return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 template<typename IdT = Aws::String>
48 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
49 template<typename IdT = Aws::String>
50 ProjectSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetName() const { return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 template<typename NameT = Aws::String>
60 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
61 template<typename NameT = Aws::String>
62 ProjectSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
64
66
69 inline const Aws::String& GetDescription() const { return m_description; }
70 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
71 template<typename DescriptionT = Aws::String>
72 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
73 template<typename DescriptionT = Aws::String>
74 ProjectSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
76
78
81 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
82 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
83 template<typename CreationDateT = Aws::Utils::DateTime>
84 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
85 template<typename CreationDateT = Aws::Utils::DateTime>
86 ProjectSummary& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetLastUpdateDate() const { return m_lastUpdateDate; }
94 inline bool LastUpdateDateHasBeenSet() const { return m_lastUpdateDateHasBeenSet; }
95 template<typename LastUpdateDateT = Aws::Utils::DateTime>
96 void SetLastUpdateDate(LastUpdateDateT&& value) { m_lastUpdateDateHasBeenSet = true; m_lastUpdateDate = std::forward<LastUpdateDateT>(value); }
97 template<typename LastUpdateDateT = Aws::Utils::DateTime>
98 ProjectSummary& WithLastUpdateDate(LastUpdateDateT&& value) { SetLastUpdateDate(std::forward<LastUpdateDateT>(value)); return *this;}
100 private:
101
102 Aws::String m_id;
103 bool m_idHasBeenSet = false;
104
105 Aws::String m_name;
106 bool m_nameHasBeenSet = false;
107
108 Aws::String m_description;
109 bool m_descriptionHasBeenSet = false;
110
111 Aws::Utils::DateTime m_creationDate{};
112 bool m_creationDateHasBeenSet = false;
113
114 Aws::Utils::DateTime m_lastUpdateDate{};
115 bool m_lastUpdateDateHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace IoTSiteWise
120} // namespace Aws
void SetCreationDate(CreationDateT &&value)
ProjectSummary & WithCreationDate(CreationDateT &&value)
ProjectSummary & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetName() const
ProjectSummary & WithId(IdT &&value)
const Aws::Utils::DateTime & GetCreationDate() const
AWS_IOTSITEWISE_API ProjectSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTSITEWISE_API ProjectSummary()=default
ProjectSummary & WithLastUpdateDate(LastUpdateDateT &&value)
const Aws::String & GetDescription() const
const Aws::Utils::DateTime & GetLastUpdateDate() const
ProjectSummary & WithName(NameT &&value)
void SetLastUpdateDate(LastUpdateDateT &&value)
AWS_IOTSITEWISE_API ProjectSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue