AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename WorkspaceIdT = Aws::String>
50 void SetWorkspaceId(WorkspaceIdT&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::forward<WorkspaceIdT>(value); }
51 template<typename WorkspaceIdT = Aws::String>
52 WorkspaceSummary& WithWorkspaceId(WorkspaceIdT&& value) { SetWorkspaceId(std::forward<WorkspaceIdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetArn() const { return m_arn; }
60 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
61 template<typename ArnT = Aws::String>
62 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
63 template<typename ArnT = Aws::String>
64 WorkspaceSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
66
68
71 inline const Aws::String& GetDescription() const { return m_description; }
72 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
73 template<typename DescriptionT = Aws::String>
74 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
75 template<typename DescriptionT = Aws::String>
76 WorkspaceSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
78
80
83 inline const Aws::Vector<Aws::String>& GetLinkedServices() const { return m_linkedServices; }
84 inline bool LinkedServicesHasBeenSet() const { return m_linkedServicesHasBeenSet; }
85 template<typename LinkedServicesT = Aws::Vector<Aws::String>>
86 void SetLinkedServices(LinkedServicesT&& value) { m_linkedServicesHasBeenSet = true; m_linkedServices = std::forward<LinkedServicesT>(value); }
87 template<typename LinkedServicesT = Aws::Vector<Aws::String>>
88 WorkspaceSummary& WithLinkedServices(LinkedServicesT&& value) { SetLinkedServices(std::forward<LinkedServicesT>(value)); return *this;}
89 template<typename LinkedServicesT = Aws::String>
90 WorkspaceSummary& AddLinkedServices(LinkedServicesT&& value) { m_linkedServicesHasBeenSet = true; m_linkedServices.emplace_back(std::forward<LinkedServicesT>(value)); return *this; }
92
94
97 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
98 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
99 template<typename CreationDateTimeT = Aws::Utils::DateTime>
100 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
101 template<typename CreationDateTimeT = Aws::Utils::DateTime>
102 WorkspaceSummary& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
104
106
109 inline const Aws::Utils::DateTime& GetUpdateDateTime() const { return m_updateDateTime; }
110 inline bool UpdateDateTimeHasBeenSet() const { return m_updateDateTimeHasBeenSet; }
111 template<typename UpdateDateTimeT = Aws::Utils::DateTime>
112 void SetUpdateDateTime(UpdateDateTimeT&& value) { m_updateDateTimeHasBeenSet = true; m_updateDateTime = std::forward<UpdateDateTimeT>(value); }
113 template<typename UpdateDateTimeT = Aws::Utils::DateTime>
114 WorkspaceSummary& WithUpdateDateTime(UpdateDateTimeT&& value) { SetUpdateDateTime(std::forward<UpdateDateTimeT>(value)); return *this;}
116 private:
117
118 Aws::String m_workspaceId;
119 bool m_workspaceIdHasBeenSet = false;
120
121 Aws::String m_arn;
122 bool m_arnHasBeenSet = false;
123
124 Aws::String m_description;
125 bool m_descriptionHasBeenSet = false;
126
127 Aws::Vector<Aws::String> m_linkedServices;
128 bool m_linkedServicesHasBeenSet = false;
129
130 Aws::Utils::DateTime m_creationDateTime{};
131 bool m_creationDateTimeHasBeenSet = false;
132
133 Aws::Utils::DateTime m_updateDateTime{};
134 bool m_updateDateTimeHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace IoTTwinMaker
139} // namespace Aws
WorkspaceSummary & WithLinkedServices(LinkedServicesT &&value)
const Aws::String & GetWorkspaceId() const
WorkspaceSummary & WithUpdateDateTime(UpdateDateTimeT &&value)
WorkspaceSummary & WithCreationDateTime(CreationDateTimeT &&value)
void SetCreationDateTime(CreationDateTimeT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
const Aws::Vector< Aws::String > & GetLinkedServices() const
AWS_IOTTWINMAKER_API WorkspaceSummary(Aws::Utils::Json::JsonView jsonValue)
WorkspaceSummary & WithWorkspaceId(WorkspaceIdT &&value)
const Aws::Utils::DateTime & GetUpdateDateTime() const
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUpdateDateTime(UpdateDateTimeT &&value)
WorkspaceSummary & WithDescription(DescriptionT &&value)
AWS_IOTTWINMAKER_API WorkspaceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkspaceSummary & WithArn(ArnT &&value)
AWS_IOTTWINMAKER_API WorkspaceSummary()=default
const Aws::String & GetDescription() const
WorkspaceSummary & AddLinkedServices(LinkedServicesT &&value)
void SetLinkedServices(LinkedServicesT &&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