AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetWorkspaceResult.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{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace IoTTwinMaker
26{
27namespace Model
28{
30 {
31 public:
32 AWS_IOTTWINMAKER_API GetWorkspaceResult() = default;
35
36
38
41 inline const Aws::String& GetWorkspaceId() const { return m_workspaceId; }
42 template<typename WorkspaceIdT = Aws::String>
43 void SetWorkspaceId(WorkspaceIdT&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::forward<WorkspaceIdT>(value); }
44 template<typename WorkspaceIdT = Aws::String>
45 GetWorkspaceResult& WithWorkspaceId(WorkspaceIdT&& value) { SetWorkspaceId(std::forward<WorkspaceIdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetArn() const { return m_arn; }
53 template<typename ArnT = Aws::String>
54 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
55 template<typename ArnT = Aws::String>
56 GetWorkspaceResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
58
60
63 inline const Aws::String& GetDescription() const { return m_description; }
64 template<typename DescriptionT = Aws::String>
65 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
66 template<typename DescriptionT = Aws::String>
67 GetWorkspaceResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
69
71
74 inline const Aws::Vector<Aws::String>& GetLinkedServices() const { return m_linkedServices; }
75 template<typename LinkedServicesT = Aws::Vector<Aws::String>>
76 void SetLinkedServices(LinkedServicesT&& value) { m_linkedServicesHasBeenSet = true; m_linkedServices = std::forward<LinkedServicesT>(value); }
77 template<typename LinkedServicesT = Aws::Vector<Aws::String>>
78 GetWorkspaceResult& WithLinkedServices(LinkedServicesT&& value) { SetLinkedServices(std::forward<LinkedServicesT>(value)); return *this;}
79 template<typename LinkedServicesT = Aws::String>
80 GetWorkspaceResult& AddLinkedServices(LinkedServicesT&& value) { m_linkedServicesHasBeenSet = true; m_linkedServices.emplace_back(std::forward<LinkedServicesT>(value)); return *this; }
82
84
88 inline const Aws::String& GetS3Location() const { return m_s3Location; }
89 template<typename S3LocationT = Aws::String>
90 void SetS3Location(S3LocationT&& value) { m_s3LocationHasBeenSet = true; m_s3Location = std::forward<S3LocationT>(value); }
91 template<typename S3LocationT = Aws::String>
92 GetWorkspaceResult& WithS3Location(S3LocationT&& value) { SetS3Location(std::forward<S3LocationT>(value)); return *this;}
94
96
99 inline const Aws::String& GetRole() const { return m_role; }
100 template<typename RoleT = Aws::String>
101 void SetRole(RoleT&& value) { m_roleHasBeenSet = true; m_role = std::forward<RoleT>(value); }
102 template<typename RoleT = Aws::String>
103 GetWorkspaceResult& WithRole(RoleT&& value) { SetRole(std::forward<RoleT>(value)); return *this;}
105
107
110 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
111 template<typename CreationDateTimeT = Aws::Utils::DateTime>
112 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
113 template<typename CreationDateTimeT = Aws::Utils::DateTime>
114 GetWorkspaceResult& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
116
118
121 inline const Aws::Utils::DateTime& GetUpdateDateTime() const { return m_updateDateTime; }
122 template<typename UpdateDateTimeT = Aws::Utils::DateTime>
123 void SetUpdateDateTime(UpdateDateTimeT&& value) { m_updateDateTimeHasBeenSet = true; m_updateDateTime = std::forward<UpdateDateTimeT>(value); }
124 template<typename UpdateDateTimeT = Aws::Utils::DateTime>
125 GetWorkspaceResult& WithUpdateDateTime(UpdateDateTimeT&& value) { SetUpdateDateTime(std::forward<UpdateDateTimeT>(value)); return *this;}
127
129
130 inline const Aws::String& GetRequestId() const { return m_requestId; }
131 template<typename RequestIdT = Aws::String>
132 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
133 template<typename RequestIdT = Aws::String>
134 GetWorkspaceResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
136 private:
137
138 Aws::String m_workspaceId;
139 bool m_workspaceIdHasBeenSet = false;
140
141 Aws::String m_arn;
142 bool m_arnHasBeenSet = false;
143
144 Aws::String m_description;
145 bool m_descriptionHasBeenSet = false;
146
147 Aws::Vector<Aws::String> m_linkedServices;
148 bool m_linkedServicesHasBeenSet = false;
149
150 Aws::String m_s3Location;
151 bool m_s3LocationHasBeenSet = false;
152
153 Aws::String m_role;
154 bool m_roleHasBeenSet = false;
155
156 Aws::Utils::DateTime m_creationDateTime{};
157 bool m_creationDateTimeHasBeenSet = false;
158
159 Aws::Utils::DateTime m_updateDateTime{};
160 bool m_updateDateTimeHasBeenSet = false;
161
162 Aws::String m_requestId;
163 bool m_requestIdHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace IoTTwinMaker
168} // namespace Aws
GetWorkspaceResult & WithWorkspaceId(WorkspaceIdT &&value)
GetWorkspaceResult & WithCreationDateTime(CreationDateTimeT &&value)
const Aws::Utils::DateTime & GetUpdateDateTime() const
AWS_IOTTWINMAKER_API GetWorkspaceResult()=default
AWS_IOTTWINMAKER_API GetWorkspaceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWorkspaceResult & WithLinkedServices(LinkedServicesT &&value)
GetWorkspaceResult & WithDescription(DescriptionT &&value)
void SetLinkedServices(LinkedServicesT &&value)
GetWorkspaceResult & WithUpdateDateTime(UpdateDateTimeT &&value)
GetWorkspaceResult & WithArn(ArnT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
AWS_IOTTWINMAKER_API GetWorkspaceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWorkspaceResult & WithRequestId(RequestIdT &&value)
GetWorkspaceResult & WithS3Location(S3LocationT &&value)
void SetUpdateDateTime(UpdateDateTimeT &&value)
void SetCreationDateTime(CreationDateTimeT &&value)
const Aws::Vector< Aws::String > & GetLinkedServices() const
GetWorkspaceResult & AddLinkedServices(LinkedServicesT &&value)
GetWorkspaceResult & WithRole(RoleT &&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