AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorkspaceSummary.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.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 IoTTwinMaker
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_IOTTWINMAKER_API WorkspaceSummary();
38 AWS_IOTTWINMAKER_API WorkspaceSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTTWINMAKER_API WorkspaceSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; }
48 inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; }
49 inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; }
50 inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); }
51 inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); }
52 inline WorkspaceSummary& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;}
53 inline WorkspaceSummary& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;}
54 inline WorkspaceSummary& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;}
56
58
61 inline const Aws::String& GetArn() const{ return m_arn; }
62 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
63 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
64 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
65 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
66 inline WorkspaceSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
67 inline WorkspaceSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
68 inline WorkspaceSummary& WithArn(const char* value) { SetArn(value); return *this;}
70
72
75 inline const Aws::String& GetDescription() const{ return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
78 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
79 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
80 inline WorkspaceSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
81 inline WorkspaceSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
82 inline WorkspaceSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
84
86
89 inline const Aws::Vector<Aws::String>& GetLinkedServices() const{ return m_linkedServices; }
90 inline bool LinkedServicesHasBeenSet() const { return m_linkedServicesHasBeenSet; }
91 inline void SetLinkedServices(const Aws::Vector<Aws::String>& value) { m_linkedServicesHasBeenSet = true; m_linkedServices = value; }
92 inline void SetLinkedServices(Aws::Vector<Aws::String>&& value) { m_linkedServicesHasBeenSet = true; m_linkedServices = std::move(value); }
94 inline WorkspaceSummary& WithLinkedServices(Aws::Vector<Aws::String>&& value) { SetLinkedServices(std::move(value)); return *this;}
95 inline WorkspaceSummary& AddLinkedServices(const Aws::String& value) { m_linkedServicesHasBeenSet = true; m_linkedServices.push_back(value); return *this; }
96 inline WorkspaceSummary& AddLinkedServices(Aws::String&& value) { m_linkedServicesHasBeenSet = true; m_linkedServices.push_back(std::move(value)); return *this; }
97 inline WorkspaceSummary& AddLinkedServices(const char* value) { m_linkedServicesHasBeenSet = true; m_linkedServices.push_back(value); return *this; }
99
101
104 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
105 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
106 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
107 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
109 inline WorkspaceSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
111
113
116 inline const Aws::Utils::DateTime& GetUpdateDateTime() const{ return m_updateDateTime; }
117 inline bool UpdateDateTimeHasBeenSet() const { return m_updateDateTimeHasBeenSet; }
118 inline void SetUpdateDateTime(const Aws::Utils::DateTime& value) { m_updateDateTimeHasBeenSet = true; m_updateDateTime = value; }
119 inline void SetUpdateDateTime(Aws::Utils::DateTime&& value) { m_updateDateTimeHasBeenSet = true; m_updateDateTime = std::move(value); }
120 inline WorkspaceSummary& WithUpdateDateTime(const Aws::Utils::DateTime& value) { SetUpdateDateTime(value); return *this;}
121 inline WorkspaceSummary& WithUpdateDateTime(Aws::Utils::DateTime&& value) { SetUpdateDateTime(std::move(value)); return *this;}
123 private:
124
125 Aws::String m_workspaceId;
126 bool m_workspaceIdHasBeenSet = false;
127
128 Aws::String m_arn;
129 bool m_arnHasBeenSet = false;
130
131 Aws::String m_description;
132 bool m_descriptionHasBeenSet = false;
133
134 Aws::Vector<Aws::String> m_linkedServices;
135 bool m_linkedServicesHasBeenSet = false;
136
137 Aws::Utils::DateTime m_creationDateTime;
138 bool m_creationDateTimeHasBeenSet = false;
139
140 Aws::Utils::DateTime m_updateDateTime;
141 bool m_updateDateTimeHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace IoTTwinMaker
146} // namespace Aws
WorkspaceSummary & WithLinkedServices(Aws::Vector< Aws::String > &&value)
void SetDescription(const Aws::String &value)
void SetUpdateDateTime(const Aws::Utils::DateTime &value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
const Aws::String & GetWorkspaceId() const
WorkspaceSummary & WithArn(Aws::String &&value)
WorkspaceSummary & WithWorkspaceId(const Aws::String &value)
WorkspaceSummary & WithDescription(const char *value)
WorkspaceSummary & WithDescription(Aws::String &&value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
WorkspaceSummary & WithArn(const char *value)
void SetLinkedServices(const Aws::Vector< Aws::String > &value)
void SetWorkspaceId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationDateTime() const
const Aws::Vector< Aws::String > & GetLinkedServices() const
void SetLinkedServices(Aws::Vector< Aws::String > &&value)
AWS_IOTTWINMAKER_API WorkspaceSummary(Aws::Utils::Json::JsonView jsonValue)
WorkspaceSummary & WithUpdateDateTime(const Aws::Utils::DateTime &value)
WorkspaceSummary & AddLinkedServices(const char *value)
WorkspaceSummary & WithDescription(const Aws::String &value)
WorkspaceSummary & WithUpdateDateTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetUpdateDateTime() const
WorkspaceSummary & AddLinkedServices(const Aws::String &value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetArn(const Aws::String &value)
WorkspaceSummary & WithWorkspaceId(Aws::String &&value)
AWS_IOTTWINMAKER_API WorkspaceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkspaceSummary & WithArn(const Aws::String &value)
WorkspaceSummary & WithLinkedServices(const Aws::Vector< Aws::String > &value)
WorkspaceSummary & WithWorkspaceId(const char *value)
WorkspaceSummary & AddLinkedServices(Aws::String &&value)
const Aws::String & GetDescription() const
WorkspaceSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
WorkspaceSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
void SetUpdateDateTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue