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/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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
52 inline ProjectSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline ProjectSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline ProjectSummary& WithArn(const char* value) { SetArn(value); return *this;}
56
58
61 inline const Aws::String& GetProjectName() const{ return m_projectName; }
62 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
63 inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
64 inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
65 inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
66 inline ProjectSummary& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
67 inline ProjectSummary& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
68 inline ProjectSummary& WithProjectName(const char* value) { SetProjectName(value); return *this;}
70
72
76 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
77 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
78 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
79 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
80 inline ProjectSummary& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
81 inline ProjectSummary& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
83
85
90 inline const Aws::Utils::DateTime& GetUpdatedDate() const{ return m_updatedDate; }
91 inline bool UpdatedDateHasBeenSet() const { return m_updatedDateHasBeenSet; }
92 inline void SetUpdatedDate(const Aws::Utils::DateTime& value) { m_updatedDateHasBeenSet = true; m_updatedDate = value; }
93 inline void SetUpdatedDate(Aws::Utils::DateTime&& value) { m_updatedDateHasBeenSet = true; m_updatedDate = std::move(value); }
94 inline ProjectSummary& WithUpdatedDate(const Aws::Utils::DateTime& value) { SetUpdatedDate(value); return *this;}
95 inline ProjectSummary& WithUpdatedDate(Aws::Utils::DateTime&& value) { SetUpdatedDate(std::move(value)); return *this;}
97
99
102 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
103 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
104 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
105 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
106 inline ProjectSummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
107 inline ProjectSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
108 inline ProjectSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
109 inline ProjectSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
110 inline ProjectSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
111 inline ProjectSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
112 inline ProjectSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
113 inline ProjectSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
114 inline ProjectSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
116 private:
117
118 Aws::String m_arn;
119 bool m_arnHasBeenSet = false;
120
121 Aws::String m_projectName;
122 bool m_projectNameHasBeenSet = false;
123
124 Aws::Utils::DateTime m_createdDate;
125 bool m_createdDateHasBeenSet = false;
126
127 Aws::Utils::DateTime m_updatedDate;
128 bool m_updatedDateHasBeenSet = false;
129
131 bool m_tagsHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace IoT1ClickProjects
136} // namespace Aws
const Aws::Utils::DateTime & GetUpdatedDate() const
ProjectSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
ProjectSummary & AddTags(Aws::String &&key, Aws::String &&value)
ProjectSummary & WithUpdatedDate(Aws::Utils::DateTime &&value)
AWS_IOT1CLICKPROJECTS_API ProjectSummary()
ProjectSummary & WithUpdatedDate(const Aws::Utils::DateTime &value)
ProjectSummary & WithProjectName(const char *value)
ProjectSummary & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedDate() const
void SetUpdatedDate(const Aws::Utils::DateTime &value)
void SetArn(const Aws::String &value)
ProjectSummary & WithProjectName(const Aws::String &value)
ProjectSummary & AddTags(Aws::String &&key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_IOT1CLICKPROJECTS_API Aws::Utils::Json::JsonValue Jsonize() const
ProjectSummary & AddTags(const char *key, const char *value)
ProjectSummary & WithCreatedDate(Aws::Utils::DateTime &&value)
ProjectSummary & WithCreatedDate(const Aws::Utils::DateTime &value)
void SetProjectName(const Aws::String &value)
ProjectSummary & AddTags(const char *key, Aws::String &&value)
ProjectSummary & WithArn(const Aws::String &value)
void SetUpdatedDate(Aws::Utils::DateTime &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_IOT1CLICKPROJECTS_API ProjectSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedDate(Aws::Utils::DateTime &&value)
ProjectSummary & AddTags(const Aws::String &key, Aws::String &&value)
ProjectSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
ProjectSummary & WithArn(Aws::String &&value)
ProjectSummary & AddTags(const Aws::String &key, const Aws::String &value)
ProjectSummary & WithArn(const char *value)
ProjectSummary & WithProjectName(Aws::String &&value)
AWS_IOT1CLICKPROJECTS_API ProjectSummary(Aws::Utils::Json::JsonView jsonValue)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetCreatedDate(const Aws::Utils::DateTime &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