7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearch/OpenSearchService_EXPORTS.h>
19namespace OpenSearchService {
43 template <
typename WorkspaceIdT = Aws::String>
45 m_workspaceIdHasBeenSet =
true;
46 m_workspaceId = std::forward<WorkspaceIdT>(value);
48 template <
typename WorkspaceIdT = Aws::String>
63 m_createWorkspaceHasBeenSet =
true;
64 m_createWorkspace = value;
79 template <
typename NameT = Aws::String>
81 m_nameHasBeenSet =
true;
82 m_name = std::forward<NameT>(value);
84 template <
typename NameT = Aws::String>
86 SetName(std::forward<NameT>(value));
97 template <
typename TypeT = Aws::String>
99 m_typeHasBeenSet =
true;
100 m_type = std::forward<TypeT>(value);
102 template <
typename TypeT = Aws::String>
104 SetType(std::forward<TypeT>(value));
111 bool m_createWorkspace{
false};
116 bool m_workspaceIdHasBeenSet =
false;
117 bool m_createWorkspaceHasBeenSet =
false;
118 bool m_nameHasBeenSet =
false;
119 bool m_typeHasBeenSet =
false;
AWS_OPENSEARCHSERVICE_API MigrationWorkspace()=default
AWS_OPENSEARCHSERVICE_API MigrationWorkspace & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CreateWorkspaceHasBeenSet() const
MigrationWorkspace & WithName(NameT &&value)
const Aws::String & GetWorkspaceId() const
void SetWorkspaceId(WorkspaceIdT &&value)
bool NameHasBeenSet() const
const Aws::String & GetType() const
bool TypeHasBeenSet() const
MigrationWorkspace & WithCreateWorkspace(bool value)
MigrationWorkspace & WithType(TypeT &&value)
void SetCreateWorkspace(bool value)
MigrationWorkspace & WithWorkspaceId(WorkspaceIdT &&value)
void SetName(NameT &&value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVICE_API MigrationWorkspace(Aws::Utils::Json::JsonView jsonValue)
void SetType(TypeT &&value)
bool WorkspaceIdHasBeenSet() const
const Aws::String & GetName() const
bool GetCreateWorkspace() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue