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>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
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>
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>
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>
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>>
79 template<
typename LinkedServicesT = Aws::String>
80 GetWorkspaceResult&
AddLinkedServices(LinkedServicesT&& value) { m_linkedServicesHasBeenSet =
true; m_linkedServices.emplace_back(std::forward<LinkedServicesT>(value));
return *
this; }
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>
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>
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>
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>
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>
139 bool m_workspaceIdHasBeenSet =
false;
142 bool m_arnHasBeenSet =
false;
145 bool m_descriptionHasBeenSet =
false;
148 bool m_linkedServicesHasBeenSet =
false;
151 bool m_s3LocationHasBeenSet =
false;
154 bool m_roleHasBeenSet =
false;
157 bool m_creationDateTimeHasBeenSet =
false;
160 bool m_updateDateTimeHasBeenSet =
false;
163 bool m_requestIdHasBeenSet =
false;
void SetS3Location(S3LocationT &&value)
GetWorkspaceResult & WithWorkspaceId(WorkspaceIdT &&value)
GetWorkspaceResult & WithCreationDateTime(CreationDateTimeT &&value)
void SetArn(ArnT &&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)
const Aws::String & GetS3Location() const
void SetLinkedServices(LinkedServicesT &&value)
void SetDescription(DescriptionT &&value)
GetWorkspaceResult & WithUpdateDateTime(UpdateDateTimeT &&value)
void SetRequestId(RequestIdT &&value)
GetWorkspaceResult & WithArn(ArnT &&value)
const Aws::String & GetRequestId() const
const Aws::Utils::DateTime & GetCreationDateTime() const
AWS_IOTTWINMAKER_API GetWorkspaceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetDescription() const
void SetRole(RoleT &&value)
GetWorkspaceResult & WithRequestId(RequestIdT &&value)
GetWorkspaceResult & WithS3Location(S3LocationT &&value)
void SetUpdateDateTime(UpdateDateTimeT &&value)
void SetCreationDateTime(CreationDateTimeT &&value)
const Aws::String & GetRole() const
const Aws::String & GetArn() const
const Aws::String & GetWorkspaceId() const
void SetWorkspaceId(WorkspaceIdT &&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