AWS SDK for C++  1.8.126
AWS SDK for C++
ProjectSummary.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace IoTSiteWise
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetId() const{ return m_id; }
45 
49  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 
54  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
55 
59  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
60 
64  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
65 
69  inline ProjectSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
70 
74  inline ProjectSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
75 
79  inline ProjectSummary& WithId(const char* value) { SetId(value); return *this;}
80 
81 
85  inline const Aws::String& GetName() const{ return m_name; }
86 
90  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
91 
95  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
96 
100  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
101 
105  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
106 
110  inline ProjectSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
111 
115  inline ProjectSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
116 
120  inline ProjectSummary& WithName(const char* value) { SetName(value); return *this;}
121 
122 
126  inline const Aws::String& GetDescription() const{ return m_description; }
127 
131  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
132 
136  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
137 
141  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
142 
146  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
147 
151  inline ProjectSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
152 
156  inline ProjectSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
157 
161  inline ProjectSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
162 
163 
167  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
168 
172  inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
173 
177  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
178 
182  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
183 
187  inline ProjectSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
188 
192  inline ProjectSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
193 
194 
198  inline const Aws::Utils::DateTime& GetLastUpdateDate() const{ return m_lastUpdateDate; }
199 
203  inline bool LastUpdateDateHasBeenSet() const { return m_lastUpdateDateHasBeenSet; }
204 
208  inline void SetLastUpdateDate(const Aws::Utils::DateTime& value) { m_lastUpdateDateHasBeenSet = true; m_lastUpdateDate = value; }
209 
213  inline void SetLastUpdateDate(Aws::Utils::DateTime&& value) { m_lastUpdateDateHasBeenSet = true; m_lastUpdateDate = std::move(value); }
214 
218  inline ProjectSummary& WithLastUpdateDate(const Aws::Utils::DateTime& value) { SetLastUpdateDate(value); return *this;}
219 
223  inline ProjectSummary& WithLastUpdateDate(Aws::Utils::DateTime&& value) { SetLastUpdateDate(std::move(value)); return *this;}
224 
225  private:
226 
227  Aws::String m_id;
228  bool m_idHasBeenSet;
229 
230  Aws::String m_name;
231  bool m_nameHasBeenSet;
232 
233  Aws::String m_description;
234  bool m_descriptionHasBeenSet;
235 
236  Aws::Utils::DateTime m_creationDate;
237  bool m_creationDateHasBeenSet;
238 
239  Aws::Utils::DateTime m_lastUpdateDate;
240  bool m_lastUpdateDateHasBeenSet;
241  };
242 
243 } // namespace Model
244 } // namespace IoTSiteWise
245 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoTSiteWise::Model::ProjectSummary::SetDescription
void SetDescription(Aws::String &&value)
Definition: ProjectSummary.h:141
Aws::IoTSiteWise::Model::ProjectSummary::WithCreationDate
ProjectSummary & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: ProjectSummary.h:187
Aws::IoTSiteWise::Model::ProjectSummary::LastUpdateDateHasBeenSet
bool LastUpdateDateHasBeenSet() const
Definition: ProjectSummary.h:203
Aws::IoTSiteWise::Model::ProjectSummary::WithLastUpdateDate
ProjectSummary & WithLastUpdateDate(const Aws::Utils::DateTime &value)
Definition: ProjectSummary.h:218
Aws::IoTSiteWise::Model::ProjectSummary::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: ProjectSummary.h:167
Aws::IoTSiteWise::Model::ProjectSummary::SetName
void SetName(const char *value)
Definition: ProjectSummary.h:105
Aws::IoTSiteWise::Model::ProjectSummary::WithName
ProjectSummary & WithName(Aws::String &&value)
Definition: ProjectSummary.h:115
Aws::IoTSiteWise::Model::ProjectSummary::WithId
ProjectSummary & WithId(const char *value)
Definition: ProjectSummary.h:79
Aws::IoTSiteWise::Model::ProjectSummary::WithId
ProjectSummary & WithId(Aws::String &&value)
Definition: ProjectSummary.h:74
Aws::IoTSiteWise::Model::ProjectSummary::GetName
const Aws::String & GetName() const
Definition: ProjectSummary.h:85
Aws::IoTSiteWise::Model::ProjectSummary::WithLastUpdateDate
ProjectSummary & WithLastUpdateDate(Aws::Utils::DateTime &&value)
Definition: ProjectSummary.h:223
Aws::IoTSiteWise::Model::ProjectSummary::SetLastUpdateDate
void SetLastUpdateDate(const Aws::Utils::DateTime &value)
Definition: ProjectSummary.h:208
IoTSiteWise_EXPORTS.h
Aws::IoTSiteWise::Model::ProjectSummary::ProjectSummary
ProjectSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::ProjectSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
DateTime.h
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::ProjectSummary::GetLastUpdateDate
const Aws::Utils::DateTime & GetLastUpdateDate() const
Definition: ProjectSummary.h:198
Aws::IoTSiteWise::Model::ProjectSummary::SetDescription
void SetDescription(const Aws::String &value)
Definition: ProjectSummary.h:136
Aws::IoTSiteWise::Model::ProjectSummary::GetId
const Aws::String & GetId() const
Definition: ProjectSummary.h:44
Aws::IoTSiteWise::Model::ProjectSummary::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: ProjectSummary.h:131
Aws::IoTSiteWise::Model::ProjectSummary::SetId
void SetId(const char *value)
Definition: ProjectSummary.h:64
Aws::IoTSiteWise::Model::ProjectSummary::IdHasBeenSet
bool IdHasBeenSet() const
Definition: ProjectSummary.h:49
Aws::IoTSiteWise::Model::ProjectSummary::SetDescription
void SetDescription(const char *value)
Definition: ProjectSummary.h:146
Aws::IoTSiteWise::Model::ProjectSummary::SetId
void SetId(Aws::String &&value)
Definition: ProjectSummary.h:59
Aws::IoTSiteWise::Model::ProjectSummary::WithCreationDate
ProjectSummary & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: ProjectSummary.h:192
Aws::IoTSiteWise::Model::ProjectSummary::ProjectSummary
ProjectSummary()
Aws::IoTSiteWise::Model::ProjectSummary::SetName
void SetName(Aws::String &&value)
Definition: ProjectSummary.h:100
Aws::IoTSiteWise::Model::ProjectSummary::GetDescription
const Aws::String & GetDescription() const
Definition: ProjectSummary.h:126
Aws::IoTSiteWise::Model::ProjectSummary::CreationDateHasBeenSet
bool CreationDateHasBeenSet() const
Definition: ProjectSummary.h:172
Aws::IoTSiteWise::Model::ProjectSummary::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: ProjectSummary.h:182
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::IoTSiteWise::Model::ProjectSummary::WithName
ProjectSummary & WithName(const char *value)
Definition: ProjectSummary.h:120
Aws::IoTSiteWise::Model::ProjectSummary::WithDescription
ProjectSummary & WithDescription(Aws::String &&value)
Definition: ProjectSummary.h:156
Aws::IoTSiteWise::Model::ProjectSummary::WithDescription
ProjectSummary & WithDescription(const Aws::String &value)
Definition: ProjectSummary.h:151
Aws::IoTSiteWise::Model::ProjectSummary::SetLastUpdateDate
void SetLastUpdateDate(Aws::Utils::DateTime &&value)
Definition: ProjectSummary.h:213
Aws::IoTSiteWise::Model::ProjectSummary::SetId
void SetId(const Aws::String &value)
Definition: ProjectSummary.h:54
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::ProjectSummary::SetName
void SetName(const Aws::String &value)
Definition: ProjectSummary.h:95
Aws::IoTSiteWise::Model::ProjectSummary::WithDescription
ProjectSummary & WithDescription(const char *value)
Definition: ProjectSummary.h:161
Aws::IoTSiteWise::Model::ProjectSummary::WithName
ProjectSummary & WithName(const Aws::String &value)
Definition: ProjectSummary.h:110
Aws::IoTSiteWise::Model::ProjectSummary::WithId
ProjectSummary & WithId(const Aws::String &value)
Definition: ProjectSummary.h:69
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::ProjectSummary::operator=
ProjectSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::ProjectSummary
Definition: ProjectSummary.h:33
Aws::IoTSiteWise::Model::ProjectSummary::NameHasBeenSet
bool NameHasBeenSet() const
Definition: ProjectSummary.h:90
Aws::IoTSiteWise::Model::ProjectSummary::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: ProjectSummary.h:177