AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
48 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
49 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
50 inline ProjectSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
51 inline ProjectSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
52 inline ProjectSummary& WithId(const char* value) { SetId(value); return *this;}
54
56
59 inline const Aws::String& GetName() const{ return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
62 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
63 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
64 inline ProjectSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
65 inline ProjectSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
66 inline ProjectSummary& WithName(const char* value) { SetName(value); return *this;}
68
70
73 inline const Aws::String& GetDescription() const{ return m_description; }
74 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
75 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
76 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
77 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
78 inline ProjectSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
79 inline ProjectSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
80 inline ProjectSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
88 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
89 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
90 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
91 inline ProjectSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
92 inline ProjectSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
94
96
99 inline const Aws::Utils::DateTime& GetLastUpdateDate() const{ return m_lastUpdateDate; }
100 inline bool LastUpdateDateHasBeenSet() const { return m_lastUpdateDateHasBeenSet; }
101 inline void SetLastUpdateDate(const Aws::Utils::DateTime& value) { m_lastUpdateDateHasBeenSet = true; m_lastUpdateDate = value; }
102 inline void SetLastUpdateDate(Aws::Utils::DateTime&& value) { m_lastUpdateDateHasBeenSet = true; m_lastUpdateDate = std::move(value); }
103 inline ProjectSummary& WithLastUpdateDate(const Aws::Utils::DateTime& value) { SetLastUpdateDate(value); return *this;}
104 inline ProjectSummary& WithLastUpdateDate(Aws::Utils::DateTime&& value) { SetLastUpdateDate(std::move(value)); return *this;}
106 private:
107
108 Aws::String m_id;
109 bool m_idHasBeenSet = false;
110
111 Aws::String m_name;
112 bool m_nameHasBeenSet = false;
113
114 Aws::String m_description;
115 bool m_descriptionHasBeenSet = false;
116
117 Aws::Utils::DateTime m_creationDate;
118 bool m_creationDateHasBeenSet = false;
119
120 Aws::Utils::DateTime m_lastUpdateDate;
121 bool m_lastUpdateDateHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace IoTSiteWise
126} // namespace Aws
ProjectSummary & WithDescription(Aws::String &&value)
ProjectSummary & WithDescription(const Aws::String &value)
ProjectSummary & WithLastUpdateDate(Aws::Utils::DateTime &&value)
void SetDescription(const Aws::String &value)
ProjectSummary & WithId(Aws::String &&value)
void SetLastUpdateDate(Aws::Utils::DateTime &&value)
void SetCreationDate(const Aws::Utils::DateTime &value)
void SetLastUpdateDate(const Aws::Utils::DateTime &value)
ProjectSummary & WithCreationDate(Aws::Utils::DateTime &&value)
void SetName(const Aws::String &value)
const Aws::String & GetName() const
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
ProjectSummary & WithDescription(const char *value)
ProjectSummary & WithId(const char *value)
ProjectSummary & WithName(Aws::String &&value)
const Aws::String & GetDescription() const
const Aws::Utils::DateTime & GetLastUpdateDate() const
void SetId(const Aws::String &value)
void SetDescription(Aws::String &&value)
ProjectSummary & WithName(const char *value)
AWS_IOTSITEWISE_API ProjectSummary(Aws::Utils::Json::JsonView jsonValue)
ProjectSummary & WithLastUpdateDate(const Aws::Utils::DateTime &value)
ProjectSummary & WithId(const Aws::String &value)
ProjectSummary & WithCreationDate(const Aws::Utils::DateTime &value)
const Aws::String & GetId() const
ProjectSummary & WithName(const Aws::String &value)
void SetCreationDate(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue